/* ============================================================
   Booking Confirmation — Página de éxito de pago
   Shortcode: [booking_confirmation]
   ============================================================ */

.bconf-wrap {
    font-family: 'Arial', sans-serif;
    max-width: 740px;
    margin: 60px auto;
    padding: 48px 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Icono de check animado */
.bconf-icon {
    width: 80px;
    height: 80px;
    background: #154D52;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    animation: bconf-pulse 2s infinite;
}

.bconf-icon::after {
    content: '✓';
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

@keyframes bconf-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(21, 77, 82, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(21, 77, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 77, 82, 0); }
}

/* Título dinámico */
.bconf-title {
    color: #134a9e;
    font-size: 24px;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.4;
}

/* Nombre del tour subrayado (inyectado por JS) */
.bconf-tour-name {
    text-decoration: underline;
}

/* Loading spinner */
.bconf-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    height: 80px;
    color: #555;
}

.bconf-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #eee;
    border-top-color: #134a9e;
    border-radius: 50%;
    animation: bconf-spin 0.9s linear infinite;
    flex-shrink: 0;
}

@keyframes bconf-spin {
    to { transform: rotate(360deg); }
}

/* Cuerpo del mensaje */
.bconf-body {
    max-width: 675px;
    margin: 0 auto;
    text-align: left;
}

.bconf-message {
    font-size: 20px;
    max-width: 675px;
    margin-bottom: 32px;
    color: #333;
    line-height: 1.6;
}

.bconf-message a {
    color: #134a9e;
    text-decoration: none;
}

.bconf-message a:hover {
    text-decoration: underline;
}

.bconf-regards {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.bconf-company {
    color: #134a9e;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

/* Error */
.bconf-error {
    background: #fff0f0;
    color: #d32f2f;
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
    margin: 20px 0;
    text-align: left;
}

/* Botones */
.bconf-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.bconf-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Botón "Download your Invoice" */
.bconf-btn--invoice {
    background: #6f1321;
    color: #fff;
}

.bconf-btn--invoice:hover {
    background: #5a0f1b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 19, 33, 0.35);
}

/* Responsive */
@media (max-width: 640px) {
    .bconf-wrap {
        margin: 20px;
        padding: 28px 18px;
    }

    .bconf-title {
        font-size: 20px;
    }

    .bconf-message {
        font-size: 17px;
    }

    .bconf-btn {
        width: 100%;
    }
}
