
    /* Variables CSS para la paleta de colores oficial de Morena */
    :root {
        /* Colores Primarios del Manual de Identidad */
        --morena-primary: #833330;        /* PANTONE 7623 C - HEX: #833330 */
        --morena-cream: #FFF9F3;          /* PANTONE 7527 C - HEX: #FFF9F3 */
        --morena-gray: #3C3C3B;           /* PANTONE COOL GRAY 11 C - HEX: #3C3C3B */
        --morena-black: #1D1D1B;          /* PANTONE BLACK 7 C - HEX: #1D1D1B */
        --morena-white: #FFFFFF;          /* PANTONE WHITE - HEX: #FFFFFF */
        
        /* Colores Secundarios del Manual de Identidad */
        --morena-burgundy: #52181E;       /* PANTONE 497 C - HEX: #52181E */
        --morena-red: #833331;            /* PANTONE 7614 C - HEX: #833331 */
        --morena-gold: #c38d3a;           /* PANTONE 4665 C - HEX: #BC955B */
        --morena-purple: #5C183C;         /* PANTONE 7583 C - HEX: #5C183C */
        --morena-mauve: #7E2D43;          /* PANTONE 7527 C - HEX: #7E2D43 */

        /* Colores semáforo */
        --semaforo-verde: rgb(67, 152, 67);
        --semaforo-amarillo: rgb(234, 203, 66);
        --semaforo-rojo: rgb(145, 26, 26);
        --semaforo-naranja: rgb(216 140 0);
        --semaforo-negro: rgb(44, 42, 38);
        
        /* Gradientes con colores oficiales */
        --morena-gradient: linear-gradient(135deg, #833330 0%, #52181E 50%, #5C183C 100%);
        --morena-gradient-light: linear-gradient(135deg, rgba(131, 51, 48, 0.1) 0%, rgba(82, 24, 30, 0.1) 50%, rgba(92, 24, 60, 0.1) 100%);
        --morena-gradient-gold: linear-gradient(135deg, #BC955B 0%, #833330 100%);
        --morena-gradient-secondary: linear-gradient(135deg, #7E2D43 0%, #5C183C 100%);
        
        /* Sombras con colores oficiales */
        --shadow-soft: 0 4px 20px rgba(131, 51, 48, 0.15);
        --shadow-hover: 0 8px 30px rgba(131, 51, 48, 0.25);
        --shadow-gold: 0 4px 15px rgba(188, 149, 91, 0.3);
        
        --border-radius: 16px;
        --border-radius-lg: 24px;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }



    /* Header Styles */
    .header_reg {
        background: var(--morena-gradient);
        color: white;
        padding: 2rem;
        border-radius: var(--border-radius-lg);
        margin-bottom: 3rem;
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
    }

    .header_reg::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(180deg); }
    }

    .header-content-reg {
        position: relative;
        z-index: 2;
    }

    .header_reg h1 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 2rem;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .header_reg .subtitle {
        font-size: 1.1rem;
        opacity: 0.9;
        font-weight: 400;
    }

    /* Contact Section */
    .contact-section {
        background: var(--morena-white);
        border-radius: var(--border-radius);
        padding: 2rem;
        margin-bottom: 3rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(131, 51, 48, 0.1);
    }

    .contact-title {
        color: var(--morena-primary);
        font-weight: 600;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
    }

    .contact-title i {
        margin-right: 0.5rem;
        font-size: 1.3rem;
    }

    .text_contact_reg{
        font-weight: 500;
        margin-top: -16px;
        margin-bottom: 24px;
    }

    .contact-item {
        background: var(--morena-gradient-light);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-left: 4px solid var(--morena-primary);
        transition: var(--transition);
    }

    .contact-item:hover {
        transform: translateX(5px);
        box-shadow: var(--shadow-soft);
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact-header {
        background: var(--morena-primary);
        color: var(--morena-white);
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
    }

    .contact-header i {
        margin-right: 0.5rem;
    }

    .contact-details {
        padding-left: 1rem;
    }

    .contact-detail {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
        color: var(--morena-black);
    }

    .contact-detail:last-child {
        margin-bottom: 0;
    }

    .contact-detail i {
        color: var(--morena-red);
        margin-right: 0.75rem;
        font-size: 1rem;
        width: 20px;
    }

    /* Secciones Modernas */
    .secciones-title {
        color: var(--morena-primary);
        font-weight: 600;
        margin-bottom: 2rem;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--morena-gold);
    }

    .secciones-title i {
        margin-right: 0.5rem;
        font-size: 1.4rem;
    }

    .secciones-grid {
        display: grid;
        gap: 1.5rem;
    }

    /* Diseño Moderno de Botones/Tarjetas */
    .seccion-card {
        background: var(--morena-white);
        border-radius: var(--border-radius-lg);
        padding: 0;
        border: none;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
    }

    .seccion-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--morena-gradient);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .seccion-card:hover::before {
        left: 0;
    }

    .seccion-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-hover);
        text-decoration: none;
        color: inherit;
    }

    .seccion-content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
    }

    .seccion-card:hover .seccion-content {
        color: var(--morena-white);
    }

    .seccion-icon {
        margin-bottom: 10px;
        color: var(--morena-white);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin-right: 2rem;
        box-shadow: var(--shadow-gold);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }
    .semaforo-verde{
        background: var(--semaforo-verde) !important;
    }
    .semaforo-rojo{
        background: var(--semaforo-rojo) !important;
    }
    .semaforo-amarillo{
        background: var(--semaforo-amarillo) !important;
    }
    .semaforo-naranja{
        background: var(--semaforo-naranja) !important;
    }
    .semaforo-negro{
        background: var(--semaforo-negro) !important;
    }

    .seccion-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
        animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer {
        0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
        50% { transform: translateX(0%) translateY(0%) rotate(180deg); }
    }

    .seccion-card:hover .seccion-icon {
        background: rgba(255, 255, 255, 0.2);
        color: var(--morena-white);
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    .seccion-info {
        flex: 1;
    }

    .seccion-codigo, .seccion-codigo-status {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 1.5rem;
        color: var(--morena-primary);
        margin-bottom: 1.5rem;
        margin-left: 1.5rem;
        transition: var(--transition);
    }
    .seccion-codigo-status {
        font-size: 1.3rem;
        font-weight: 500;
    }

    .seccion-card:hover .seccion-codigo {
        color: var(--morena-white);
    }

    .seccion-tipo {
        color: var(--morena-red);
        font-weight: 500;
        font-size: 1.3rem;
        margin-left: 1.5rem;
        margin-bottom: 0.75rem;
        transition: var(--transition);
    }

    .seccion-card:hover .seccion-tipo {
        color: rgba(255, 255, 255, 0.9);
    }

    .seccion-status {
        display: inline-flex;
        align-items: center;
        background: var(--morena-gradient-light);
        color: var(--morena-primary);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 1rem;
        font-weight: 500;
        transition: var(--transition);
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    }

    .seccion-status i {
        margin-right: 0.5rem;
        font-size: 0.8rem;
    }

    .seccion-card:hover .seccion-status {
        background: rgba(255, 255, 255, 0.2);
        color: var(--morena-white);
    }

    .seccion-arrow {
        color: var(--morena-gold);
        font-size: 2.5rem;
        /* margin-left: 1rem; */
        transition: var(--transition);
    }

    .seccion-card:hover .seccion-arrow {
        color: var(--morena-white);
        transform: translateX(10px);
    }

    /* Variantes de colores para diferentes secciones */
    .seccion-card:nth-child(1) .seccion-icon {
        background: var(--morena-gradient);
    }

    .seccion-card:nth-child(2) .seccion-icon {
        background: var(--morena-gradient-gold);
    }

    .seccion-card:nth-child(3) .seccion-icon {
        background: var(--morena-gradient-secondary);
    }

    /* Efectos adicionales */
    .seccion-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: var(--morena-gold);
        transform: scaleY(0);
        transition: transform 0.3s ease;
        z-index: 3;
    }

    .seccion-card:hover::after {
        transform: scaleY(1);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .container {
            padding: 0 1rem;
        }

        .header {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .header h1 {
            font-size: 1.5rem;
        }

        .seccion-content {
            padding: 1.5rem;
            flex-direction: column;
            text-align: center;
        }

        .seccion-icon {
            margin-right: 0;
            margin-top: 1rem;
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }

        .seccion-arrow {
            margin-left: 0;
            margin-top: 0.5rem;
        }
    }

    @media (max-width: 375px){
        
    }

    /* Animaciones de entrada */
    .fade-in {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(30px);
    }

    .fade-in:nth-child(1) { animation-delay: 0.1s; }
    .fade-in:nth-child(2) { animation-delay: 0.2s; }
    .fade-in:nth-child(3) { animation-delay: 0.3s; }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Efecto de pulso para el icono */
    .pulse-effect {
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% {
            box-shadow: var(--shadow-gold);
        }
        50% {
            box-shadow: 0 4px 25px rgba(188, 149, 91, 0.5);
        }
    }

    /* Mapa */

    .bodyMenu p {
        padding: 4px !important;
    }
    .inherit{
        display: inline-flex;
    }
    .item-text{
        margin-left: 9px;
    }
    .card-menu{
        width: 90% !important;
        border: none !important;
        margin-bottom: 11px;
        border-radius: 22px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        height: auto;
        margin-left: 12px;
    }
    .color-blue{
        background-color: #5E657B !important;
    }
    .color-red{
        background-color: #891D1A !important
    }
    .color-olivewood{
        background-color: #5b2c2a !important;
    }
    .container-title{
        display: inline-flex;
        margin-left: 13px;
        padding: 4px;
        font-size: 12px;
    }
    .card-title{ 
        margin-left: 13px;
        color: white !important;
        padding-top: 6px;
    }
    .title-w-icon{ 
        display: inline-flex;
        font-size: 17px;
        color: rgb(132, 30, 49);
        font-weight: 600;
    }
    .ml{
        margin-left: 8px;
    }
    .body-menu-n{
        display: inline-grid;
        padding: 8px !important;
    }
    .fa-toppp{
        margin-top: 8px;
    }
    main {
        top: unset;
    }
    .card-reg{
        width: 100% !important;
        border: none !important;
        margin-bottom: 26px;
        border-radius: 22px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        height: auto;
    }
    .bottom-line{
        border-radius: 22px 22px 0px 0px !important;
    }
    .bk_top{
        background: linear-gradient(to right, #870a2c, #850000);
        color: white;
        border-radius: 22px 22px 0px 0px;
        height: 43px;
        padding: 7px;
    }
    .text-localidad{
        padding-bottom: 15px;
        font-size: 15px;
        font-weight: 600;
    }
    .text-btn-red{
        color: red;
    }
    #map {
        height:390px;
    }
    .fa-map-location-dot{
        color: white;
        margin-top: 6px;
    }
    .arrow-sec{
        color: white;
        margin-bottom: 9px;
    }











    /* Sidebar */
        .sidebar {
            width: 280px;
            background: var(--morena-gradient);
            color: var(--morena-white);
            position: fixed;
            height: 100vh;
            left: 0;
            top: 0;
            z-index: 1000;
            overflow-y: auto;
            box-shadow: 4px 0 20px rgba(131, 51, 48, 0.2);
        }

        .sidebar-header {
            padding: 2rem 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .sidebar-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: float 8s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .logo {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 2;
        }

        .logo-subtitle {
            font-size: 0.875rem;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .user-profile {
            padding: 1.5rem;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .user-avatar {
            width: 80px;
            height: 80px;
            background: var(--morena-gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2rem;
            color: var(--morena-white);
            box-shadow: var(--shadow-gold);
            position: relative;
            overflow: hidden;
        }

        .user-avatar::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
            50% { transform: translateX(0%) translateY(0%) rotate(180deg); }
        }

        .user-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .user-role {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .sidebar-nav {
            padding: 1rem 0;
        }

        .nav-item {
            margin: 0.25rem 1rem;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 1rem 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            border-radius: var(--border-radius);
            transition: var(--transition);
            font-weight: 500;
        }

        .nav-link:hover {
            /* background: rgba(255, 255, 255, 0.1); */
            color: var(--morena-white);
            transform: translateX(5px);
        }

        .nav-link.active {
            background: rgba(255, 255, 255, 0.2);
            color: var(--morena-white);
        }

        .nav-link i {
            margin-right: 0.75rem;
            font-size: 1.1rem;
        }

        .sidebar-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logout-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: var(--morena-white);
            border: none;
            border-radius: var(--border-radius);
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
        }

        .logout-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .logout-btn i {
            margin-right: 0.5rem;
        }

        /* Contenido Principal */
        .main-content {
            flex: 1;
            margin-left: 280px;
            padding: 2rem;
            min-height: 100vh;
        }

        /* Header del contenido */
        .content-header {
            background: var(--morena-white);
            border-radius: var(--border-radius-lg);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-soft);
            border-left: 4px solid var(--morena-gold);
        }

        .content-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.75rem;
            color: var(--morena-primary);
            margin-bottom: 0.5rem;
        }

        .content-subtitle {
            color: var(--morena-gray);
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .content-description {
            color: var(--morena-red);
            font-style: italic;
            font-size: 0.9rem;
        }

        .back-btn {
            background: var(--morena-gradient-gold);
            color: var(--morena-white);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: var(--border-radius);
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            margin-top: 1rem;
        }

        .back-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-gold);
        }

        .back-btn i {
            margin-right: 0.5rem;
        }

        /* Sección del Mapa */
        .map-section {
            background: var(--morena-white);
            border-radius: var(--border-radius-lg);
            padding: 0;
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .map-header {
            background: var(--morena-primary);
            color: var(--morena-white);
            padding: 1.5rem 2rem;
            display: flex;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .map-header i {
            margin-right: 0.75rem;
            font-size: 1.3rem;
        }

        .map-container {
            height: 400px;
            position: relative;
            background: #f8f9fa;
            border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        }

        .map-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #e9ecef 25%, transparent 25%), 
                        linear-gradient(-45deg, #e9ecef 25%, transparent 25%), 
                        linear-gradient(45deg, transparent 75%, #e9ecef 75%), 
                        linear-gradient(-45deg, transparent 75%, #e9ecef 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--morena-gray);
            font-size: 1.1rem;
            font-weight: 500;
        }

        .map-info {
            padding: 1.5rem 2rem;
            background: var(--morena-gradient-light);
            color: var(--morena-black);
            font-size: 0.9rem;
            border-top: 1px solid rgba(131, 51, 48, 0.1);
        }

        /* Sección de Pregunta */
        .question-section {
            background: var(--morena-white);
            border-radius: var(--border-radius-lg);
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-soft);
            text-align: center;
        }

        .question-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.5rem;
            color: var(--morena-primary);
            margin-bottom: 2rem;
        }

        .radio-group {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .radio-option {
            position: relative;
        }

        .radio-input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .radio-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            border: 2px solid var(--morena-gray);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            min-width: 120px;
            background: var(--morena-white);
        }

        .radio-label:hover {
            border-color: var(--morena-primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
        }

        .radio-input:checked + .radio-label {
            background: var(--morena-gradient);
            color: var(--morena-white);
            border-color: var(--morena-primary);
            box-shadow: var(--shadow-hover);
        }

        .radio-label i {
            margin-right: 0.5rem;
            font-size: 1.1rem;
        }

        /* Botón de Guardar */
        .save-section {
            text-align: center;
        }

        .save-btn {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: var(--morena-white);
            border: none;
            padding: 1rem 3rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        .save-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
                padding: 1rem;
            }

            .content-header {
                padding: 1.5rem;
            }

            .content-title {
                font-size: 1.5rem;
            }

            .radio-group {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }

            .radio-label {
                min-width: 200px;
            }
        }

        /* Animaciones de entrada */
        .fade-in {
            animation: fadeInUp 0.6s ease-out forwards;
            opacity: 0;
            transform: translateY(30px);
        }

        .fade-in:nth-child(1) { animation-delay: 0.1s; }
        .fade-in:nth-child(2) { animation-delay: 0.2s; }
        .fade-in:nth-child(3) { animation-delay: 0.3s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


    



    .ver_pdf{
        position: relative;
        z-index: 1;
        background: linear-gradient(135deg, #2417ccd6, #7a6df0f2);
        border: none !important;
        border-radius: 22px;
        width: 137px;
        height: 38px;
        color: white;
        overflow: hidden;
        transition: background 0.3s ease;
    }

    .ver_pdf::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0), rgba(255,255,255,0.2));
        transform: rotate(25deg);
        animation: shine 2s linear infinite;
        z-index: 0;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .ver_pdf:hover::before {
        opacity: 1;
    }

    .ver_pdf span, .ver_pdf p {
        position: relative;
        z-index: 2;
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%) rotate(25deg);
        }
        100% {
            transform: translateX(100%) rotate(25deg);
        }
    }









/* 🎨 Colores personalizados */
.card-dark {
    background-color: #343a40;
    color: #ffffff;
}

.card-success {
    background-color: #198754;
    color: #ffffff;
}

.card-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.card-warning {
    background-color: #ffc107;
    color: #000000;
}

.card-orange {
    background-color: #fd7e14;
    color: #ffffff;
}

/* ✨ Estilos generales para todas las cards */
.stat-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    animation: elevate 3s ease-in-out infinite alternate;
}
@media (min-width: 992px) {
  /* Pantallas grandes (desktop y +) */
  .stat-card {
    height: 112px;
    width: 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  /* Pantallas chicas (tablet y móvil) */
  .stat-card {
    height: auto;
    width: 100%;
  }
}

.stat-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0), rgba(255,255,255,0.15));
    transform: rotate(25deg);
    animation: shine 2.5s linear infinite;
    z-index: 1;
    opacity: 1;
}

.stat-card .card-header,
.stat-card .card-body {
    position: relative;
    z-index: 2;
}

/* Animaciones */
@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }
    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

@keyframes elevate {
    from {
        transform: translateY(0px);
        box-shadow: 0 0 10px rgba(255,255,255,0.15);
    }
    to {
        transform: translateY(-4px);
        box-shadow: 0 0 18px rgba(255,255,255,0.4);
    }
}



.status-section{
    background: var(--morena-gradient-light);
}





