﻿/* === Checkout.css para página de pago registrado === */

/* Fondo general y centrado del contenido */
.checkout {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
}

    /* Tarjeta principal */
    .checkout .card {
        border-radius: 12px;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        background-color: #fff;
    }

    /* Icono de éxito */
    .checkout svg {
        display: block;
        margin: 0 auto;
    }

    /* Título principal */
    .checkout h2 {
        font-weight: 700;
        color: #16a34a; /* verde éxito */
    }

    /* Texto descriptivo */
    .checkout p.text-muted {
        font-size: 1.05rem;
    }

    /* Bloques de información (importe, fecha, referencia) */
    .checkout .p-3.bg-light {
        border-radius: 8px;
        background-color: #f3f4f6 !important;
        border: 1px solid #e5e7eb;
    }

    .checkout .small.text-muted {
        font-size: 0.85rem;
    }

    .checkout .fs-5,
    .checkout .fs-6 {
        color: #111827;
    }

    /* Código de referencia */
    .checkout code {
        font-size: 0.9rem;
        color: #374151;
        background-color: #e5e7eb;
        padding: 3px 6px;
        border-radius: 4px;
        word-break: break-all;
    }

    /* Botón principal */
    .checkout .btn-primary {
        font-size: 1rem;
        font-weight: 600;
        padding: 0.6rem 1.5rem;
        border-radius: 8px;
    }

    /* Botón copiar */
    .checkout .btn-outline-secondary {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
    }

    /* Link volver */
    .checkout a.link-secondary {
        font-size: 0.9rem;
        text-decoration: none;
    }

        .checkout a.link-secondary:hover {
            text-decoration: underline;
        }

/* Responsive para móviles */
@media (max-width: 576px) {
    .checkout h2 {
        font-size: 1.5rem;
    }

    .checkout p.text-muted {
        font-size: 0.95rem;
    }
}
