/* ========================================
   WELLNESS BAR - ESTILOS PRINCIPALES
   Tema: Natural Premium Mobile-First
   ======================================== */

/* Variables CSS - Paleta Natural */
:root {
    --primary-green: #4CAF50;
    --primary-green-light: #66BB6A;
    --primary-green-dark: #388E3C;
    --accent-gold: #FFB300;
    --accent-gold-light: #FFD54F;
    --bg-cream: #FAFAF5;
    --bg-light: #F5F5F0;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FFF8;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --success-green: #25d366;
    --shadow-green: rgba(76, 175, 80, 0.3);
    --shadow-gold: rgba(255, 179, 0, 0.2);
    --gradient-green: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #4CAF50 100%);
    --gradient-dark: linear-gradient(180deg, #2E7D32 0%, #1B5E20 100%);
    --gradient-gold: linear-gradient(135deg, #FFB300 0%, #FFD54F 50%, #FFB300 100%);
    
    /* Category Colors */
    --detox-green: #7CB342;
    --detox-bg: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    --bowls-purple: #7B1FA2;
    --bowls-bg: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    --smoothie-orange: #FF7043;
    --smoothie-bg: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    
    /* Product Colors */
    --verde-detox: #7CB342;
    --antioxidante-berry: #D81B60;
    --bowl-acai: #7B1FA2;
    --bowl-tropical: #43A047;
    --cacao-power: #5D4037;
    --sol-tropical: #FFB300;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */
.app-header {
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.98) 0%, rgba(56, 142, 60, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 20px;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-green);
}

.logo-icon i {
    font-size: 1.6rem;
    color: var(--primary-green);
}

.logo-text {
    text-align: left;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.logo-text .tagline {
    font-size: 0.7rem;
    color: var(--accent-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.order-counter {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.counter-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
}

.counter-number {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
}

/* ========================================
   CONTENEDOR DEL MENÚ
   ======================================== */
.menu-container {
    padding: 20px 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SECCIONES DEL MENÚ
   ======================================== */
.menu-category {
    margin-bottom: 30px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-header {
    text-align: center;
    padding: 25px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-header::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 2px;
}

.category-header.detox {
    background: var(--detox-bg);
}

.category-header.bowls {
    background: var(--bowls-bg);
}

.category-header.smoothies {
    background: var(--smoothie-bg);
}

.category-decoration {
    font-size: 1.2rem;
    opacity: 0.7;
}

.category-header.detox .category-decoration { color: var(--detox-green); }
.category-header.bowls .category-decoration { color: var(--bowls-purple); }
.category-header.smoothies .category-decoration { color: var(--smoothie-orange); }

.category-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   ITEMS DEL MENÚ
   ======================================== */
.menu-items {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    gap: 15px;
    padding: 15px;
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-3px);
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.menu-item.selected {
    border-color: var(--primary-green);
    box-shadow: 0 0 25px var(--shadow-green);
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.menu-item.added {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.item-image {
    width: 85px;
    height: 85px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.item-image i {
    font-size: 2rem;
    color: #fff;
}

.item-image.verde-detox { background: linear-gradient(135deg, var(--verde-detox), #558B2F); }
.item-image.antioxidante-berry { background: linear-gradient(135deg, var(--antioxidante-berry), #880E4F); }
.item-image.bowl-acai { background: linear-gradient(135deg, var(--bowl-acai), #4A148C); }
.item-image.bowl-tropical { background: linear-gradient(135deg, var(--bowl-tropical), #1B5E20); }
.item-image.cacao-power { background: linear-gradient(135deg, var(--cacao-power), #3E2723); }
.item-image.sol-tropical { background: linear-gradient(135deg, var(--sol-tropical), #FF8F00); }

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.item-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.item-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

.item-description {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
}

.item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 8px;
    border-radius: 25px;
    width: fit-content;
    margin-left: auto;
}

.btn-subtract,
.btn-add {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-subtract:hover,
.btn-add:hover {
    background: var(--primary-green);
    color: #fff;
    transform: scale(1.1);
}

.btn-add {
    background: var(--primary-green);
    color: #fff;
}

.btn-add:hover {
    background: var(--primary-green-dark);
}

.item-quantity {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 28px;
    text-align: center;
    color: var(--text-dark);
}

/* ========================================
   BARRA DE REVISAR PEDIDO
   ======================================== */
.order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.98) 0%, rgba(56, 142, 60, 1) 100%);
    backdrop-filter: blur(20px);
    padding: 15px 20px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.order-bar.visible {
    transform: translateY(0);
}

.order-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.order-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-items-count {
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.order-bar-text {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.order-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.order-bar-right i {
    color: #fff;
    font-size: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.app-footer {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 35px 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
}

.footer-contact {
    max-width: 600px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.footer-contact-item i {
    color: var(--primary-green);
    width: 20px;
}

.footer-hours {
    font-weight: 600;
    color: var(--primary-green) !important;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.social-link.facebook { background: #4267B2; }
.social-link.whatsapp { background: #25D366; }

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.footer-handle {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light-gray);
    margin-bottom: 15px;
}

.admin-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light-gray);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.admin-panel-btn:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.1) 0%, transparent 100%);
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.modal-header h2 i {
    color: var(--primary-green);
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-green);
    color: #fff;
}

.modal-body {
    flex: 1;
    padding: 20px 25px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 25px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-light);
}

/* Order Items in Modal */
.order-summary {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.order-item-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-item-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.order-item-unit-price {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.order-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-order-subtract,
.btn-order-add {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.btn-order-subtract:hover {
    background: #FFEBEE;
    color: #C62828;
}

.btn-order-add:hover {
    background: #E8F5E9;
    color: #2E7D32;
}

.btn-order-add {
    background: var(--primary-green);
    color: #fff;
}

.order-item-qty {
    min-width: 25px;
    text-align: center;
    font-weight: 700;
}

.order-item-price {
    font-weight: 700;
    color: var(--primary-green);
    min-width: 60px;
    text-align: right;
}

.empty-order {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.empty-order i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.order-total-section {
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 8px;
}

.total-row.grand-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn-continue {
    width: 100%;
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 25px var(--shadow-green);
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--shadow-green);
}

/* Name Input */
.name-modal-content {
    min-height: auto;
}

.name-input-section {
    padding: 10px 0;
}

.name-input-label {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.name-input-field {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.name-input-field::placeholder {
    color: var(--text-light-gray);
}

.name-input-field:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px var(--shadow-green);
}

/* Confirm Modal */
.confirm-modal-content .modal-body {
    text-align: center;
}

.confirm-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.confirm-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-green);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.confirm-order {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.8;
}

.confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #E8F5E9;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
}

.confirm-total .total-amount {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
}

/* WhatsApp Button */
.btn-whatsapp {
    width: 100%;
    background: var(--success-green);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.3rem;
}

/* ========================================
   MODAL DE ÉXITO
   ======================================== */
.success-modal-content {
    text-align: center;
    padding: 40px 30px;
    max-height: none;
    border-radius: 25px 25px 0 0;
}

.success-icon {
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 4rem;
    color: var(--primary-green);
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.success-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-submessage {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.success-thanks {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.order-number {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-new-order {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 25px var(--shadow-green);
}

.btn-new-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--shadow-green);
}

/* Admin Login Modal */
.admin-login-content {
    max-width: 400px;
}

.admin-login-form {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-login-form label {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
}

.admin-login-form input {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px var(--shadow-green);
}

.login-error {
    text-align: center;
    color: #C62828;
    background: #FFEBEE;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 380px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .category-header h2 {
        font-size: 1.1rem;
    }
    
    .item-image {
        width: 70px;
        height: 70px;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .order-bar-text {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .menu-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .modal-content {
        max-width: 500px;
        border-radius: 25px;
        margin: auto;
    }
    
    .success-modal-content {
        border-radius: 25px;
    }
    
    .modal {
        align-items: center;
    }
}

/* ========================================
   SCROLLBAR PERSONALIZADO
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

/* ========================================
   ANIMACIONES DE CARGA
   ======================================== */
.menu-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }

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

/* Shake animation for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
