/**
 * OATV Checkout — Bókun + ONVO
 * Version: 1.3.1
 * Author: Franck Esquivel
 * Author URI: https://mercadeo8020.com
 *
 * Estilos externos para componentes visuales.
 */

/* Página de gracias */
.oatv-thankyou-wrap {
    width: 100%;
    max-width: 920px;
    margin: 42px auto;
    padding: 18px;
    font-family: inherit;
    color: #172033;
}

.oatv-thankyou-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.oatv-thankyou-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.65), transparent 45%);
}

.oatv-thankyou-hero {
    position: relative;
    z-index: 1;
    padding: 42px 42px 26px;
    text-align: center;
}

.oatv-thankyou-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 18px 34px rgba(34, 197, 94, 0.32);
}

.oatv-thankyou-card.is-processing .oatv-thankyou-icon {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.oatv-thankyou-card.is-pending-review .oatv-thankyou-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 18px 34px rgba(245, 158, 11, 0.28);
}

.oatv-thankyou-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #1d5fd1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.oatv-thankyou-hero h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    font-weight: 900;
}

.oatv-thankyou-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: #526173;
    font-size: 18px;
    line-height: 1.65;
}

.oatv-thankyou-status {
    position: relative;
    z-index: 1;
    margin: 0 42px 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.oatv-thankyou-status span {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    font-weight: 700;
}

.oatv-thankyou-status strong {
    font-size: 18px;
    text-align: right;
}

.oatv-thankyou-grid {
    position: relative;
    z-index: 1;
    padding: 0 42px 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.oatv-thankyou-item {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5edf7;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.oatv-thankyou-item span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.oatv-thankyou-item strong {
    display: block;
    color: #111827;
    font-size: 17px;
    line-height: 1.35;
    word-break: break-word;
}

.oatv-thankyou-total {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.oatv-thankyou-total strong {
    font-size: 30px;
    color: #0f172a;
}

.oatv-thankyou-footer {
    position: relative;
    z-index: 1;
    padding: 20px 42px 38px;
    border-top: 1px solid #e5edf7;
    text-align: center;
}

.oatv-thankyou-footer p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .oatv-thankyou-wrap {
        margin: 20px auto;
        padding: 10px;
    }

    .oatv-thankyou-card {
        border-radius: 22px;
    }

    .oatv-thankyou-hero {
        padding: 30px 22px 22px;
    }

    .oatv-thankyou-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .oatv-thankyou-hero p {
        font-size: 16px;
    }

    .oatv-thankyou-status {
        margin: 0 18px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .oatv-thankyou-status strong {
        text-align: left;
    }

    .oatv-thankyou-grid {
        grid-template-columns: 1fr;
        padding: 0 18px 26px;
    }

    .oatv-thankyou-total {
        grid-column: auto;
    }

    .oatv-thankyou-total strong {
        font-size: 24px;
    }

    .oatv-thankyou-footer {
        padding: 18px 22px 28px;
    }
}

/* v1.9.6 Pick-up and policy fields */
.oatv-pickup-box,
.oatv-policy-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}
.oatv-pickup-box label,
.oatv-policy-box label {
  display: block;
  margin-top: 12px;
}
.oatv-pickup-box select,
.oatv-pickup-box input {
  width: 100%;
}
.oatv-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.oatv-check input[type="checkbox"] {
  width: auto !important;
}
