:root {
    --navy: #082e5c;
    --navy-dark: #051f40;
    --red: #d10a11;
    --ink: #092a50;
    --muted: #64748b;
    --line: #dce6ef;
    --green: #168463;
    --shadow: 0 22px 60px rgba(8, 46, 92, .13)
}

* {
    box-sizing: border-box
}

html {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #f8fbfe
}

body {
    margin: 0;
    min-height: 100vh;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.28),
            rgba(255, 255, 255, 0.28)
        ),
        url("../images/istanbul-v2.png");

    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

a {
    color: var(--navy)
}

.site-header {
    height: 104px;
    padding: 0 max(28px, calc((100vw - 1180px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 3
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--navy)
}

.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain
}

.brand strong,
.brand small {
    display: block
}

.brand strong {
    font-weight: 900;
    font-size: 19px
}

.brand small {
    margin-top: 4px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase
}

.header-help {
    text-align: right;
    font-size: 13px
}

.header-help span,
.header-help a {
    display: block
}

.header-help span {
    color: var(--muted);
    margin-bottom: 4px
}

.header-help a {
    font-weight: 800;
    text-decoration: none
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 90px;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    position: relative;
    z-index: 1
}

.intro-panel {
    position: sticky;
    top: 30px;
      padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.eyebrow {
    display: block;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 15px
}

.intro-panel h1 {
    font: 900 clamp(33px, 4vw, 50px)/1.04 Inter, "Segoe UI", Arial, sans-serif;
    margin: 0 0 18px;
    color: var(--navy);
    letter-spacing: -.035em
}

.intro-panel h1:after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: var(--red);
    margin-top: 22px;
    border-radius: 4px
}

.intro-panel p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0
}

.stepper {
    margin-top: 42px;
    display: grid
}

.step {
    min-height: 65px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: start;
    gap: 12px;
    color: #96a4b3;
    position: relative
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    left: 18px;
    top: 38px;
    height: 27px;
    border-left: 2px solid #d8e2ec
}

.step span {
    width: 38px;
    height: 38px;
    border: 1px solid #cbd7e2;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-size: 13px;
    font-weight: 800
}

.step strong {
    padding-top: 10px;
    font-size: 14px
}

.step.active {
    color: var(--navy)
}

.step.active span {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 7px 20px rgba(8, 46, 92, .22)
}

.step.complete {
    color: var(--green)
}

.step.complete span {
    background: var(--green);
    color: #fff;
    border-color: var(--green)
}

.form-card {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(8, 46, 92, .1);
    border-radius: 22px;
    padding: 38px 44px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px)
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line)
}

.card-heading>div {
    display: flex;
    gap: 14px;
    align-items: center
}

.card-heading h2 {
    font-size: 25px;
    font-weight: 900;
    margin: 0;
    color: var(--navy)
}

.card-heading p {
    max-width: 310px;
    text-align: right;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    margin: 4px 0
}

.section-no {
    font-size: 11px;
    color: var(--red);
    font-weight: 900;
    border: 1px solid rgba(227, 6, 19, .25);
    padding: 6px;
    border-radius: 5px
}

.question-block {
    border: 0;
    margin: 0;
    padding: 29px 0;
    border-bottom: 1px solid var(--line)
}

.question-block legend {
    font-weight: 800;
    line-height: 1.5;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--navy)
}

.question-number {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: var(--red);
    background: #fff0f1;
    border-radius: 50%;
    font-size: 12px
}

.field-label,
.form-field>span {
    display: block;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 18px 0 8px;
    color: var(--navy)
}

select,
input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cbd7e2;
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
    font: inherit;
    color: var(--ink);
    outline: none
}

select:focus,
input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(8, 46, 92, .08)
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 17px
}

.choice-card {
    padding: 18px;
    border: 1px solid #d5e0e9;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    cursor: pointer;
    transition: .2s;
    background: #fff
}

.choice-card:hover,
.choice-card.selected {
    border-color: var(--navy);
    background: #f4f8fc;
    box-shadow: 0 8px 22px rgba(8, 46, 92, .07)
}

.choice-card input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.radio-ui {
    width: 20px;
    height: 20px;
    border: 1px solid #9aabba;
    border-radius: 50%;
    margin-top: 1px
}

.choice-card input:checked+.radio-ui {
    border: 6px solid var(--red)
}

.choice-card strong,
.choice-card small {
    display: block
}

.choice-card strong {
    color: var(--navy)
}

.choice-card small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
    margin-top: 5px
}

.question-help {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    margin: 10px 0 0 39px
}

.field-error {
    display: block;
    color: #b4233c;
    margin-top: 7px;
    font-size: 12px
}

.invalid {
    border-color: #b4233c
}

.alert {
    border-radius: 10px;
    padding: 16px 18px;
    margin: 24px 0 0;
    display: grid;
    gap: 5px;
    font-size: 13px;
    line-height: 1.5
}

.alert-error {
    background: #fff0f2;
    border: 1px solid #f0b8c1;
    color: #831c31
}

.global-alert {
    width: min(1180px, calc(100% - 40px));
    margin: 18px auto -20px;
    padding: 13px 18px;
    border-radius: 8px;
    background: #eaf5ff;
    color: var(--navy);
    border: 1px solid #c9e2f8
}

.form-actions {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.form-actions p {
    font-size: 11px;
    color: var(--muted);
    margin: 0
}

.lock-icon {
    color: var(--green);
    font-size: 8px
}

.primary-button,
.secondary-button {
    min-height: 52px;
    border-radius: 10px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-decoration: none;
    cursor: pointer;
    transition: .2s
}

.primary-button {
    border: 0;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 9px 22px rgba(8, 46, 92, .22)
}

.primary-button:hover {
    background: var(--navy-dark);
    transform: translateY(-1px)
}

.secondary-button {
    border: 1px solid #ccd8e2;
    color: var(--navy);
    background: #fff
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    padding-top: 10px
}

.form-field {
    display: block
}

.password-hint {
    font-size: 11px;
    color: var(--muted);
    margin: 8px 0 25px
}

.consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    font-size: 12px;
    line-height: 1.55;
    background: #f7fafc
}

.consent-row input {
    width: 18px;
    min-height: 18px;
    margin: 2px 0;
    accent-color: var(--red)
}

.site-footer {
    min-height: 82px;
    border-top: 1px solid rgba(8, 46, 92, .12);
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
    position: relative;
    z-index: 2
}

.site-footer nav {
    display: flex;
    gap: 22px
}

.site-footer a {
    color: var(--muted);
    text-decoration: none
}

.verification-shell {
    width: min(900px, calc(100% - 36px));
    margin: 42px auto 100px;
    position: relative;
    z-index: 1;
}

.verification-card {
    min-height: 500px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(8, 46, 92, .1);
    border-radius: 22px;
    padding: 62px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

/* Yalnızca giriş kartı */
.verification-card.login-card {
    width: min(600px, 100%);
    min-height: auto;
    margin: 0 auto;
    padding: 52px 42px;
}





.verification-card h1 {
    font: 900 clamp(31px, 5vw, 42px)/1.1 Inter, "Segoe UI", Arial, sans-serif;
    margin: 0 0 14px;
    color: var(--navy);
    letter-spacing: -.03em
}

.verification-card>p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 620px
}

.success-mark {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    background: var(--navy);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 12px 28px rgba(8, 46, 92, .2)
}

.verification-form {
    width: min(420px, 100%);
    margin: 0 auto
}

.verification-form label {
    display: block;
    text-align: left;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--navy)
}

.code-input {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .28em;
    height: 62px;
    margin-bottom: 16px
}

.verification-form .primary-button {
    width: 100%
}

.verification-alert {
    width: min(420px, 100%);
    margin: 0 auto 18px
}

.resend-form {
    margin-top: 16px
}

.text-button {
    border: 0;
    background: none;
    color: var(--red);
    font-weight: 800;
    cursor: pointer;
    padding: 8px
}

.back-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none
}

.demo-code {
    width: min(420px, 100%);
    margin: 0 auto 22px;
    padding: 12px 18px;
    border: 1px dashed #9ab7d0;
    border-radius: 10px;
    background: #f0f7fd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--navy)
}

.demo-code span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em
}

.demo-code strong {
    font-size: 19px;
    letter-spacing: .12em
}

.login-card {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 62px
}

.login-card>.eyebrow {
    margin-bottom: 18px
}

.login-card>p {
    margin-bottom: 28px
}

.login-form {
    width: min(620px, 100%);
    margin: 0 auto;
    text-align: left
}

.login-field {
    margin-bottom: 20px
}

.login-field label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy)
}

.login-field input {
    display: block;
    margin: 0
}

.login-options {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 22px
}

.login-options a {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy)
}

.login-button {
    display: flex;
    width: 100%;
    margin: 0;
    min-height: 54px
}

.login-card>.account-link {
    margin: 22px auto 0;
    font-size: 14px;
    color: var(--ink)
}

.account-link a {
    font-weight: 700;
    color: var(--navy)
}


@media (max-width: 640px) {
    .verification-shell {
        width: calc(100% - 24px);
        margin: 24px auto 60px;
    }

    .verification-card.login-card {
        padding: 40px 22px;
        border-radius: 18px;
    }
}


@media(max-width:850px) {
    body {
        background-size: auto 360px
    }

    .site-header {
        height: auto;
        padding: 15px 20px
    }

    .brand-logo {
        width: 58px;
        height: 58px
    }

    .brand strong {
        font-size: 16px
    }

    .header-help {
        display: none
    }

    .page-shell {
        grid-template-columns: 1fr;
        margin-top: 18px;
        gap: 15px
    }

    .intro-panel {
        position: static;
        padding: 15px 3px
    }

    .intro-panel h1 {
        font-size: 35px
    }

    .stepper {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 28px
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 4px
    }

    .step:not(:last-child):after {
        left: calc(50% + 20px);
        top: 18px;
        width: calc(100% - 40px);
        height: 0;
        border-left: 0;
        border-top: 1px solid #d8e2ec
    }

    .step strong {
        padding-top: 2px
    }

    .form-card {
        padding: 28px 22px
    }

    .card-heading {
        display: block
    }

    .card-heading p {
        text-align: left
    }

    .choice-grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid>div:empty {
        display: none
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column-reverse
    }

    .form-actions .primary-button,
    .form-actions .secondary-button {
        width: 100%
    }

    .form-actions p {
        align-self: center
    }

    .site-footer {
        padding: 25px 0;
        display: grid;
        gap: 14px
    }

    .site-footer nav {
        flex-wrap: wrap
    }

    .verification-card {
        padding: 45px 22px
    }


.form-alert {
    width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.form-alert-error {
    color: #991b1b;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.form-alert-error::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #fff;
    background-color: #dc2626;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}
    
}