.thank-page-body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(12, 37, 88, 0.06) 0%, rgba(12, 37, 88, 0) 34%),
        radial-gradient(circle at 8% 10%, rgba(13, 110, 253, 0.12), transparent 36%),
        radial-gradient(circle at 94% 14%, rgba(10, 26, 68, 0.08), transparent 32%),
        #f7f9fe;
}

.thank-main {
    padding: calc(var(--header-offset) + 22px) 0 64px;
}

.thank-wrap {
    max-width: 1140px;
}

.thank-card,
.thank-side {
    border-radius: 18px;
    border: 1px solid rgba(10, 26, 68, 0.1);
}

.thank-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(10, 26, 68, 0.08);
    padding: clamp(1.35rem, 2.5vw, 2rem);
}

.thank-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd 0%, #163a84 100%);
}

.thank-side {
    background: linear-gradient(170deg, #0a1a44 0%, #0f2f71 100%);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(10, 26, 68, 0.22);
    padding: clamp(1.15rem, 2vw, 1.5rem);
    height: 100%;
}

.thank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.24);
    color: #123c8d;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0.82rem;
    letter-spacing: 0.02em;
}

.thank-icon {
    display: none;
}

.thank-icon i {
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.thank-title {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.25;
    color: #0a1a44;
    margin-bottom: 0.62rem;
}

.thank-lead {
    color: #38527d;
    line-height: 1.68;
    margin-bottom: 0.92rem;
}

.thank-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.05rem;
    border-radius: 10px;
    padding: 0.52rem 0.72rem;
    border: 1px dashed rgba(10, 26, 68, 0.22);
    background: rgba(10, 26, 68, 0.04);
    color: #274577;
    font-size: 0.92rem;
    font-weight: 600;
}

.thank-points {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.58rem;
}

.thank-points li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.52rem;
    align-items: start;
    border: 1px solid rgba(10, 26, 68, 0.08);
    background: #f8fbff;
    border-radius: 10px;
    padding: 0.58rem 0.62rem;
    color: #2f4770;
    line-height: 1.45;
}

.thank-points i {
    color: #0d6efd;
    margin-top: 0.08rem;
}

.thank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.thank-actions .btn {
    border-radius: 999px;
    font-weight: 700;
    padding-inline: 1.2rem;
}

.thank-side h2 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
}

.thank-side p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}

.thank-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.56rem 0.72rem;
    margin-bottom: 0.56rem;
}

.thank-contact-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.thank-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    margin: 0.85rem 0 0.95rem;
}

.thank-side .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: transparent;
    font-weight: 700;
}

.thank-side .btn-outline-primary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #0a1a44;
}

html[dir="rtl"] .thank-badge,
html[dir="rtl"] .thank-meta,
html[dir="rtl"] .thank-contact-link {
    flex-direction: row-reverse;
}

html[dir="rtl"] .thank-points li {
    grid-template-columns: 1fr auto;
}

@media (max-width: 991.98px) {
    .thank-main {
        padding: calc(var(--header-offset) + 14px) 0 52px;
    }
}

@media (max-width: 575.98px) {
    .thank-card,
    .thank-side {
        border-radius: 14px;
    }

    .thank-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
