/* =========================================================
   GUEST PAGE
   layout.css icine ekle
========================================================= */

.guest-page {
    position: relative;
    padding: 42px 0 72px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.05), transparent 26%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.05), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.guest-page .container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.guest-page__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 28px;
    align-items: stretch;
}

.guest-page__intro,
.guest-page__card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.guest-page__intro {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.02)),
        #ffffff;
}

.guest-page__intro::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #2563eb, #0ea5e9);
}

.guest-page__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.guest-page__intro h1 {
    margin: 18px 0 14px;
    max-width: 760px;
    color: #0f172a;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.guest-page__intro p {
    margin: 0;
    max-width: 720px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.guest-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.guest-page__card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.guest-page__card-head {
    margin-bottom: 20px;
}

.guest-page__card-head h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.guest-page__card-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.75;
}

.guest-page__alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.65;
    font-weight: 700;
}

.guest-page__alert--error {
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.16);
    background: rgba(220, 38, 38, 0.08);
}

.guest-page__form {
    display: grid;
    gap: 16px;
}

.guest-page__form .form-group {
    margin-bottom: 0;
}

.guest-page__form label {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
}

.guest-page__form input,
.guest-page__form select {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.guest-page__form input:hover,
.guest-page__form select:hover {
    border-color: #cbd5e1;
    background: #fcfdff;
}

.guest-page__form input:focus,
.guest-page__form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    background: #ffffff;
}

.guest-page__form select {
    appearance: none;
    padding-right: 48px;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 2px),
        calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.guest-page__form input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.guest-page__form .form-actions {
    margin-top: 4px;
}

.guest-page__form .btn {
    min-height: 54px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 800;
}

.guest-page__note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.75;
}

/* button patch - guest page only */
.guest-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.guest-page .btn:hover {
    transform: translateY(-2px);
}

.guest-page .btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.20);
}

.guest-page .btn--soft {
    color: #0f172a;
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.guest-page .btn--light {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.12);
}

.guest-page .btn--block {
    width: 100%;
}

/* responsive */
@media (max-width: 1120px) {
    .guest-page__wrap {
        grid-template-columns: 1fr;
    }

    .guest-page__intro {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .guest-page {
        padding: 24px 0 48px;
    }

    .guest-page .container {
        width: min(100% - 24px, 1400px);
    }

    .guest-page__intro,
    .guest-page__card {
        padding: 20px;
        border-radius: 22px;
    }

    .guest-page__intro h1 {
        font-size: 2rem;
    }

    .guest-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-page__actions .btn {
        width: 100%;
    }
}
