.rifa-aviso {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 600;
    text-align: center;
}

.rifa-aviso-exito {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.rifa-aviso-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.rifa-aviso-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.rifa-confirmar-wrap {
    text-align: center;
    margin: 30px 0 50px;
}

.rifa-confirmar-hint {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.rifa-btn-primario {
    display: inline-block;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.rifa-btn-primario:hover {
    transform: translateY(-2px);
}

.rifa-btn-primario:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.rifa-btn-secundario {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: #6b7280;
    border: none;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    cursor: pointer;
}

.rifa-checkout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rifa-checkout-overlay.activo {
    display: flex;
}

.rifa-checkout-modal {
    position: relative;
    background: #fff;
    border-radius: 22px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}

.rifa-checkout-cerrar {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 15px;
}

.rifa-checkout-paso h3 {
    margin: 0 0 6px;
    font-size: 24px;
    letter-spacing: -.5px;
}

.rifa-checkout-resumen {
    color: #6b7280;
    margin: 0 0 22px;
}

.rifa-checkout-campo {
    margin-bottom: 16px;
}

.rifa-checkout-campo label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.rifa-checkout-campo input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

.rifa-checkout-campo input:focus {
    outline: none;
    border-color: #111827;
}

.rifa-checkout-error {
    color: #b91c1c;
    font-size: 14px;
    min-height: 18px;
    margin: 4px 0 14px;
}

.rifa-checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

.rifa-checkout-total span {
    color: #6b7280;
    font-size: 14px;
}

.rifa-checkout-total strong {
    font-size: 20px;
}

.rifa-checkout-cuenta-regresiva {
    text-align: center;
    font-size: 13px;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 20px;
}

.rifa-checkout-metodos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rifa-checkout-metodo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease;
}

.rifa-checkout-metodo:hover {
    border-color: #111827;
    background: #f9fafb;
}

.rifa-checkout-instrucciones {
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
    white-space: pre-line;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.rifa-checkout-exito-icono {
    font-size: 44px;
    text-align: center;
    margin-bottom: 10px;
}

#rifa-paso-exito h3 {
    text-align: center;
}

#rifa-checkout-exito-mensaje {
    text-align: center;
    color: #4b5563;
    margin-bottom: 24px;
}

#rifa-paso-exito .rifa-btn-primario {
    display: block;
    width: 100%;
}
