/* Apsiport giriş ekranı; panel stillerinden bağımsızdır. */
:root {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #2d2b42;
    background: #f5f5f9;
    font-synthesis: none;
    --accent: #7963dc;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; min-height: 100svh; padding: max(40px, calc((100svh - 680px) / 2)) 24px 40px; line-height: 1.5; }
/* İkon fontu yüklenirken satır ve düğme ölçüleri değişmesin. */
.fe { display: inline-block; width: 1em; height: 1em; line-height: 1; flex-shrink: 0; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 10% 8%, #eae5fa 0, transparent 40%), radial-gradient(ellipse at 95% 95%, #e8ebf7 0, transparent 40%); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #bcaef1; outline-offset: 4px; }
[hidden] { display: none !important; }

.login-shell { position: relative; margin-inline: auto; width: min(1080px, 100%); min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #fff; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 25px 80px #24233812, 0 4px 14px #24233806; }
.brand-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 44px 46px 30px; color: white; background: radial-gradient(ellipse at 90% 95%, #6350a9a8, transparent 60%), linear-gradient(145deg, #222136, #302b4f); }
.brand-panel::after { content: ""; position: absolute; width: 310px; height: 310px; border: 1px solid #ffffff06; border-radius: 50%; right: -170px; top: -160px; }
.wordmark { display: inline-flex; align-items: center; align-self: flex-start; color: inherit; font-size: 32px; font-weight: 750; letter-spacing: -1.5px; text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 35px; height: 39px; margin-right: 9px; font-size: 24px; color: #c8b9ff; border-radius: 11px; background: #ffffff0b; }
.brand-point { color: #a990f1; }
.brand-story { position: relative; z-index: 1; margin-top: 65px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #c7bedb; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; }
.eyebrow > span { width: 5px; height: 5px; background: #b49de9; border-radius: 50%; box-shadow: 0 0 0 4px #b49de911; }
h1 { margin: 22px 0 17px; font-size: clamp(27px, 3vw, 38px); line-height: 1.32; font-weight: 600; letter-spacing: -1.3px; }
h1 em { font-style: normal; color: #c2adff; }
.brand-story p { margin: 0; font-size: 13px; line-height: 1.9; color: #bcb6cf; }
.brand-footer { display: flex; align-items: center; gap: 12px; margin-top: auto; position: relative; z-index: 1; font-size: 10px; color: #b7accd; }
.footer-line { width: 24px; height: 1px; background: #b7accd73; }

/* Kod ile çizilen apartman silüeti; harici görsel bağımlılığı yoktur. */
.neighborhood { position: relative; height: 238px; margin: 20px -10px 22px; isolation: isolate; }
.scene-orbit { position: absolute; border: 1px solid #c3b0ff14; border-radius: 50%; z-index: -1; }
.orbit-one { width: 264px; height: 264px; left: 66px; top: 0; }
.orbit-two { width: 340px; height: 340px; left: 28px; top: -38px; }
.scene-sun { position: absolute; left: 286px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #d5bbff70, #d5bbff0a); box-shadow: 0 0 30px #ad83f816; }
.building { position: absolute; bottom: 36px; border: 1px solid #c8b5ff38; border-bottom: 0; border-radius: 5px 5px 0 0; background: linear-gradient(150deg, #7561aa65, #493b6a); box-shadow: 8px 2px 0 #1c172b18; }
.building-left { left: 52px; width: 83px; height: 107px; }
.building-center { left: 148px; width: 106px; height: 157px; background: linear-gradient(155deg, #ae90e794, #6c528e85); }
.building-right { left: 267px; width: 79px; height: 121px; }
.roof { position: absolute; left: 9px; right: 9px; top: -9px; height: 9px; border: 1px solid #c8b5ff38; border-bottom: 0; background: #755f9c; border-radius: 3px 3px 0 0; }
.windows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 15px; padding: 15px 17px; }
.building-center .windows { grid-template-columns: repeat(3, 1fr); padding: 20px 16px; gap: 14px; }
.windows b { width: 10px; height: 15px; border-radius: 2px; border: 1px solid #e3d1ff30; background: #d5b7ff43; }
.windows b:nth-child(3n) { background: #f9deb17a; box-shadow: 0 0 10px #f9deb119; }
.door { position: absolute; bottom: 0; left: 43px; width: 20px; height: 34px; border: 1px solid #e3d1ff40; border-radius: 10px 10px 0 0; background: #2d263d7d; }
.ground-line { position: absolute; bottom: 35px; left: 16px; right: 16px; height: 1px; background: linear-gradient(90deg, transparent, #cbb4ff60, transparent); }
.tree { position: absolute; bottom: 36px; width: 23px; height: 48px; border-radius: 50% 50% 40% 40%; background: #837ca968; border: 1px solid #c3b0ff27; }
.tree::after { content: ""; position: absolute; width: 1px; height: 33px; background: #c3b0ff5a; left: 10px; top: 21px; }
.tree-left { left: 20px; }
.tree-right { right: 23px; height: 60px; }
.scene-note { position: absolute; display: flex; align-items: center; gap: 8px; left: 113px; bottom: 15px; padding: 10px 14px; font-size: 10px; border: 1px solid #c6b6f12e; background: #49405fe8; backdrop-filter: blur(12px); border-radius: 9px; box-shadow: 0 7px 20px #17122520; }
.scene-note > span { display: grid; place-items: center; width: 19px; height: 19px; background: #c4b5f423; border-radius: 50%; color: #ddceff; }

.form-panel { display: flex; flex-direction: column; padding: 42px 52px 28px; }
.workspace-label { display: flex; align-items: center; justify-content: flex-end; gap: 7px; font-size: 9px; font-weight: 600; letter-spacing: 1.15px; color: #9690a5; }
.workspace-label > span { width: 5px; height: 5px; border-radius: 50%; background: #9b88d8; }
.login-content { margin: auto 0; padding: 38px 0 34px; }
.welcome-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f0ecfc; color: var(--accent); font-size: 19px; margin-bottom: 24px; }
h2 { font-size: 28px; font-weight: 650; letter-spacing: -1px; margin: 0 0 10px; }
h2 > span { color: var(--accent); }
.form-intro { margin: 0 0 32px; font-size: 12px; color: #8e899c; line-height: 1.7; }
.field-group { margin-bottom: 20px; }
.field-group > label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 600; color: #514c65; }
.field-group .select2-container .select2-selection--single {
    height: 49px;
    border: 1px solid #e7e4ef;
    border-radius: 9px;
    background: #fbfaff;
}
.field-group .select2-container .select2-selection__rendered {
    line-height: 47px;
    padding-left: 15px;
    color: #342f48;
    font-size: 13px;
}
.field-group .select2-container .select2-selection__arrow { height: 47px; }
.select2-results__option { font-size: 13px; padding: 12px 15px; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 15px; top: 17px; font-size: 16px; color: #aca5bd; pointer-events: none; }
.input-wrap > input { width: 100%; height: 49px; padding: 0 44px; border: 1px solid #e7e4ef; border-radius: 9px; background: #fbfaff; color: #342f48; font-size: 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input-wrap > input::placeholder { color: #b3adbf; }
.input-wrap > input:focus { border-color: #a38de8; box-shadow: 0 0 0 3px #7963dc12; background: white; }
.input-wrap > input[aria-invalid="true"] { border-color: #d86879; }
.field-error { display: block; color: #bb4258; font-size: 11px; margin-top: 6px; }
.field-error:empty { display: none; }
.password-toggle { position: absolute; right: 6px; top: 6px; width: 37px; height: 37px; display: grid; place-items: center; border: none; background: transparent; color: #9e96b4; border-radius: 6px; font-size: 16px; }
.password-toggle:hover { background: #f0ebfb; color: var(--accent); }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0; font-size: 11px; }
.remember { display: inline-flex; align-items: center; gap: 8px; color: #857d95; cursor: pointer; }
.remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.text-button { border: 0; padding: 0; background: none; color: var(--accent); font-size: 11px; font-weight: 600; }
.text-button:hover { text-decoration: underline; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 49px; border: 1px solid transparent; border-radius: 9px; background: linear-gradient(105deg, #8067df, #7155d2); color: white; font-size: 13px; font-weight: 600; box-shadow: 0 7px 15px #7a60d626; transition: box-shadow .15s, transform .15s; }
.submit-button:hover { box-shadow: 0 9px 20px #7a60d63d; transform: translateY(-1px); }
.submit-button:active { transform: translateY(0); }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 26px; font-size: 10px; color: #b0a9be; }
.secure-note i { font-size: 13px; color: #a799c5; }
.help-message, .form-status { padding: 12px; border: 1px solid #e6def9; background: #f6f2fd; color: #796a93; border-radius: 8px; font-size: 11px; line-height: 1.7; }
.form-status { margin: 14px 0 0; }
.form-footer { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #aaa3b9; }

@media (max-width: 950px) {
    .brand-panel { padding: 38px 30px 28px; }
    .form-panel { padding: 38px 32px 26px; }
    .scene-note { left: 65px; }
    .neighborhood { margin-left: -30px; margin-right: -30px; transform: scale(.9); }
    .brand-story p { font-size: 12px; }
    .desktop-break { display: none; }
    h2 { font-size: 25px; }
}

@media (max-width: 700px) {
    body { padding: 20px 14px; }
    .login-shell { display: flex; flex-direction: column; max-width: 460px; min-height: 0; border-radius: 16px; }
    .brand-panel { padding: 24px 28px 27px; }
    .wordmark { font-size: 27px; }
    .brand-icon { width: 30px; height: 32px; font-size: 21px; }
    .brand-story { margin-top: 28px; }
    .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
    h1 { margin: 14px 0 10px; font-size: 28px; }
    .brand-story p { max-width: 310px; }
    .neighborhood, .brand-footer { display: none; }
    .form-panel { padding: 28px; }
    .workspace-label { justify-content: flex-start; font-size: 8px; }
    .login-content { padding: 24px 0 30px; }
    .welcome-icon { display: none; }
    h2 { font-size: 26px; }
    .form-intro { margin-bottom: 26px; }
    .form-footer { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
