/* Color Palette - Premium Barber (Gold & Black) */
--primary-hue: 45;
/* Gold Real */
--primary-sat: 100%;
--primary-light: 50%;

--primary-color: #D4AF37;
/* Oro Clásico */
--primary-dark: #AA8C2C;
--primary-light-bg: #1a1a1a;

--secondary-color: #111111;
--accent-color: #D4AF37;

--bg-dark: #000000;
/* Negro Puro */
--bg-darker: #050505;
--surface: #0a0a0a;
/* Casi negro para las tarjetas */
--surface-light: #151515;

--text-primary: #FFFFFF;
--text-secondary: #D4AF37;
/* Texto secundario en Oro */
--text-muted: #666666;

/* Gradients */
--gradient-primary: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #D4AF37 100%);
/* Oro Metálico */
--gradient-surface: linear-gradient(180deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);

/* ... existing spacing ... */
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2rem;
--spacing-xl: 3rem;

/* ... existing radius ... */
--radius-sm: 0.5rem;
--radius-md: 1rem;
--radius-lg: 1.5rem;
--radius-full: 9999px;

/* Shadows */
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.7);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.9);
--shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
/* Brillo dorado sutil */

/* Typography */
--font-primary: 'Poppins',
sans-serif;
--font-logo: 'Pacifico',
cursive;
}

/* ... existing lang-btn ... */
.lang-btn.active {
    opacity: 1 !important;
    transform: scale(1.1);
    color: var(--primary-color) !important;
    border-bottom: 1px solid var(--primary-color);
}

.lang-btn:hover {
    opacity: 1;
    color: var(--primary-color) !important;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background - Limpio y Oscuro */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: -1;
}

/* Eliminar esferas de colores para mantenerlo sobrio */
body::after {
    display: none;
}

/* ===== UTILITY CLASSES ===== */
.glass-effect {
    background: rgba(10, 10, 10, 0.85);
    /* Mucho más oscuro */
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color);
    /* BORDE DORADO */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 100, 50, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 100, 50, 0.6);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--surface-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

/* ===== LOGIN SCREEN ===== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--spacing-md);
}

.login-card {
    width: 100%;
    max-width: 400px;
    /* Un poco más estrecho para elegancia */
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    animation: slideUp 0.6s ease;
    text-align: center;
    /* CENTRADO TOTAL */
    border: 1px solid var(--primary-color);
    /* Borde Dorado */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

/* CONTENIDO LEGIBLE Y BRILLANTE */

.brand-logo {
    font-family: var(--font-logo);
    font-size: 3rem;
    color: #FFD700 !important;
    /* AMARILLO ORO BRILLANTE */
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    /* Resplandor */
    -webkit-text-fill-color: #FFD700 !important;
    margin-bottom: 0.5rem;
    display: block;
}

.brand-tagline {
    color: #FFFFFF !important;
    /* BLANCO PURO */
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
    background: transparent;
    /* Fondo transparente */
    padding: 0;
    border-radius: 0;
}

/* TABS (Cliente, Personal, Admin) */
.tab-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    /* Fondo semitransparente claro */
    border: 1px solid #FFD700;
    /* Borde Dorado Brillante */
    color: #FFFFFF !important;
    /* Texto Blanco */
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #FFD700;
    color: #000000 !important;
    /* Texto negro sobre fondo dorado */
    font-weight: 800;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Titulos de Secciones */

.tab-content h2 {
    color: #FFD700 !important;
    /* Título Dorado */
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.subtitle {
    color: #E0E0E0 !important;
    /* Gris muy claro, casi blanco */
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.brand-logo::after {
    /* Esto es por si quisieramos poner el emoji por CSS, pero mejor por JS/HTML */
    content: '';
}

/* Emoji del poste animado sutilmente */
.barber-pole-icon {
    display: inline-block;
    font-size: 2.5rem;
    vertical-align: middle;
    margin-left: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    animation: slowSpin 5s linear infinite;
    /* Un giro muuuuy lento si quieres */
}

@keyframes slowSpin {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Botón Grande */
.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    border: 2px solid #FFD700;
    /* Borde más grueso */
    background: rgba(0, 0, 0, 0.5);
    color: #FFD700 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.btn-large:hover {
    background: #FFD700;
    color: #000000 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 100, 50, 0.1);
}

.hint {
    margin-top: var(--spacing-md);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CUSTOMER SCREEN ===== */
.customer-header {
    background: var(--gradient-surface);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    /* Más compacto */
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.customer-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-header .brand-logo {
    font-size: 2rem;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cart-btn {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--surface-light);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.customer-main {
    padding: var(--spacing-xl) 0;
}

.hero-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* TARJETAS DE SERVICIOS (Menú) */
.menu-item {
    background: rgba(20, 20, 20, 0.95);
    /* Fondo casi negro sólido */
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Borde dorado sutil */
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    /* Resplandor dorado al pasar mouse */
    border-color: var(--primary-color);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.menu-item-content {
    padding: var(--spacing-md);
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-sm);
    gap: 10px;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF !important;
    /* BLANCO PURO PARA EL NOMBRE */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFD700 !important;
    /* PRECIO EN ORO */
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.menu-item-description {
    color: #CCCCCC !important;
    /* Gris claro para descripción */
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
}

/* Botón dentro de la tarjeta (Agregar/Reservar) */
.menu-item .btn {
    border: 1px solid #FFD700;
    background: transparent;
    color: #FFD700;
    font-weight: 600;
    width: 100%;
}

.menu-item .btn:hover {
    background: #FFD700;
    color: #000;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    /* Aumentado para mejor uso de pantalla */
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
    overflow: hidden;
    /* Evita que el contenido se salga del radio de borde */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--surface);
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: var(--spacing-xl);
}

.cart-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.modal-footer {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    font-weight: 600;
}

.total-amount {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* ===== ADMIN SCREEN ===== */
#admin-screen {
    display: none;
}

#admin-screen.active {
    display: flex;
}

.admin-sidebar {
    width: 260px;
    background: var(--gradient-surface);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    /* Permite scroll si el menú es largo */
}

.sidebar-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.sidebar-header .brand-logo {
    font-size: 1.7rem;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
    letter-spacing: 0px;
}

.sidebar-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.menu-item.active {
    background: var(--gradient-primary);
    color: white;
}

.logout-btn {
    width: auto;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: var(--radius-sm);
}

.logout-btn:hover {
    background: #ff4d4d;
    color: white;
    border-color: #ff4d4d;
}

.admin-main {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-dark);
}

.admin-content {
    padding: var(--spacing-xl);
}

/* Dashboard Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tables */
.data-table {
    width: 100%;
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    /* Permite scroll horizontal en móviles */
    margin-bottom: var(--spacing-lg);
    -webkit-overflow-scrolling: touch;
    /* Scroll suave en iOS */
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--surface);
}

.data-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
}

.status-completed {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Forms in Admin */
.admin-form {
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .customer-header .brand-logo {
        display: none;
        /* Usamos el logo FT en su lugar */
    }

    .admin-sidebar {
        width: 65px;
        /* Un poco más ancho para mejor tap target */
        padding: 0.5rem 0.25rem;
    }

    .sidebar-header p,
    .admin-sidebar .menu-label {
        display: none;
        /* Ahora ocultamos SOLO el texto, no el emoji */
    }

    .menu-item {
        justify-content: center;
        padding: 0.8rem 0;
        margin-bottom: 0.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .data-table {
        overflow-x: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.8rem !important;
    }

    /* Ajuste para que las banderas no tapen nada */
    .language-switcher {
        top: 0.5rem !important;
        right: 0.5rem !important;
    }

    .customer-header {
        padding-top: 2rem !important;
    }

    .menu-item-content {
        padding: 0.8rem;
    }

    .btn-large {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .modal-content {
        max-height: 90vh;
        width: 100% !important;
        padding: 1.5rem !important;
        margin: 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        position: absolute;
        bottom: 0;
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.6s linear infinite;
}

/* ===== NUEVOS ESTILOS PARA MEMBRESÍA ===== */
.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.btn-icon:hover {
    color: var(--primary-color);
    background: rgba(255, 100, 50, 0.1);
    transform: scale(1.1);
}

.notice-info {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
}
/* ADMIN RESCUE PATCH */
.admin-content .stat-card, .admin-content .data-table, .admin-content form { background: #FFF !important; color: #333 !important; }
.admin-content th, .admin-content td, .admin-content h1, .admin-content h2, .admin-content h3, .admin-content label { color: #333 !important; }
.admin-content input, .admin-content select { background: #FFF !important; color: #000 !important; border: 1px solid #CCC !important; }
.admin-content th { background: #EEE !important; border-bottom: 2px solid #DDD !important; }
.menu-item.active { background: #FFD700 !important; color: #000 !important; }

/* MEN LATERAL VISIBLE */
.sidebar-menu li a { color: #FFF !important; font-weight: 500 !important; font-size: 1.05rem !important; }
.sidebar-menu li a:hover { color: #FFD700 !important; background: rgba(255, 215, 0, 0.1) !important; }

/* BOTN DE GUARDAR VISIBLE */
.admin-content .btn-primary { background: #FFD700 !important; color: #000 !important; font-weight: 800 !important; border: none !important; opacity: 1 !important; visibility: visible !important; min-width: 100px !important; }

/* === REFINED PREMIUM TYPOGRAPHY & LAYOUT === */
:root { --gold: #FFD700; --gold-glow: rgba(255, 215, 0, 0.4); --dark-bg: #0a0a0a; --card-bg: #141414; }
body { font-family: 'Poppins', sans-serif !important; letter-spacing: 0.3px; }
h1, h2, h3, .brand-logo { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; letter-spacing: 1px !important; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 2.5rem !important; padding: 2rem !important; }
.menu-item { flex-direction: column !important; height: 100% !important; display: flex !important; border-radius: 1.5rem !important; overflow: hidden !important; background: var(--card-bg) !important; border: 1px solid var(--gold) !important; transition: transform 0.3s ease, box-shadow 0.3s ease !important; }
.menu-item:hover { transform: translateY(-10px) !important; box-shadow: 0 15px 30px var(--gold-glow) !important; }
.menu-item-image { width: 100% !important; height: 260px !important; border-bottom: 2px solid var(--gold) !important; }
.menu-item-content { padding: 1.5rem !important; flex-grow: 1 !important; display: flex !important; flex-direction: column !important; text-align: center !important; }
.menu-item-name { margin-bottom: 0.5rem !important; line-height: 1.2 !important; }
.menu-item-price { margin-bottom: 1rem !important; display: block !important; }
.menu-item-description { font-size: 0.9rem !important; line-height: 1.4 !important; color: #BBB !important; flex-grow: 1 !important; margin-bottom: 1.5rem !important; }
.menu-item .btn { width: 100% !important; padding: 0.8rem !important; border-radius: 0.8rem !important; font-size: 1rem !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
