/* Estilos para badges de facturable - Elegant Light */
.badge-facturable-si {
    display: inline-block;
    padding: 2px 10px;
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-facturable-no {
    display: inline-block;
    padding: 2px 10px;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Botones de Aceptar y Rechazar */
.btn-aceptar-traslado {
    padding: 10px 18px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-aceptar-traslado:hover {
    background: #16A34A;
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-rechazar-traslado {
    padding: 10px 18px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-rechazar-traslado:hover {
    background: #DC2626;
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Modal de Rechazo - DARK NEON */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-rechazo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 95%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-rechazo h3 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-rechazo textarea {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 1rem;
    font-family: inherit;
    width: 100%;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.modal-rechazo textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.1);
}

.btn-cancel-modal {
    flex: 1;
    padding: 12px 24px;
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-modal:hover {
    background: #E5E7EB;
    color: #1F2937;
}

.btn-confirm-rechazo {
    flex: 1;
    padding: 12px 24px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm-rechazo:hover {
    transform: translateY(-1px);
    background: #DC2626;
    box-shadow: var(--shadow-md);
}

/* Ajustar grid para recepción */
#recepcionBody .ingresos-row,
#tab-recepcion .ingresos-header-row {
    grid-template-columns: 1fr 120px 100px 140px 140px 150px 180px;
    gap: 15px;
}

/* Scrollbar para recepcionBody */
#recepcionBody {
    max-height: calc(100vh - 350px);
    overflow-y: auto;
}

#recepcionBody::-webkit-scrollbar {
    width: 14px;
}

#recepcionBody::-webkit-scrollbar-track {
    background: transparent;
}

#recepcionBody::-webkit-scrollbar-thumb {
    background: #2D3748;
    border-radius: 10px;
}