/* =========================================
   1. CONFIGURACIÓN GLOBAL Y RESET
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Fredoka', sans-serif; 
}

html, body { 
    background-color: #ffffff; 
    color: #333; 
    max-width: 100%;
    overflow-x: hidden; 
    position: relative;
    width: 100%;
    overflow-y: auto !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   2. MODALES Y AGE GATE (PRIORIDAD CORREGIDA)
   ========================================= */
.modal-full { 
    position: fixed; 
    z-index: 6000; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: black; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.age-gate-content { 
    background-color: #ef6ba7; 
    padding: 50px 30px; 
    border-radius: 40px; 
    text-align: center; 
    border: 6px solid white; 
    max-width: 550px; 
    width: 90%; 
    box-shadow: 0 0 30px rgba(239, 107, 167, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.age-gate-content h1 { 
    color: white; 
    font-size: 2.5rem; 
    margin-bottom: 25px; 
    text-shadow: 4px 4px 0px #3f51b5; 
}

.age-text, .age-question { color: white; margin-bottom: 15px; font-weight: bold; }
.age-gate-buttons { display: flex; align-items: center; justify-content: center; margin-top: 20px; }

.btn-age-yes { 
    background-color: #3f51b5; color: white; padding: 15px 40px; border: none; 
    border-radius: 25px; cursor: pointer; font-weight: bold; font-size: 1.1rem; transition: 0.3s; 
}
.btn-age-yes:hover { transform: scale(1.1); background-color: white; color: #3f51b5; }
.btn-age-no { color: white; text-decoration: underline; margin-left: 20px; font-weight: bold; }

.modal-overlay { 
    position: fixed; 
    z-index: 5500; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.product-detail-card { 
    background-color: white; 
    padding: 30px; 
    border-radius: 25px; 
    max-width: 550px; 
    width: 95%; 
    position: relative; 
    border: 4px solid #ef6ba7; 
    text-align: center; 
}

.close-btn { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 2rem; 
    color: #ef6ba7; 
    cursor: pointer; 
}

/* =========================================
   3. CARRITO SIDEBAR (OPTIMIZADO LUSTYFINAL1)
   ========================================= */
.cart-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7); 
    z-index: 4500; 
    display: none; 
}

.cart-sidebar { 
    position: fixed; 
    top: 0; 
    right: -450px; 
    width: 400px; 
    height: 100vh; 
    background: white; 
    z-index: 4600; 
    transition: 0.4s ease; 
    display: flex; 
    flex-direction: column; 
}

.cart-sidebar.active { right: 0; }

.cart-header { 
    padding: 25px; 
    background: #ef6ba7; 
    color: white; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.close-cart { 
    font-size: 2.5rem; 
    cursor: pointer; 
    line-height: 1; 
    padding: 10px; 
    margin-top: -5px; 
    margin-right: -10px; 
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    user-select: none;
}

.close-cart:hover { 
    color: #3f51b5; 
    transform: rotate(90deg); 
}

.cart-items-container { 
    flex: 1; 
    overflow-y: auto; 
    padding: 20px; 
    padding-bottom: 20px;
}

.cart-item { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px; 
}

.cart-item img { 
    width: 60px; 
    height: 60px; 
    object-fit: cover; 
    border-radius: 8px; 
}

.cart-footer { 
    padding: 20px; 
    background: #ffffff; 
    border-top: 2px solid #fce4ec; 
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    position: sticky; 
    bottom: 0; 
}

.cart-total { 
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
    font-weight: bold; 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    color: #333; 
}

.cart-sidebar .btn-checkout { 
    width: 100%; 
    max-width: 320px; 
    padding: 16px; 
    font-size: 1.1rem; 
    background-color: #25D366; 
    color: white; 
    border: none; 
    border-radius: 30px; 
    cursor: pointer; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); 
    transition: 0.3s; 
}

.cart-sidebar .btn-checkout:hover { 
    background-color: #128C7E; 
    transform: translateY(-2px); 
}

.cart-sidebar .btn-checkout::before { 
    content: '\f232'; 
    font-family: 'Font Awesome 6 Brands'; 
    font-size: 1.3rem; 
}

/* =========================================
   4. HEADER Y NAV (NIVELACIÓN TOTAL)
   ========================================= */
header { 
    background-color: #ef6ba7; 
    padding: 10px 0; 
    border-bottom: 5px solid #ef6ba7; 
    position: sticky; 
    top: 0; 
    z-index: 3000; 
    width: 100%; 
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
    gap: 5px; 
}

.nav-logo-img { 
    height: 50px; 
    width: auto; 
    cursor: pointer; 
    transition: 0.3s; 
}

nav ul { 
    display: flex; 
    list-style: none; 
    align-items: center; /* Centrado vertical del grupo */
    gap: 15px; 
    margin: 0;
    padding: 0;
}

nav ul li {
    display: flex;
    align-items: center; /* Alineación central para cada ítem */
    height: 36px; /* Altura fija para que todos los elementos midan lo mismo que el carrito/botón */
}

nav ul li a { 
    color: white; 
    text-decoration: none; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 13px; 
    transition: 0.3s;
    line-height: 1; /* Elimina márgenes internos del texto */
    display: flex;
    align-items: center;
}

/* =========================================
   5. SECCIÓN SERVICIOS LUSTY
   ========================================= */
.lusty-services { padding: 80px 20px; background-color: #fdfdfd; }
.services-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.service-card { background: white; padding: 40px 30px; border-radius: 30px; text-align: center; flex: 1; min-width: 300px; max-width: 360px; border: 2px solid #fce4ec; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.service-card:hover { transform: translateY(-10px); border-color: #ef6ba7; box-shadow: 0 15px 30px rgba(239, 107, 167, 0.1); }
.service-icon { width: 80px; height: 80px; background: #ef6ba7; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 25px; box-shadow: 0 8px 15px rgba(239, 107, 167, 0.3); }
.service-card h3 { color: #333; font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; }
.service-card p { color: #666; line-height: 1.6; font-size: 0.95rem; }

#grid-novedades, .grid-productos { display: flex; justify-content: center; flex-wrap: wrap; gap: 35px; max-width: 1200px; margin: 0 auto; }

.card { 
    width: 100%; 
    max-width: 320px; 
    background-color: white; 
    border: 2px solid #eee; 
    border-radius: 25px; 
    padding: 25px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    transition: 0.3s;
    height: auto; 
}

.card h3 {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .precio { 
    margin-top: auto; 
    color: #4db6ac; 
    font-size: 1.5rem; 
    font-weight: bold; 
    padding: 10px 0;
}

.card .btn-buy, .card .card-buttons { width: 100%; margin-top: 5px; }

/* =========================================
   6. BUSCADOR Y FILTROS
   ========================================= */
.search-section { padding: 40px 20px; text-align: center; }
#search-input { width: 100%; max-width: 600px; padding: 16px 25px; border-radius: 35px; border: 3px solid #ef6ba7; outline: none; margin-bottom: 20px; }
.filters-container { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-group { background: white; border: 2px solid #ef6ba7; border-radius: 20px; padding: 8px 15px; display: flex; align-items: center; gap: 10px; color: #ef6ba7; min-width: 220px; }
.filter-group select { border: none; outline: none; background: transparent; font-weight: bold; flex: 1; color: #333; cursor: pointer; }

/* =========================================
   7. GRID DE PRODUCTOS (COMPACTO)
   ========================================= */
.productos-container { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { margin-bottom: 40px; text-align: center; color: #ef6ba7; font-size: 2.2rem; font-weight: 700; }

.grid-productos { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 35px; 
    justify-content: center; 
    justify-items: center; 
}

.card { 
    width: 100%; 
    max-width: 320px; 
    background-color: white; 
    border: 2px solid #eee; 
    border-radius: 25px; 
    padding: 20px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    transition: 0.3s;
    height: 100%; 
}

.card:hover { transform: translateY(-10px); border-color: #ef6ba7; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.badge { position: absolute; top: 15px; right: 15px; background: #ef6ba7; color: white; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; z-index: 10; }

.img-container { 
    width: 100%; 
    height: 250px; 
    margin-bottom: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    cursor: pointer; 
}

.img-container img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.3s; }

.card h3 {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em; 
    line-height: 1.3;
}

.precio { 
    margin-top: auto; 
    color: #4db6ac; 
    font-size: 1.5rem; 
    font-weight: bold; 
    padding: 8px 0; 
}

.btn-buy, .btn-checkout-generic { 
    background-color: #ef6ba7; 
    color: white; 
    border: none; 
    padding: 12px 20px; 
    border-radius: 12px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s; 
    width: 100%;
}

/* =========================================
   8. FORMULARIO COTIZA
   ========================================= */
.form-cotizacion { max-width: 600px; margin: 40px auto; padding: 40px; border-radius: 25px; border: 2px solid #eee; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.02); display: flex; flex-direction: column; align-items: center;}
.input-group { width: 100%; margin-bottom: 25px; text-align: left; }
.input-group label { display: block; font-weight: bold; margin-bottom: 10px; color: #333; }
.form-cotizacion input, .form-cotizacion select, .form-cotizacion textarea { width: 100%; padding: 14px; border-radius: 12px; border: 2px solid #eee; outline: none; font-size: 1rem; }
.form-cotizacion textarea { height: 100px; resize: none; }

.cot-action-area { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 10px; }
.cot-action-area .btn-checkout { width: auto; min-width: 250px; background-color: #ef6ba7; border:none; color:white; padding:15px; border-radius:12px; font-weight:bold; cursor:pointer;}
.back-home-link { color: #ef6ba7; cursor: pointer; font-weight: bold; text-align: center; transition: 0.3s; }

/* =========================================
   9. HERO SLIM
   ========================================= */
.hero-full {
    min-height: 60vh; display: flex; justify-content: center; align-items: center;
    background-color: #3f51b5;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(63, 81, 181, 0.7)), 
        linear-gradient(30deg, #3f51b5 12%, transparent 12.5%, transparent 87%, #3f51b5 87.5%, #3f51b5), 
        linear-gradient(150deg, #3f51b5 12%, transparent 12.5%, transparent 87%, #3f51b5 87.5%, #3f51b5), 
        linear-gradient(60deg, #5775d1 25%, transparent 25.5%, transparent 75%, #5775d1 75%, #5775d1);
    background-size: cover, 80px 140px, 80px 140px, 80px 140px;
    text-align: center; color: white; padding: 60px 20px;
}
.hero-content { animation: fadeInUp 0.8s ease-out; max-width: 800px; }
.stay-horny { color: #ef6ba7; text-shadow: 2px 2px 0px white, 4px 4px 15px rgba(239, 107, 167, 0.4); display: inline-block; }
.hero-full h1 { font-size: 3.5rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.4rem; margin-top: 20px; max-width: 600px; opacity: 0.95; margin-left: auto; margin-right: auto; }

/* =========================================
   10. FOOTER Y RESPONSIVE (OPTIMIZADO)
   ========================================= */
footer { background-color: #ef6ba7; color: white; padding: 60px 20px; text-align: center; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; }
.social-links a { background: rgba(255,255,255,0.2); padding: 12px 25px; border-radius: 30px; color: white; text-decoration: none; font-weight: bold; }

@media (max-width: 768px) {
    nav { padding: 0 10px; gap: 4px; }
    .nav-logo-img { height: 35px; }
    nav ul { gap: 6px; }
    nav ul li a { font-size: 11px; margin-left: 0; }
    .auth-nav-link { padding: 5px 10px; font-size: 10px !important; }
    .auth-nav-link i { font-size: 12px; }
    .cart-nav-btn { padding: 5px 10px; font-size: 10px !important; }
    .hero-full { min-height: 50vh; padding: 40px 20px; }
    .hero-full h1 { font-size: 2.2rem; }
    .grid-productos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card { padding: 15px 10px; }
    .img-container { height: 160px; }
    .cart-sidebar { width: 100%; right: -100%; }
}

/* =========================================
   11. ESTILOS DE AUTENTICACIÓN (NIVELACIÓN TOTAL)
   ========================================= */

/* Login: Texto simple, limpio y NIVELADO */
.auth-nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px !important;
    padding: 0 5px; 
    transition: 0.3s;
    text-transform: uppercase;
    cursor: pointer;
    
    /* Corrección de alineación: */
    display: flex;
    align-items: center;
    line-height: 1; 
    height: 36px; /* Altura igual al botón del carrito */
}

/* Efecto HOVER en AZUL */
.auth-nav-link:hover {
    color: #3f51b5 !important;
    transform: translateY(-1px);
}

/* Carrito: Círculo compacto alineado */
.cart-nav-btn {
    background: rgba(255, 255, 255, 0.2); 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px; 
}

.cart-nav-btn:hover {
    background: white !important;
    color: #ef6ba7 !important;
    transform: scale(1.1);
}

.cart-nav-btn i {
    font-size: 1rem;
}

/* --- MODAL DE AUTENTICACIÓN --- */
#auth-modal .product-detail-card {
    border-radius: 40px;
    padding: 40px 30px;
    border: 4px solid #ef6ba7;
}

#auth-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ef6ba7;
    text-align: center;
}

#auth-form .input-group {
    margin-bottom: 20px;
    text-align: left;
}

#auth-form label {
    font-size: 0.9rem;
    color: #ef6ba7;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

#auth-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 2px solid #fce4ec;
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

#auth-form input:focus {
    border-color: #ef6ba7;
    box-shadow: 0 0 8px rgba(239, 107, 167, 0.1);
}

#auth-switch {
    margin-top: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
    color: #666;
    text-align: center;
}

#auth-switch span {
    color: #ef6ba7;
    font-weight: bold;
}

#auth-switch span:hover {
    text-decoration: underline;
}

/* --- ADICIÓN: MENU DESPLEGABLE Y PERFIL (DROPDOWN) --- */

.user-menu-container { 
    position: relative; 
    display: flex; /* Cambiado a flex para alineación interna */
    align-items: center;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 4000;
    margin-top: 12px;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

.user-dropdown p {
    padding: 12px 18px;
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown p:hover { 
    background: #fce4ec; 
    color: #ef6ba7; 
}

.user-dropdown p i { 
    font-size: 1rem; 
    width: 20px; 
    text-align: center; 
}

/* Estilos para el nuevo modal de Perfil */
#profile-modal .product-detail-card {
    border-radius: 40px;
    padding: 40px 30px;
    border: 4px solid #ef6ba7;
}

#btn-save-profile {
    margin-top: 15px;
    box-shadow: 0 8px 15px rgba(239, 107, 167, 0.2);
}

/* --- RESPONSIVE OPTIMIZADO --- */
@media (max-width: 768px) {
    .auth-nav-link { 
        font-size: 11px !important; 
        height: 30px;
    }
    .cart-nav-btn { 
        width: 30px; 
        height: 30px; 
    }
    .cart-nav-btn i { font-size: 0.85rem; }
    .user-dropdown { 
        right: -10px; 
        width: 160px; 
    }
}

@media (max-width: 480px) {
    #auth-modal .product-detail-card {
        padding: 30px 20px;
        width: 92%;
    }
}

/* --- MEJORA VISUAL DE BOTONES EN MODALES --- */

/* Aplicamos el estilo a los dos botones de los modales */
#auth-form button, 
#btn-save-profile {
    background-color: #ef6ba7 !important; /* Rosa Lusty */
    color: white !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 15px !important; /* Bordes redondeados */
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    transition: 0.3s all ease;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(239, 107, 167, 0.3); /* Sombra elegante */
}

/* Efecto cuando pasas el mouse por encima */
#auth-form button:hover, 
#btn-save-profile:hover {
    background-color: #3f51b5 !important; /* Cambia a azul */
    transform: translateY(-2px); /* Sube un poquito */
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.4);
}

/* Efecto cuando haces click (se hunde) */
#auth-form button:active, 
#btn-save-profile:active {
    transform: translateY(1px);
}

/* =========================================
   12. VISTA DASHBOARD PERFIL (ESTILO ADMINISTRATIVO MODERNO)
   ========================================= */

.profile-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-top: 20px;
    min-height: 600px;
}

/* SIDEBAR IZQUIERDO */
.profile-sidebar {
    background: #fdf8fb; /* Un toque de rosa casi blanco */
    padding: 40px 25px;
    border-right: 1px solid #f5e6ee;
    display: flex;
    flex-direction: column;
}

.user-info-header {
    text-align: center;
    margin-bottom: 40px;
}

.user-avatar {
    font-size: 4.5rem;
    color: #ef6ba7;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(239, 107, 167, 0.2));
}

.user-info-header h3 {
    color: #333;
    font-size: 1.3rem;
    word-break: break-word;
}

/* NAVEGACIÓN DEL PERFIL */
.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #777;
    font-size: 0.95rem;
    transition: 0.3s;
    text-align: left;
}

.tab-btn i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tab-btn:hover {
    background: #fce4ec;
    color: #ef6ba7;
}

.tab-btn.active {
    background: #ef6ba7;
    color: white;
    box-shadow: 0 8px 15px rgba(239, 107, 167, 0.3);
}

.logout-btn {
    margin-top: auto; /* Empuja el botón salir al final */
    color: #ef6ba7;
}

.logout-btn:hover {
    background: #ffebee;
    color: #d81b60;
}

/* CONTENIDO DERECHO */
.profile-content {
    padding: 50px;
    background: white;
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FORMULARIOS DENTRO DEL DASH */
.profile-content .input-group label {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.profile-content textarea {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #eee;
    outline: none;
    font-family: inherit;
    min-height: 120px;
    resize: none;
    transition: 0.3s;
}

.profile-content textarea:focus {
    border-color: #ef6ba7;
}

/* ESTADOS DE PEDIDOS EN HISTORIAL */
#historial-lista {
    margin-top: 30px;
}

.empty-history {
    background: #fafafa;
    border-radius: 20px;
    border: 2px dashed #eee;
}

/* RESPONSIVE DASHBOARD */
@media (max-width: 992px) {
    .profile-dashboard {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        border-right: none;
        border-bottom: 1px solid #f5e6ee;
        padding: 30px;
    }
    
    .profile-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .logout-btn {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .profile-content {
        padding: 30px 15px;
    }
    
    .tab-btn {
        font-size: 0.85rem;
        padding: 12px 10px;
    }

}

/* --- BOTÓN ACTUALIZAR DATOS (PERFIL) --- */
#btn-save-profile-dash {
    background: #ef6ba7 !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-family: 'Fredoka', sans-serif !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 15px rgba(239, 107, 167, 0.3) !important;
    width: auto !important;
    min-width: 200px !important;
    margin-top: 15px !important;
}

#btn-save-profile-dash:hover {
    background: #d45a92 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 107, 167, 0.4) !important;
}

/* =========================================
   13. AJUSTE QUIRÚRGICO ADMINISTRADOR
   ========================================= */

#admin-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; /* ESTO IGUALA EL ESPACIO DE MI PERFIL */
    padding: 12px 18px !important; 
    margin: 0 !important;
    cursor: pointer;
    transition: 0.3s;
    width: 100% !important;
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    color: #333 !important;
}

#admin-link i {
    font-size: 1rem !important;
    width: 20px !important; /* Ancho fijo para alinear el texto */
    text-align: center !important;
    margin: 0 !important; /* Quitamos márgenes extra */
    display: flex !important;
    justify-content: center !important;
}

#admin-link:hover {
    background: #fce4ec !important;
    color: #ef6ba7 !important;
}
