@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/Shared/TombolaCelebracionDialog.razor.rz.scp.css */
/* Modal de Celebración de Ganador */
.celebration-overlay[b-5h4drqweqr] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn-b-5h4drqweqr 0.4s ease forwards;
}

.celebration-card[b-5h4drqweqr] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 4px solid #f59e0b;
    border-radius: 24px;
    padding: 3rem;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 158, 11, 0.35);
    color: #fff;
    transform: scale(0.9);
    opacity: 0;
    animation: scaleUp-b-5h4drqweqr 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s forwards;
}

.celebration-badge[b-5h4drqweqr] {
    background: #78350f;
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.celebration-title[b-5h4drqweqr] {
    font-size: 2.25rem;
    font-weight: 900;
    background: linear-gradient(to right, #f59e0b, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.celebration-premio[b-5h4drqweqr] {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.celebration-ticket-wrap[b-5h4drqweqr] {
    background: #020617;
    border: 2px solid #334155;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.6);
}

.celebration-ticket[b-5h4drqweqr] {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    font-family: "Consolas", "Courier New", monospace;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(245, 158, 11, 0.3);
    animation: pulseText-b-5h4drqweqr 1.5s infinite alternate;
}

.celebration-winner-name[b-5h4drqweqr] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.celebration-accept-btn[b-5h4drqweqr] {
    padding: 0.8rem 2.5rem;
    border-radius: 8px;
}

@keyframes pulseText-b-5h4drqweqr {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
}

@keyframes fadeIn-b-5h4drqweqr {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp-b-5h4drqweqr {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Confeti Animado en CSS */
.confetti-container[b-5h4drqweqr] {
    position: absolute;
    inset: 0;
}

.confetti-piece[b-5h4drqweqr] {
    position: absolute;
    width: 10px;
    height: 20px;
    background: #ffd300;
    top: -20px;
    opacity: 0;
    animation: fall-b-5h4drqweqr 3s infinite linear;
}

.confetti-piece:nth-child(2n)[b-5h4drqweqr] { background: #f59e0b; }
.confetti-piece:nth-child(3n)[b-5h4drqweqr] { background: #3b82f6; }
.confetti-piece:nth-child(4n)[b-5h4drqweqr] { background: #ef4444; }
.confetti-piece:nth-child(5n)[b-5h4drqweqr] { background: #10b981; }

@keyframes fall-b-5h4drqweqr {
    0% {
        top: -20px;
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 100%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0.3;
    }
}

/* Asignaciones de posiciones de confeti aleatorias */
.confetti-piece:nth-child(1)[b-5h4drqweqr] { left: 10%; animation-delay: 0s; animation-duration: 2.5s; }
.confetti-piece:nth-child(2)[b-5h4drqweqr] { left: 20%; animation-delay: 0.5s; animation-duration: 3s; }
.confetti-piece:nth-child(3)[b-5h4drqweqr] { left: 30%; animation-delay: 1.2s; animation-duration: 2.2s; }
.confetti-piece:nth-child(4)[b-5h4drqweqr] { left: 40%; animation-delay: 0.2s; animation-duration: 2.8s; }
.confetti-piece:nth-child(5)[b-5h4drqweqr] { left: 50%; animation-delay: 1.5s; animation-duration: 3.2s; }
.confetti-piece:nth-child(6)[b-5h4drqweqr] { left: 60%; animation-delay: 0.8s; animation-duration: 2.4s; }
.confetti-piece:nth-child(7)[b-5h4drqweqr] { left: 70%; animation-delay: 1.8s; animation-duration: 2.9s; }
.confetti-piece:nth-child(8)[b-5h4drqweqr] { left: 80%; animation-delay: 0.3s; animation-duration: 3.1s; }
.confetti-piece:nth-child(9)[b-5h4drqweqr] { left: 90%; animation-delay: 1.1s; animation-duration: 2.6s; }
.confetti-piece:nth-child(10)[b-5h4drqweqr] { left: 95%; animation-delay: 0.6s; animation-duration: 2.3s; }
/* /Components/Shared/TombolaGabinete.razor.rz.scp.css */
/* Gabinete de la tómbola */
.tombola-gabinete[b-tjat5093o6] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 3px solid #f59e0b; /* Gold accent border */
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(245, 158, 11, 0.1);
    margin-bottom: 2rem;
}

/* Título del sorteo en tómbola */
.tombola-title[b-tjat5093o6] {
    color: #f59e0b;
    letter-spacing: 0.1em;
}

.tombola-subtitle[b-tjat5093o6] {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Pantalla de rodillos */
.tombola-display[b-tjat5093o6] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #020617;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #334155;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 2.5rem;
}

/* Línea de selección central */
.tombola-display[b-tjat5093o6]::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 94px;
    border-top: 2px dashed rgba(245, 158, 11, 0.4);
    border-bottom: 2px dashed rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.03);
    pointer-events: none;
    z-index: 10;
}

/* Separador de serie y número */
.reel-separator[b-tjat5093o6] {
    font-size: 3rem;
    font-weight: 800;
    color: #475569;
    padding: 0 5px;
    user-select: none;
}

.btn-tombola-girar[b-tjat5093o6] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1rem 3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}

.btn-tombola-girar:hover:not(:disabled)[b-tjat5093o6] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-tombola-girar:active:not(:disabled)[b-tjat5093o6] {
    transform: translateY(1px);
}

.btn-tombola-girar:disabled[b-tjat5093o6] {
    background: #475569;
    color: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
}
/* /Components/Shared/TombolaReel.razor.rz.scp.css */
/* Rodillo contenedor */
.digit-reel[b-qoxazyj38z] {
    height: 90px;
    width: 65px;
    border: 2px solid #475569;
    background: #0f172a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.digit-reel.series-reel[b-qoxazyj38z] {
    width: 80px;
    border-color: #f59e0b;
}

/* Sombra 3D en rodillo */
.digit-reel[b-qoxazyj38z]::before, .digit-reel[b-qoxazyj38z]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: none;
    z-index: 5;
}

.digit-reel[b-qoxazyj38z]::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95) 0%, transparent 100%);
}

.digit-reel[b-qoxazyj38z]::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, transparent 100%);
}

.digit-strip.spinning[b-qoxazyj38z] {
    filter: blur(1.5px);
}

.digit-number[b-qoxazyj38z] {
    height: 90px;
    line-height: 90px;
    font-size: 3.5rem;
    font-weight: 800;
    color: #f1f5f9;
    font-family: "Consolas", "Courier New", monospace;
    user-select: none;
}

.digit-reel.series-reel .digit-number[b-qoxazyj38z] {
    color: #f59e0b;
}

/* Luces indicadoras de parada del rodillo */
.reel-indicator[b-qoxazyj38z] {
    height: 8px;
    width: 8px;
    background-color: #64748b;
    transition: background-color 0.2s ease;
}

.reel-indicator.stopped[b-qoxazyj38z] {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseGlow-b-qoxazyj38z 1s infinite alternate;
}

.reel-indicator.spinning[b-qoxazyj38z] {
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

@keyframes pulseGlow-b-qoxazyj38z {
    from { opacity: 0.6; box-shadow: 0 0 4px currentColor; }
    to { opacity: 1; box-shadow: 0 0 10px currentColor; }
}
/* /Components/Usuarios/AsignarCiudadUsuarioDialog.razor.rz.scp.css */
.input-con-acciones[b-7zohzmyyg7] {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f8fafc;
}

.input-con-acciones:focus-within[b-7zohzmyyg7] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.input-con-acciones .form-control[b-7zohzmyyg7] {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: none;
}

.input-con-acciones .btn-icon[b-7zohzmyyg7] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .8rem;
    background: #f1f5f9;
    border: none;
    border-left: 1px solid #e2e8f0;
    color: var(--text-soft);
    cursor: pointer;
    border-radius: 0;
    transition: background 120ms, color 120ms;
    line-height: 1;
}

.input-con-acciones .btn-icon:hover:not(:disabled)[b-7zohzmyyg7] {
    background: #e2e8f0;
    color: var(--primary);
}

.input-con-acciones .btn-icon:disabled[b-7zohzmyyg7] {
    opacity: 0.45;
    cursor: not-allowed;
}
/* /Components/Vendedores/VendedorFormDialog.razor.rz.scp.css */
.input-con-acciones[b-mue1jd2dpf] {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f8fafc;
}

.input-con-acciones:focus-within[b-mue1jd2dpf] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.input-con-acciones .form-control[b-mue1jd2dpf] {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: none;
}

.input-con-acciones .btn-icon[b-mue1jd2dpf] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .8rem;
    background: #f1f5f9;
    border: none;
    border-left: 1px solid #e2e8f0;
    color: var(--text-soft);
    cursor: pointer;
    border-radius: 0;
    transition: background 120ms, color 120ms;
    line-height: 1;
}

.input-con-acciones .btn-icon:hover:not(:disabled)[b-mue1jd2dpf] {
    background: #e2e8f0;
    color: var(--primary);
}

.input-con-acciones .btn-icon:disabled[b-mue1jd2dpf] {
    opacity: 0.45;
    cursor: not-allowed;
}
/* /MainLayout.razor.rz.scp.css */
.version-style[b-vdgnayktqr] {
    background-color: darkred;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
}
/* /Pages/NotificacionesSalientes.razor.rz.scp.css */
[b-bisbunaypm] .busqueda-input {
    min-width: 260px;
}

/* Tinte de fila según estado, para identificar a simple vista */
[b-bisbunaypm] tr.fila-pendiente {
    background: #f8fafc;
}

[b-bisbunaypm] tr.fila-enviado {
    background: #f0fdf4;
}

[b-bisbunaypm] tr.fila-fallido {
    background: #fffbeb;
}

[b-bisbunaypm] tr.fila-agotado {
    background: #fef2f2;
}
/* /Pages/Tombola.razor.rz.scp.css */
/* Selector de sorteo */
.sorteo-select-label[b-dz65vbp5zy] {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.sorteo-select[b-dz65vbp5zy] {
    height: 2.5rem;
}

/* Información del sorteo seleccionado */
.sorteo-info-box[b-dz65vbp5zy] {
    margin-top: 0.6rem;
    background: var(--surface-low);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.sorteo-info-row[b-dz65vbp5zy] {
    margin-bottom: 0.2rem;
}

.sorteo-info-status[b-dz65vbp5zy] {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
}

.premios-heading[b-dz65vbp5zy] {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: var(--text);
}

.premios-empty[b-dz65vbp5zy] {
    padding: 2rem;
    color: #64748b;
}

/* Tabla de premios */
.premios-table[b-dz65vbp5zy] {
    border-collapse: collapse;
    margin-top: 0.4rem;
}

.premios-table-header-row[b-dz65vbp5zy] {
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
}

.premios-table th[b-dz65vbp5zy] {
    padding: 0.6rem;
    font-size: 0.75rem;
    color: #64748b;
}

.premios-table-row[b-dz65vbp5zy] {
    border-bottom: 1px solid #e2e8f0;
}

.premios-table-row.row-selected[b-dz65vbp5zy] {
    background: rgba(41, 127, 191, 0.08);
}

.premios-table td[b-dz65vbp5zy] {
    padding: 0.6rem;
}

.premio-posicion[b-dz65vbp5zy] {
    color: var(--primary);
}

.premio-ganador-value[b-dz65vbp5zy] {
    color: #0f172a;
}

.premio-ganador-empty[b-dz65vbp5zy] {
    color: #94a3b8;
}

.premio-accion-btn[b-dz65vbp5zy] {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

/* Panel del gabinete (columna derecha) */
.gabinete-placeholder[b-dz65vbp5zy] {
    min-height: 400px;
}

.gabinete-placeholder-icon[b-dz65vbp5zy] {
    font-size: 4rem;
    color: #cbd5e1;
}

.gabinete-placeholder-text[b-dz65vbp5zy] {
    color: #64748b;
    font-size: 0.95rem;
}

.gabinete-select-premio-icon[b-dz65vbp5zy] {
    font-size: 4rem;
    color: #f59e0b;
}

.gabinete-select-premio-title[b-dz65vbp5zy] {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.gabinete-select-premio-subtitle[b-dz65vbp5zy] {
    color: #64748b;
    font-size: 0.9rem;
}

.icon-pulse[b-dz65vbp5zy] {
    animation: pulseGlow-b-dz65vbp5zy 2s infinite alternate;
}

@keyframes pulseGlow-b-dz65vbp5zy {
    from { opacity: 0.6; box-shadow: 0 0 4px currentColor; }
    to { opacity: 1; box-shadow: 0 0 10px currentColor; }
}

/* Caja de "Sorteo Realizado" */
.ganador-actual-box[b-dz65vbp5zy] {
    background: rgba(34, 197, 94, 0.05);
    border: 1.5px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
}

.ganador-actual-header[b-dz65vbp5zy] {
    margin-bottom: 0.9rem;
}

.ganador-actual-title[b-dz65vbp5zy] {
    color: #16a34a;
    font-size: 1.1rem;
}

.ganador-actual-dot[b-dz65vbp5zy] {
    width: 8px;
    height: 8px;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.ganador-actual-ticket-highlight[b-dz65vbp5zy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    background: var(--surface-high);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.ganador-actual-ticket-label[b-dz65vbp5zy] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
}

.ganador-actual-ticket-number[b-dz65vbp5zy] {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.04em;
}

.ganador-actual-details[b-dz65vbp5zy] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ganador-actual-detail-row[b-dz65vbp5zy] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.ganador-actual-detail-icon[b-dz65vbp5zy] {
    color: #16a34a;
    font-size: 0.9rem;
}

.ganador-actual-detail-label[b-dz65vbp5zy] {
    color: var(--text-soft);
}

.ganador-actual-detail-value[b-dz65vbp5zy] {
    font-weight: 700;
    color: var(--text);
}

a.ganador-actual-link[b-dz65vbp5zy] {
    text-decoration: none;
    color: var(--primary);
}

a.ganador-actual-link:hover[b-dz65vbp5zy] {
    text-decoration: underline;
}

/* Estilo para los badges en la tabla */
.status-badge.sorteado[b-dz65vbp5zy] {
    background: #dcfce7;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.status-badge.pendiente[b-dz65vbp5zy] {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #cbd5e1;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.status-badge.activo-sorteo[b-dz65vbp5zy] {
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #fde68a;
    font-weight: bold;
}
