/* ================================================================
   Thank You Page  (templates/thank-you.php)
   ================================================================ */

.ty-page {
    position: relative;
    min-height: 571px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c8d0d8;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 60px 40px;
}

/* Light desaturated overlay — keeps photo visible but muted */
.ty-page__overlay {
    position: absolute;
    inset: 0;
    background: rgba(200, 210, 220, 0.55);
    z-index: 1;
}

/* ---- Inner layout ------------------------------------------------ */
.ty-page__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1200px;
    width: 100%;
}

/* ---- Checkmark circle ------------------------------------------- */
.ty-page__check {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    line-height: 0;
}

.ty-page__check svg {
    width: 100%;
    height: 100%;
}

/* ---- Content ---------------------------------------------------- */
.ty-page__content {
    flex: 1;
    min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ty-page__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
	text-align: center;
}

.ty-page__desc {
    font-size: 16px;
    color: var(--color-text-primary);
    line-height: 1.65;
    margin-bottom: 28px;
	text-align: center;
}

.ty-page__check-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.ty-page__fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    max-width: 420px;
	width: 100%;
}

.ty-page__field {
    background: rgba(255,255,255, 0.72) !important;
    cursor: default;
    pointer-events: none;
}

.ty-page__btn {
    display: inline-flex;
    width: 100%;
	max-width: 420px;
    justify-content: center;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 768px) {
    .ty-page {
        padding: 48px 20px 60px;
        align-items: flex-start;
        justify-content: flex-start;
		min-height: auto;
    }

    /* Large circle as background watermark on mobile */
    .ty-page__inner {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .ty-page__check {
        position: absolute;
        bottom: -20px;
        left: -20px;
        width: 220px;
        height: 220px;
        opacity: 0.18;
        pointer-events: none;
    }

    .ty-page__content {
        position: relative;
        z-index: 3;
    }

    .ty-page__title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .ty-page__desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .ty-page__fields {
        max-width: 100%;
    }

    .ty-page__btn {
        width: 100%;
        min-width: 0;
    }
}
