:root {
    --primary: #2563eb;
    --success: #059669;
    --bg: #f1f5f9;
    --wheel-border: #334155;
    --text-muted: #64748b;
    --text-main: #1e293b;
    --border-color: #8f8ab8;
}

body {
    opacity: 0; /* inicialmente no se muestra porque aparece sin traducir */
    transition: opacity 0.2s ease-in-out; /* Para que aparezca con un fundido suave */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg); 
    color: #1e293b;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    min-height: 100vh;
    display: block;
    background-image: url('bg2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #0b0e14;
}

/* DISEÑO DE TRES COLUMNAS FLUIDO (Escritorio) */
.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 300px 550px 350px;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* SISTEMA DEL MENÚ */
/* Forces the independent menu box to naturally lock inside the desktop column 1 coordinates */
.menu-container {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 24px;
    width: 100%;
    z-index: 160;
}

/* Botón Hamburguesa Estilizado */
.menu-hamburguesa-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: background 0.2s;
}
.menu-hamburguesa-btn:hover { background: #f8fafc; }
.menu-hamburguesa-btn svg { width: 24px; height: 24px; fill: var(--primary); }

/* Panel del Menú Oculto por defecto */
.menu-contenido-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 300px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    box-sizing: border-box;
    
    /* Efecto de tapado total mediante opacidad y visibilidad */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
    z-index: 150; /* Queda por encima de los pagos globales obligatoriamente */
    max-height: calc(100vh - 10px); /* Evita que choque contra el piso del monitor */
    overflow-y: auto;
    overflow-x: visible;
}

/* Clase de activación que el JS encenderá/apagará */
.menu-contenido-panel.menu-abierto {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 1. DISEÑO PROFESIONAL DE CADA ITEM */
.menu-contenido-panel a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #334155; /* Gris oscuro profesional */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* 2. SOMBREADO PROFESIONAL AL HOVER */
.menu-contenido-panel a:hover:not(.disabled) {
    background-color: #f1f5f9; /* Fondo gris sutil */
    color: var(--primary);     /* El texto cambia al azul principal */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* Sombra muy tenue y limpia */
}

/* 3. ESTADO DESHABILITADO (GREYED) */
.menu-contenido-panel a.disabled {
    color: #94a3b8;           /* Texto gris apagado */
    cursor: not-allowed;      /* Cambia el cursor a bloqueo */
    opacity: 0.6;
    pointer-events: none;     /* Desactiva los clics por completo */
}

/* 4. RAYA DEBAJO (SEPARADOR OPCIONAL) */
.menu-contenido-panel a.con-separador {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 8px 8px 0 0; /* Ajusta bordes para que la línea no quede tosca */
    margin-bottom: 4px;
}

/* El botón "Idioma ▸" en tu panel lateral */
.trigger-sub {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🌟 Empuja el texto a la izquierda y la flecha a la derecha */
    width: 100%;                    /* Ocupa todo el ancho disponible de los 300px */
    padding: 12px 16px;             /* Ajustá el espaciado interno a tu gusto */
    box-sizing: border-box;         /* Evita que el padding sume ancho de más */
}

/* Si la flechita es un caracter directo o un elemento interno */
.trigger-sub .flecha-icono,
.trigger-sub span:last-child {
    font-size: 1.2rem;              /* 🌟 La hacemos más grande que el texto */
    font-weight: 600;               /* Le damos más grosor para que resalte */
    margin-left: auto;              /* Refuerza que se clave a la derecha */
}

.sub-menu-flotante-fijo {
    display: none;
    position: fixed;
    width: 160px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    flex-direction: column;
    padding: 6px 0;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
}

.sub-menu-flotante-fijo.abierto {
    display: flex;
}

.sub-menu-flotante-fijo a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #334155;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sub-menu-flotante-fijo a:hover:not(.disabled) {
    background-color: #f1f5f9;
    color: var(--primary);
}

.sub-menu-flotante-fijo a.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* COLUMNA IZQUIERDA STICKY */
.col-izquierda-payouts {
    grid-column: 1;
    grid-row: 1;
    margin-top: 65px; /* Genera el espacio vacío para que el botón del menú quepa arriba */
    position: sticky;
    top: 89px; /* Ajustado de 20px a 80px para acompañar el margen superior del menú al scrollear */
    max-height: 85vh; /* Ajuste milimétrico para que el contenedor no desborde el fondo del monitor */
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.sidebar-panel {
    background: #ffffff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.success-stories-panel { gap: 14px; display: flex; flex-direction: column; max-width: 300px;}
.success-stories-panel h3 { margin: 0; font-weight: 500; }
.panel-subtitle { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 4px 0; line-height: 1.4; }
.success-list-container { display: flex; flex-direction: column; gap: 12px; }
.success-card { background: #f8fafc; border: 1px solid #eeeeee; padding: 12px; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.card-header-status { display: flex; justify-content: space-between; align-items: center; }
.user-masked { font-size: 0.8rem; font-weight: 600; color: var(--text-main); }
.payout-badge { font-size: 0.85rem; font-weight: 700; color: var(--success); }
.card-blockchain-details { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.network-tag { padding: 2px 6px; border-radius: 4px; font-weight: 700; font-size: 0.65rem; }
.network-tag.bep20 { background: #fef3c7; color: #b45309; }
.network-tag.trc20 { background: #fee2e2; color: #b91c1c; }
.masked-txid { color: var(--primary); font-family: monospace; cursor: pointer; text-decoration: none; }
.time-ago { font-size: 0.7rem; color: var(--text-muted); align-self: flex-end; }
.security-lock-footer { font-size: 0.75rem; color: var(--text-muted); text-align: center; border-top: 1px solid var(--border-color); line-height: 1.3; padding-top: 12px; margin-top: 6px; }

.container {
    max-width: 550px; 
    background: white; 
    padding: 30px;
    padding-bottom: 15px;  /* Reduce solo el inferior a la mitad */ 
    border-radius: 24px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.col-derecha-messages {
    align-self: stretch; /* Se estira verticalmente siguiendo el ritmo del carril del medio */
    height: 100%;
}

#message-panel-container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    position: sticky;
    top: 20px;
    align-self: start; 
    /* El script de JS le inyectará el maxHeight a este elemento al cargar */
    display: flex;
    flex-direction: column;
}

#message-panel {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden; /* Prohíbe el scroll horizontal */

    /* STICKY ENGAGE: Allows the container to float gracefully side-by-side as you scroll into the profile */
    position: sticky;
    top: 20px; /* Safe padding distance from the viewport ceiling when floating */
    flex-grow: 1;      /* Le ordena ocupar TODO el espacio neto disponible adentro de la caja blanca */
    min-height: 0;     /* TRUCO CRÍTICO: Le prohíbe expandirse más allá del piso del padre (frena el infinito) */
    align-self: start; 
}

/* Redes y Logotipos (Sidebar Derecho) */
.brand-network-box {
    margin-top: auto;
    margin-bottom: 6px;
    background: #f1f5f9;
    padding: 16px 26px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;;
}
.network-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.network-logos img { height: 18px; width: auto; max-width: 100%; object-fit: contain; }
.network-badges { display: flex; gap: 12px; }
.badge-network-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    padding: 6px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    border: 1px solid #e2e8f0;;
}
.badge-network-item img { width: 14px; height: 14px; }

.status-msg {
    padding: 16px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    animation: slideIn 0.4s ease-out forwards;
    border-left: 5px solid transparent;
    background: white;
}

.loading { border-left-color: #3b82f6; background: #eff6ff; color: #1e40af; }
.success { border-left-color: var(--success); background: #ecfdf5; color: #065f46; }
.error { border-left-color: #ef4444; background: #fef2f2; color: #991b1b; }
.legal {border-left-color: #64748b; background: #f8fafc; color: #334155; }
.girob {border-left-color: #64748b; background: #f8fafc; color: #334155; }

h2 { margin-top: 0; color: var(--primary); font-size: 1.6rem; margin-bottom: 20px; }

.wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.subtitle { 
    font-size: 0.85rem; 
    color: #475569; 
    word-break: break-all;
    font-family: monospace;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
    color: #64748b; /* Color gris suave original */
}

.copy-btn:hover { 
    background: #f1f5f9; 
    color: var(--primary); /* Cambia a azul al pasar el mouse */
}

.copy-btn svg { 
    width: 18px; 
    height: 18px; 
    fill: currentColor; 
}

label { display: block; margin-top: 18px; font-weight: 600; font-size: 0.85rem; color: #334155; }
input { 
    width: 100%; 
    padding: 13px; 
    margin-top: 8px;
    border-radius: 12px; 
    border: 1px solid #cbd5e1; 
    box-sizing: border-box;
    font-size: 0.85rem;
}

.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 35px auto;
}

#wheel {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    border: 8px solid #1e293b; /* Borde exterior más grueso y oscuro tipo titanio */
    position: relative;
    overflow: hidden;
    transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
    /* PALETA PREMIUM: Tonos intercalados de Azul Cripto, Grafito y Esmeralda */
    background: conic-gradient(
        #110a36 0deg 51.43deg,
        #2563eb 51.43deg 102.86deg, 
        #0f172a 102.86deg 154.29deg, 
        #059669 154.29deg 205.71deg, 
        #0f172a 205.71deg 257.14deg, 
        #2563eb 257.14deg 308.57deg, 
        #059669 308.57deg 360deg
    );
    transform: rotate(-25.7deg); 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6), 0 10px 25px rgba(0,0,0,0.15);
}

/* NUEVO: Centro de la rueda premium (Efecto PIN metalizado) */
#wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #f8fafc 0%, #cbd5e1 70%, #94a3b8 100%);
    border-radius: 50%;
    border: 4px solid #1e293b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
}

.wheel-text-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transform-origin: center center;
    display: flex; justify-content: center; align-items: flex-start;
}
/* Modificación para los textos dentro de la nueva rueda premium */
.wheel-text-content {
    margin-top: 25px;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff; /* Texto blanco para alto contraste sobre fondo oscuro */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Sombra para máxima legibilidad */
}

.marker {
    position: absolute;
    top: -15px; 
    left: 50%;
    transform: translateX(-50%);
    /* Aumentamos el ancho a 16px para darle 1px de margen a los lados contra el clipping */
    width: 16px; 
    height: 25px; 
    z-index: 15;

    /* CURVA AGRESIVA: Los puntos de control empujan los laterales fuertemente hacia el centro */
    clip-path: path('M 7,25 C 6.6,18 7.0,10 1,1 C 3,1 11,1 13,1 C 7.0,10 7.4,18 7,25 Z');

    background-color: #ef4444; 
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.25));
}

.btn-spin { 
    width: 80%;
    margin: 20px auto 0;
    display: block;      /* Asegura que el margen auto funcione */
    background: var(--success); 
    color: white; 
    padding: 12px; 
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85rem; 
    cursor: pointer;
    transition: filter 0.2s;
    margin-top: 10px;
}

.btn-spin:hover { filter: brightness(1.1); }
.btn-spin:disabled { background: #cbd5e1; cursor: not-allowed; }

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Mucho más transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: left; /* Alineación más natural */
    max-width: 380px;
    width: 85%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin-right: 100px;
    transform: translateY(-50px);
    border: 1px solid var(--border-color);
}

.modal-content h4 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.2rem;
}

.modal-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.modal-footer {
    display: flex;
    justify-content: flex-end; /* Botones a la derecha */
    gap: 12px;
    margin-top: 25px;
}

.btn-primario {
    background: #28a745; /* Verde éxito */
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-primario:hover {
    background: #218838; /* Verde un poco más oscuro al pasar el mouse */
}

.btn-secundario {
    background: transparent;
    color: #555;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-secundario:hover {
    background: #f8f8f8;
}

/* Estilos para la tabla de comisiones por referidos, mínimos recomendados para que luzca limpio y moderno */
.referidos-container { 
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    color: #333333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}
.referidos-container h4 {
    margin-top: 0;
    color: #111111;
    font-size: 0.95rem;
}
.table-responsive { 
    overflow-x: auto; 
    margin-top: 15px; 
}
.tabla-referidos { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
}
.tabla-referidos th, .tabla-referidos td { 
    padding: 8px; 
    border-bottom: 1px solid #eeeeee; 
    text-align: center;      /* Centrado horizontal */
    vertical-align: middle;   /* Centrado vertical */
}
.tabla-referidos th { 
    background-color: #f8f9fa; 
    color: #495057; 
    font-size: 0.8rem; 
    font-weight: 600;
}
.tabla-referidos td { 
    font-size: 0.75rem; 
}
.tabla-referidos tr:hover { 
    background-color: #f1f3f5; 
}
.badge-comision { 
    background: #20c9971a; 
    color: #0ca678; 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-weight: bold; 
}

/* Cuando el contenedor tiene la clase loading, cambia los textos base a azul oscuro */
.loading .referidos-container {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Cambia el título H4 a azul oscuro durante la carga */
.loading .referidos-container h4 {
    color: #1e40af;
}

/* Fuerza a los encabezados (th) a usar fondo y texto azul */
.loading .tabla-referidos th {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Fuerza a las celdas (td) a usar el color azul oscuro */
.loading .tabla-referidos td {
    color: #1e40af;
}

/* Cambia el color de la fila al pasar el mouse durante la carga */
.loading .tabla-referidos tr:hover { 
    background-color: #dbeafe66; 
}

/* Ajusta el borde inferior de las filas para que combine con el azul */
.loading .tabla-referidos th, 
.loading .tabla-referidos td { 
    border-bottom: 1px solid #bfdbfe; 
}

/* Estilo base del cartel con Fade-In y Fade-Out automático */
.wheel-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Ángulo intermedio óptimo (32.5 grados) */
    transform: translate(-50%, -50%) rotate(-32.5deg) scale(0.9); 
    
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 3px;
    z-index: 20; 
    pointer-events: none; 
    
    color: rgba(6, 95, 70, 0.70); /* Verde oscuro semitransparente */
    text-shadow: none;

    /* Control de desvanecimiento (Fade-out por defecto) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
}

/* Cuando el botón está deshabilitado, se activa el Fade-In */
.container:has(.btn-spin:disabled) .wheel-overlay-text {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(-32.5deg) scale(1);
}

.tyc-container {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0 auto;
    color: #333;
    max-width: 800px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tyc-container h1 { color: #1e293b; border-bottom: 2px solid #eee; padding-bottom: 10px; font-size: 1.8rem; }
.tyc-container h2 { color: #2c3e50; margin-top: 30px; font-size: 1.3rem; }
.tyc-container p, .tyc-container li { color: #555; }
.tyc-container ul { padding-left: 20px; }
.tyc-container li { margin-bottom: 10px; }
.tyc-container .disclaimer { font-style: italic; color: #666; background: #f1f5f9; padding: 15px; border-left: 4px solid #cbd5e1; margin-top: 20px; }
.tyc-container .important { font-style: italic; color: #b91c1c; font-weight: 500; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- MOBILE ADVANCED CONFIGURATION (Below 1150px) --- */
@media (max-width: 1150px) {
    body {
        padding: 10px;
    }

    .dashboard-grid-layout {
        grid-template-columns: 1fr; /* Colapsa las 3 columnas a una sola pista vertical */
        width: auto;
        max-width: 500px; /* Ancho máximo para que en pantallas medianas no se estire de más */
        margin: 0 auto;
        gap: 15px;
        overflow-x: hidden;
        padding-top: 60px;
    }

    .modal-content {
        margin-right: 0; /* no lo tiro a la izquierda */
    }

    /* ORDENAMIENTO VERTICAL DE COMPONENTES */
    .menu-container {
        /* 1. Lo sacamos del flujo del Grid y lo clavamos a la pantalla */
        position: fixed; 
        top: 10px;
        left: 10px;
        /* 2. Hacemos que ocupe el ancho de la pantalla restando los márgenes */
        width: calc(100% - 20px); 
        max-width: 480px; /* Acompaña al ancho del main */
        z-index: 1000;
    }

    .col-central-main {
        grid-column: 1;
        grid-row: 1; /* La ruleta y el formulario van segundos */
        width: 100%;
    }

    .col-derecha-messages {
        grid-column: 1;
        grid-row: 2; /* El panel de mensajes cae abajo del formulario */
        width: 100%;
    }

    .col-izquierda-payouts {
        grid-column: 1;
        grid-row: 3; /* El historial de pagos va al fondo del scroll */
        position: relative;
        top: 0;
        width: 100%;
        margin: 5px auto 0 auto; /* Centra horizontalmente (auto a los lados) y le da margen arriba */
        box-sizing: border-box;
        max-height: none;
    }

    /* ADAPTACIÓN INTERNA PARA QUE EN CAIGA PERFECTO EN CELULARES CHICOS */
    .container, #message-panel {
        width: 100%; /* Deja de usar píxeles fijos, se vuelve elástico */
        box-sizing: border-box;
    }

    #message-panel {
        max-height: 400px; /* Conservamos tu límite de altura para que no se extienda infinito */
        overflow-y: auto;
        padding-bottom: 15px;
    }

    /* AJUSTE DEL DROP-DOWN DEL MENU FLOTANTE */
    .menu-contenido-panel {
        position: absolute;
        top: 52px;
        left: 0;
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
        background: #ffffff;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
        border: 1px solid #cbd5e1;
        z-index: 99999;
    }
}

@media (max-width: 480px) {
    /* En celulares pequeños, ponemos el cupo debajo del input */
    .monto-container { 
        flex-direction: column; 
    }
    #amount {
        width: 100%;
    }
}
