
/* CSS COMPLETO FUSIONADO - SNTSS                */

/* VARIABLES GLOBALES */
:root {
    --colorMain: #1B476A;
    --colorInstitutional: #003c82;
    --colorSecondary: #00a8ff;
    --colorLight: #f8fafc;
    --gradientBlue: linear-gradient(90deg, #003c82, #00a8ff);
}

/*ESTILOS*/
.sntss-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #2d3748;
    min-height: 100vh;
    padding-top: 40px; 
    padding-bottom: 50px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.sntss-text-institutional {
    color: #003c82;
}

.sntss-section-title {
    color: #003c82;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.sntss-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003c82, #00a8ff);
    border-radius: 2px;
}

.text-center .sntss-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.sntss-bg-institutional-light {
    background-color: rgba(0, 60, 130, 0.05);
}

/*CARRUSEL INDEX */
/*CARRUSEL INDEX */
.sntss-carousel-section {
    max-width: 900px;
    height: 180px; /* Más delgado que antes */
    margin: 0 auto 50px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 60, 130, 0.15);
    border: 1px solid rgba(0, 60, 130, 0.1);
    position: relative;
    /* Eliminamos cualquier padding/margin interno */
    padding: 0;
}

.sntss-carousel-box {
    width: 100%;
    height: 100%;
    position: relative;
    /* Aseguramos que no haya espacios */
    margin: 0;
    padding: 0;
}

.sntss-carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    /* Sin márgenes ni padding */
    margin: 0;
    padding: 0;
}

.sntss-carousel-item.active {
    display: block;
    opacity: 1;
}
/* object-fit: cover; */
.sntss-carousel-item img {
    width: 100%;
    height: 100%;
    /* CAMBIO AQUÍ: 'cover' estira la imagen hasta llenar el cuadro */
    object-fit: fill; 
    object-position: center 20%; 
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}
/*  CARDS EN ARCO CURVO */
.sntss-card-container-curve {
    display: flex;
    justify-content: center;
    padding: 40px 0 80px;
    position: relative;
    overflow: visible;
    min-height: 380px;
}

.sntss-card-wrapper {
    width: 200px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-right: -45px;
    cursor: pointer;
    border-radius: 16px;
    transform-origin: bottom center;
    z-index: 1;
}

/* TODAS LAS CARDS A LA MISMA ALTURA SOLO PARA PC */
@media (min-width: 992px) {
    .sntss-card-wrapper:nth-child(1) { 
        transform: rotate(-12deg);
        z-index: 1;
    }
    .sntss-card-wrapper:nth-child(2) { 
        transform: rotate(-6deg);
        z-index: 2;
    }
    .sntss-card-wrapper:nth-child(3) { 
        transform: rotate(0deg); 
        z-index: 3;
    }
    .sntss-card-wrapper:nth-child(4) { 
        transform: rotate(6deg);
        z-index: 2;
    }
    .sntss-card-wrapper:nth-child(5) { 
        transform: rotate(12deg);
        z-index: 1;
    }
}

/* Base de la card */
.sntss-custom-card {
    background: linear-gradient(145deg, #ffffff, #f1f7ff);
    border-radius: 16px;
    padding: 25px 20px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 60, 130, 0.12),
                0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(180, 210, 255, 0.6);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

/* LÍNEA AZUL A LAS CARDS */
.sntss-custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #003c82, #00a8ff);
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

/* Icono de la card */
.sntss-card-icon {
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 1.5rem;
    color: #cbd5e0;
    transition: all 0.3s ease;
    z-index: 3;
}

/* CONTENEDOR DE LISTA CON SCROLL EN PC */
.sntss-card-list-container {
    flex-grow: 1;
    position: relative;
    margin-bottom: 15px;
}

.sntss-card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* EN PC: Scroll suave y DELGADO */
@media (min-width: 992px) {
    .sntss-card-list {
        max-height: 160px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 5px;
    }
    
    /* SCROLL DELGADO */
    .sntss-card-list::-webkit-scrollbar {
        width: 2px !important;
    }
    
    .sntss-card-list::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.01);
        border-radius: 1px;
        margin: 8px 0;
    }
    
    .sntss-card-list::-webkit-scrollbar-thumb {
        background: rgba(0, 60, 130, 0.08);
        border-radius: 1px;
    }
    
    .sntss-card-list::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 60, 130, 0.12);
    }
    
    .sntss-card-list {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 60, 130, 0.08) rgba(0, 0, 0, 0.01);
    }
}

/* EN MÓVIL: Sin scroll, con funcionalidad "Ver más" */
@media (max-width: 991.98px) {
    .sntss-card-list {
        max-height: none;
        overflow-y: visible;
    }
    
    .sntss-card-item.hidden-mobile {
        display: none !important;
    }
}

/* ÍCONOS DE LISTA*/
.sntss-list-icon {
    color: #28a745;
    margin-right: 8px;
    font-size: 0.9rem;
}

/* ITEMS DE LISTA CON HOVER */
.sntss-card-item {
    margin-bottom: 8px;
    padding: 2px 0;
    font-size: 0.85rem;
    line-height: 1.3;
    transition: all 0.2s ease;
}

/* PUNTERO Y HOVER GRIS AL SELECCIONAR <li> */
.sntss-card-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .sntss-card-item-link:hover {
        background-color: #f1f3f4;
        transform: translateX(2px);
    }
}

/* MÓVIL BOTÓN "VER MÁS" */
.sntss-card-more-btn {
    background: linear-gradient(90deg, #003c82, #0056b3);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .3s ease;
    margin-top: 10px;
    align-self: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 60, 130, 0.2);
    min-width: 100px;
    justify-content: center;
}

.sntss-card-more-btn:hover {
    background: linear-gradient(90deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,88,179,.3);
    color: white;
}

/* Solo mostrar en móvil cuando hay MAS DE 5 OPCIONES */
@media (min-width: 992px) {
    .sntss-card-more-btn {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    /* Por defecto, los botones están ocultos */
    .sntss-card-more-btn {
        display: none;
        width: auto;
    }
    
    /* Cuando JS añade esta clase, se muestran */
    .sntss-card-more-btn.sntss-visible {
        display: inline-flex !important;
    }
}

/* Efecto hover CARDS PARA PC */
@media (min-width: 992px) {
    .sntss-card-wrapper:hover {
        transform: rotate(0deg) scale(1.20) translateY(-30px) !important;
        z-index: 30 !important;
        margin-right: 10px !important;
        margin-left: 10px !important;
    }

    .sntss-card-wrapper:hover .sntss-custom-card {
        box-shadow: 0 25px 50px rgba(0, 60, 130, 0.3),
                    0 10px 20px rgba(0, 0, 0, 0.15);
        border-color: #00a8ff;
    }

    .sntss-card-wrapper:hover .sntss-card-icon {
        color: #00a8ff;
        transform: scale(1.3) rotate(5deg);
    }

    /* Mueve las cards adyacentes al hover */
    .sntss-card-wrapper:hover ~ .sntss-card-wrapper {
        transform: translateX(35px) rotate(0deg) !important;
    }
}

/*SECCIÓN PUBLICACIONES */
.sntss-publications-section {
    background: linear-gradient(135deg, #f1f7ff, #e8f0ff);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 60px;
    margin-bottom: 40px;
    box-shadow: 0 10px 35px rgba(0, 60, 130, 0.1);
    border: 2px solid rgba(180, 210, 255, 0.8);
}

.sntss-publication-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 60, 130, 0.12);
    border: 2px solid rgba(180, 210, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sntss-publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 60, 130, 0.25);
    border-color: #00a8ff;
}

.sntss-publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #003c82, #00a8ff);
    border-radius: 16px 16px 0 0;
}

.sntss-publication-icon {
    font-size: 3.5rem;
    color: #003c82;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.sntss-publication-card:hover .sntss-publication-icon {
    transform: scale(1.1) rotate(5deg);
}

.sntss-publication-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003c82;
    margin-bottom: 15px;
}

.sntss-publication-description {
    color: #5a7ca5;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CORRECCIÓN DEL ERROR: Punto faltante */
.sntss-publication-btn {
    background: linear-gradient(90deg, #003c82, #0056b3);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.sntss-publication-card:hover .sntss-publication-btn {
    background: linear-gradient(90deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 88, 179, 0.3);
}

/*APARTADO ACERCA DEL SNTSS */
.sntss-content-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

/* LOGO HEADER */
.sntss-logo-header {
    text-align: center;
    margin-bottom: 30px;
}

.sntss-logo-header img {
    height: 100px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/*  ESTILOS HOME */
.aside-item {
    border-bottom: 2px dotted var(--colorMain);
    margin-bottom: 10px;
}

/* Estilos para la bienvenida en el home */
.welcome-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 10px 30px rgba(27, 71, 106, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 680px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin: 15px auto;
}

.welcome-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(27, 71, 106, 0.12);
}

.welcome-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1B476A 0%, #4d72a7 100%);
}

.welcome-box::after {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B476A' opacity='0.08'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}

.dev__title {
    color: #1B476A;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
    z-index: 1;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.dev__title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 45px;
    height: 2.5px;
    background-color: #4d72a7;
    border-radius: 2px;
}

.user-name {
    font-size: 1.9rem;
    color: #1B476A;
    display: block;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.welcome-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #4d72a7;
    max-width: 580px;
    position: relative;
    z-index: 1;
    padding: 18px 0 8px;
    border-top: 1px solid rgba(77, 114, 167, 0.08);
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.welcome-message::before {
    content: "“";
    position: absolute;
    top: 8px;
    left: -12px;
    font-size: 3.2em;
    color: rgba(27, 71, 106, 0.07);
    font-family: Georgia, serif;
    line-height: 1;
}
 .extra-large-btn-container {
            padding: 30px;
        }
        
        .extra-large-btn-title {
            color: #1B476A;
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid #1B476A;
            letter-spacing: 2px;
            padding-left: 10px;
        }
        
        .extra-large-btn-item {
            margin-bottom: 25px;
            text-align: center;
        }
        
        .extra-large-btn-item a {
            display: block;
            padding: 20px;
            border-radius: 10px;
            background: white;
            border: 2px solid rgba(27, 71, 106, 0.2);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .extra-large-btn-item a:hover {
            border-color: #1B476A;
            box-shadow: 0 10px 25px rgba(27, 71, 106, 0.25);
            transform: translateY(-4px);
        }
        
        .extra-large-btn-item img {
            max-height: 120px;
            width: auto;
            margin: 0 auto;
            display: block;
            transition: transform 0.3s ease;
        }
        
        .extra-large-btn-item a:hover img {
            transform: scale(1.05);
        }
        
        /* Estilo original para títulos con borde izquierdo - EXTRA GRANDE */
        .extra-large-btn-title-original {
            color: #1B476A;
            letter-spacing: 2px;
            border-left: 12px solid #1B476A;
            border-bottom: 2px solid #1B476A;
            padding-left: 12px;
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 30px;
            padding-bottom: 10px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .extra-large-btn-item img {
                max-height: 110px;
            }
            
            .extra-large-btn-title,
            .extra-large-btn-title-original {
                font-size: 1.5rem;
            }
            
            .extra-large-btn-container {
                padding: 25px;
            }
            
            .extra-large-btn-item {
                margin-bottom: 22px;
            }
        }
        
        @media (max-width: 576px) {
            .extra-large-btn-container {
                padding: 22px;
            }
            
            .extra-large-btn-item {
                margin-bottom: 20px;
            }
            
            .extra-large-btn-item img {
                max-height: 100px;
            }
            
            .extra-large-btn-title,
            .extra-large-btn-title-original {
                font-size: 1.4rem;
            }
            
            .extra-large-btn-item a {
                padding: 18px;
            }
        }
        
        /* Para pantallas grandes */
        @media (min-width: 1200px) {
            .extra-large-btn-item img {
                max-height: 130px;
            }
            
            .extra-large-btn-title,
            .extra-large-btn-title-original {
                font-size: 1.8rem;
            }
        }
        
        /* Para pantallas extra grandes */
        @media (min-width: 1400px) {
            .extra-large-btn-item img {
                max-height: 140px;
            }
        }

/*CONTROLES DE VISIBILIDAD */
/* Ocultar elementos del home cuando no hay sesión */
body.logged-out .home-content,
body.logged-out .welcome-box {
    display: none !important;
}

/* Mostrar elementos del home cuando hay sesión */
body.logged-in .home-content {
    display: block;
}

/* Ajustar las cards cuando hay sesión */
body.logged-in .sntss-card-container-curve {
    padding-top: 30px;
}

/* En desktop: cards normales cuando hay sesión */
@media (min-width: 992px) {
    body.logged-in .sntss-card-wrapper {
        transform: none !important;
        margin-right: 0 !important;
        margin: 0 10px !important;
    }
    
    body.logged-in .sntss-card-wrapper:hover {
        transform: scale(1.05) translateY(-10px) !important;
        z-index: 10 !important;
    }
    
    body.logged-in .sntss-card-container-curve {
        justify-content: center;
        gap: 20px;
    }
}

/* En móvil: comportamiento similar para ambos estados */
@media (max-width: 991.98px) {
    body.logged-in .sntss-card-container-curve,
    body.logged-out .sntss-card-container-curve {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    body.logged-in .sntss-card-wrapper,
    body.logged-out .sntss-card-wrapper {
        width: 45%;
        max-width: 280px;
        transform: none !important;
        margin: 0 !important;
    }
}

/* Para móvil pequeño */
@media (max-width: 575.98px) {
    body.logged-in .sntss-card-wrapper,
    body.logged-out .sntss-card-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

/* Ajustes para el layout con home */
body.logged-in .container > .text-center {
    margin-bottom: 30px !important;
}

/* Asegurar que los botones del home sean responsivos */
body.logged-in .aside-item img {
    max-width: 100% !important;
    height: auto !important;
}

/* RESPONSIVE */

/* Tablet (1200px) */
@media (max-width: 1199.98px) {
    .sntss-carousel-section {
        max-width: 95%;
        height: 200px;
        margin: 0 auto 40px;
    }
    
    @media (min-width: 992px) {
        .sntss-card-wrapper:nth-child(1) { transform: rotate(-10deg); }
        .sntss-card-wrapper:nth-child(2) { transform: rotate(-5deg); }
        .sntss-card-wrapper:nth-child(3) { transform: rotate(0deg); }
        .sntss-card-wrapper:nth-child(4) { transform: rotate(5deg); }
        .sntss-card-wrapper:nth-child(5) { transform: rotate(10deg); }
        
        .sntss-card-wrapper:hover {
            transform: rotate(0deg) scale(1.15) translateY(-25px) !important;
        }
    }
}

/* MÓVILES Y TABLET (992px) */
@media (max-width: 991.98px) {
    .sntss-card-container-curve {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px 0 40px;
        min-height: auto;
    }
    
    /* Cards horizontal */
    .sntss-card-wrapper {
        width: 45%;
        max-width: 280px;
        transform: none !important;
        margin: 0 !important;
        cursor: default;
    }
    
    /* Sin efectos hover en móvil-tablet */
    .sntss-card-wrapper:hover {
        transform: none !important;
        margin: 0 !important;
    }
    
    .sntss-card-wrapper:hover .sntss-custom-card {
        box-shadow: 0 6px 20px rgba(0, 60, 130, 0.12),
                    0 1px 3px rgba(0, 0, 0, 0.08);
        border-color: rgba(180, 210, 255, 0.6);
    }
    
    .sntss-card-wrapper:hover .sntss-card-icon {
        color: #cbd5e0;
        transform: none;
    }
    
    .sntss-card-wrapper:hover ~ .sntss-card-wrapper {
        transform: none !important;
    }

    /* Responsive para publicaciones y contenido */
    .sntss-publications-section {
        margin: 40px 20px !important;
        width: calc(100% - 40px);
        padding: 30px 20px;
    }
    
    .sntss-content-card {
        margin: 0 20px 30px !important;
        width: calc(100% - 40px);
        padding: 25px 20px;
    }
    
    /* Estilos del welcome box para tablet */
    .welcome-box {
        padding: 30px 35px;
        max-width: 600px;
    }
    
    .user-name {
        font-size: 1.7rem;
    }
    
    .welcome-box::after {
        width: 60px;
        height: 60px;
        top: 20px;
        right: 20px;
    }
}

/* ESTILOS PARA LA SECCIÓN DE ACTUALIZACIÓN DE PERFIL */
/* ESTILOS PARA LA SECCIÓN DE ACTUALIZACIÓN DE PERFIL */
.profile-update-icon {
    font-size: 3.2rem;
    color: #0066cc;
    transition: all 0.3s ease;
    padding: 10px;
    display: inline-block;
}

.profile-update-icon:hover {
    color: #00a8ff;
    transform: scale(1.1);
}

.profile-update-title {
    color: #0066cc;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 8px;
}


.profile-update-text {
    color: #4a6fa5;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

/* BOTÓN PRINCIPAL GRANDE (MUY DELGADO Y ELEGANTE) */
.btn-perfil-xl {
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 30%, #4dc3ff 100%);
    color: white;
    border: none;
    padding: 10px 40px; /* MUY delgado */
    border-radius: 8px; /* Bordes suaves */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2); /* Sombra muy sutil */
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    flex-direction: row; /* En línea horizontal */
    gap: 12px;
    text-align: center;
    height: auto;
}

/* Versión alternativa: más minimalista */
.btn-perfil-xl.minimal {
    background: #0066cc; /* Color sólido en lugar de degradado */
    padding: 8px 35px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.15);
}

.btn-perfil-xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-perfil-xl:hover {
    background: linear-gradient(135deg, #0088ff 0%, #4dc3ff 30%, #99ddff 100%);
    transform: translateY(-3px); /* Elevación mínima */
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.25);
    color: white;
}

.btn-perfil-xl.minimal:hover {
    background: #0088ff;
    transform: translateY(-2px);
}

.btn-perfil-xl:hover::before {
    left: 100%;
}

/* Estructura horizontal del botón */
.btn-perfil-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-main-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1.3;
}

.btn-sub-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-top: 2px;
}

/* Icono del botón */
.btn-perfil-xl i {
    font-size: 1.4rem;
    color: white;
}

/* Responsive para la sección de perfil */
@media (max-width: 768px) {
    .profile-update-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .profile-update-title {
        font-size: 1.2rem;
    }
    
    .profile-update-text {
        font-size: 0.95rem;
    }
    
    .btn-perfil-xl {
        padding: 8px 35px;
        min-width: 250px;
        font-size: 1rem;
        border-radius: 6px;
    }
    
    .btn-main-text {
        font-size: 1.05rem;
    }
    
    .btn-sub-text {
        font-size: 0.8rem;
    }
    
    .btn-perfil-xl i {
        font-size: 1.3rem;
    }
}








/* Media query para la pág */

/* TABLET PEQUEÑA (768px) */
@media (max-width: 768px) {
    .welcome-box {
        padding: 25px 30px;
        border-radius: 14px;
        margin: 12px auto;
    }
    
    .dev__title {
        font-size: 1.4rem;
    }
    
    .user-name {
        font-size: 1.5rem;
        margin-bottom: 18px;
        letter-spacing: 0.6px;
    }
    
    .welcome-message {
        font-size: 0.95rem;
        line-height: 1.55;
        padding: 15px 0 5px;
    }
    
    .welcome-message::before {
        font-size: 2.8em;
        left: -10px;
    }
    
    .welcome-box::after {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
}

/* MÓVIL PEQUEÑO (576px) */
@media (max-width: 575.98px) {
    .sntss-carousel-section {
        height: 160px;
        border-radius: 8px;
        margin: 0 auto 30px;
    }
    
    .sntss-custom-card {
        padding: 20px 15px;
        min-height: 250px;
    }
    
    .sntss-card-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .sntss-card-item {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    h1.display-5 {
        font-size: 2rem;
    }
    
    /* Estilos del welcome box para móvil */
    .welcome-box {
        padding: 20px 25px;
        border-radius: 12px;
        margin: 10px auto;
        box-shadow: 0 8px 20px rgba(27, 71, 106, 0.06);
    }
    
    .dev__title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .dev__title::after {
        width: 35px;
        height: 2px;
        bottom: -3px;
    }
    
    .user-name {
        font-size: 1.3rem;
        margin-bottom: 15px;
        letter-spacing: 0.4px;
        font-weight: 500;
    }
    
    .welcome-message {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 12px 0 5px;
    }
    
    .welcome-message::before {
        font-size: 2.4em;
        left: -8px;
        top: 6px;
    }
    
    .welcome-box::after {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }
}

/* MÓVIL MUY PEQUEÑO (400px) */
@media (max-width: 400px) {
    .welcome-box {
        padding: 18px 20px;
    }
    
    .dev__title {
        font-size: 1.2rem;
    }
    
    .user-name {
        font-size: 1.2rem;
    }
    
    .welcome-message {
        font-size: 0.85rem;
    }
}

