/* Bağımsız MEBİ giriş tasarımı. React, Next.js, Tailwind veya CDN gerektirmez. */
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Rubik, Arial, sans-serif; color: #182230; background: #eef4fb; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #84adff; outline-offset: 4px; }
[hidden] { display: none !important; }
.login-page { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 32px 16px; overflow: hidden; isolation: isolate; }
.login-page::before { content: ''; position: absolute; z-index: -2; inset: 0; background: url('../images/mebi_logo_pattern.svg') repeat; background-size: 360px; opacity: .035; }
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.ambient-blue { top: -120px; left: -96px; width: 360px; height: 360px; background: rgb(21 94 239 / 10%); }
.ambient-teal { right: -96px; bottom: -128px; width: 420px; height: 420px; background: rgb(8 169 181 / 10%); }
.login-card { display: grid; width: 100%; max-width: 980px; overflow: hidden; border: 1px solid rgb(255 255 255 / 80%); border-radius: 24px; background: #fff; box-shadow: 0 24px 80px -32px rgb(16 24 40 / 35%); }
.brand-panel { display: none; position: relative; overflow: hidden; min-height: 620px; padding: 48px; background: #101c3d; color: #fff; }
.brand-orb { position: absolute; border-radius: 50%; }
.brand-orb-blue { top: -80px; right: -80px; width: 260px; height: 260px; background: #155eef; }
.brand-orb-teal { top: 112px; right: -48px; width: 120px; height: 120px; background: #08a9b5; }
.brand-logo { position: relative; display: block; width: 112px; height: auto; }
.brand-copy { position: relative; max-width: 390px; }
.brand-eyebrow { margin: 0 0 16px; color: #a9c6ff; font-size: 13px; font-weight: 700; line-height: 20px; letter-spacing: .18em; text-transform: uppercase; }
.brand-heading { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.15; }
.brand-description { margin: 20px 0 0; font-size: 15px; line-height: 28px; color: #d7e2fa; }
.ministry { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: 12px; line-height: 18px; color: #c8d5ef; }
.ministry img { flex-shrink: 0; }
.form-panel { display: flex; flex-direction: column; justify-content: center; min-height: 580px; padding: 40px 24px; }
.mobile-logo { display: block; width: 96px; height: auto; margin: 0 0 40px; }
.form-heading { margin-bottom: 32px; }
.form-eyebrow { margin: 0; color: #155eef; font-size: 13px; font-weight: 700; line-height: 20px; letter-spacing: .14em; text-transform: uppercase; }
.form-heading h2 { margin: 8px 0 0; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.02em; color: #101828; }
.form-description { margin: 8px 0 0; font-size: 14px; line-height: 24px; color: #667085; }
.login-options { display: flex; flex-direction: column; gap: 12px; }
.role-form { margin: 0; }
.role-button { display: flex; width: 100%; align-items: center; gap: 12px; border: 1px solid #e4e7ec; border-radius: 12px; padding: 14px 16px; background: #fff; color: #101828; text-align: left; text-decoration: none; transition: border-color .15s, background .15s; }
.role-button:hover { border-color: #155eef; background: #f5f8ff; }
.role-icon { display: flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border-radius: 10px; background: #eff4ff; color: #155eef; }
.role-copy { flex: 1; min-width: 0; }
.role-label { display: block; font-size: 14px; line-height: 20px; font-weight: 700; }
.role-description { display: block; margin-top: 2px; font-size: 12px; line-height: 20px; color: #667085; }
.role-arrow { flex-shrink: 0; color: #98a2b3; }
.role-button:hover .role-arrow { color: #155eef; }
.home-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 20px; border: 1px solid #e4e7ec; border-radius: 10px; padding: 10px 12px; background: #f9fafb; text-decoration: none; color: #475467; font-size: 13px; font-weight: 600; }
.home-link:hover { background: #f2f4f7; color: #155eef; }
.legal-note { margin: 28px 0 0; text-align: center; font-size: 12px; line-height: 20px; color: #98a2b3; }
.message { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #fecdca; border-radius: 9px; font-size: 13px; line-height: 20px; font-weight: 500; background: #fef3f2; color: #b42318; }
.message-info { border-color: #b2ccff; background: #eff4ff; color: #1849a9; }
.credentials { margin-top: 24px; border: 1px dashed #d0d5dd; border-radius: 12px; background: #f9fafb; padding: 16px; }
.credentials summary { cursor: pointer; color: #475467; font-size: 13px; line-height: 20px; font-weight: 600; }
.credentials-description { margin: 12px 0 16px; color: #667085; font-size: 12px; line-height: 20px; }
.credential-form { display: flex; flex-direction: column; gap: 20px; }
.field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; line-height: 20px; color: #344054; }
.field-select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 10px; color: #101828; background: #fff; font-size: 14px; }
.field-input-wrap { display: flex; align-items: center; height: 48px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; }
.field-input-wrap:focus-within { border-color: #155eef; box-shadow: 0 0 0 4px rgb(21 94 239 / 10%); }
.field-icon { margin-right: 12px; flex-shrink: 0; color: #98a2b3; }
.field-input { min-width: 0; width: 100%; height: 100%; flex: 1; border: 0; padding: 0; background: transparent; color: #101828; font-size: 15px; font-weight: 500; outline: none; }
.field-input::placeholder { color: #98a2b3; }
.field-input:focus-visible { outline: 0; }
.password-toggle { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 8px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #667085; }
.password-toggle:hover { background: #f2f4f7; }
.credential-submit { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 10px; background: #155eef; color: #fff; font-size: 14px; font-weight: 700; }
.credential-submit:hover { background: #004eeb; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-small { width: 18px; height: 18px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (min-width: 640px) { .login-page { padding: 32px 24px; } .form-panel { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) {
  .login-card { grid-template-columns: 1.05fr .95fr; }
  .brand-panel { display: flex; flex-direction: column; justify-content: space-between; }
  .form-panel { min-height: 620px; padding-left: 56px; padding-right: 56px; }
  .mobile-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
