﻿:root,
html[data-theme="dark"],
body.dark-theme {
  --navy-1: #1f3446;
  --navy-2: #192734;
  --blue-1: #4d79a3;
  --blue-2: #3b6590;
  --gold: #d9a93a;
  --gold-light: #f2cf6e;
  --ink: #405463;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  overflow: hidden;
  position: relative;
  color: #fff
}

/* ===== İKİ YARIM ARKA PLAN ===== */
.bg {
  position: fixed;
  inset: 0;
  display: flex
}

.bg .left {
  flex: 1;
  background: linear-gradient(160deg, #2a4259 0%, #1e3345 55%, #192734 100%);
  position: relative;
  overflow: hidden
}

.bg .right {
  flex: 1;
  background: linear-gradient(180deg, #27425a 0%, #192734 100%);
  position: relative;
  overflow: hidden
}

/* Renk kaplaması: soldan sağa doğru tamamen şeffaflaşır */
.bg .right::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(82, 126, 161) 0%, rgb(50, 77, 101) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 90%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 90%)
}

html[data-theme="light"] .bg .right::before {
  background: linear-gradient(180deg, #b6c9dd 0%, #a1b6cd 100%)
}

/* Altıgenler */
.hex {
  position: absolute;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: rgba(255, 255, 255, .07)
}

.hex.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06))
}

.hexline {
  position: absolute;
  border: 0
}

.hexline svg {
  width: 100%;
  height: 100%;
  display: block
}

/* Çizgi (altın) */
.goldline {
  position: absolute;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  opacity: .85
}

:root {
  --wm: url('emblem.png')
}

/* Birim logosu filigranı (maske: renk temaya göre değişir) */
.emblem {
  position: absolute;
  left: 50%;
  top: 51%;
  width: clamp(420px, 50vw, 860px);
  aspect-ratio: 1100/390;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: .42;
  pointer-events: none
}

.emblem .wm {
  display: block;
  width: 100%;
  height: 100%;
  background: #d4e9fb;
  -webkit-mask-image: var(--wm);
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--wm);
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat
}

/* ===== SOL: BAŞLIK ===== */
.brand {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 3;
  text-align: center;
  padding: calc(max(76px, calc(50vh - 310px)) + 14px) 3vw 0
}

.brand .title-wrap {
  display: inline-block
}

.brand h1 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8.4vw, 124px);
  line-height: 1;
  letter-spacing: 0;
  color: #eee8d5;
  white-space: nowrap;
  text-shadow: 0 1px 0 #f4e2a8, 0 2px 0 #d9b25a, 0 3px 1px rgba(150, 105, 20, .55), 0 6px 14px rgba(12, 20, 28, .6), 0 0 24px rgba(255, 236, 170, .28)
}

.brand .rule {
  width: 100%;
  height: 4px;
  margin: 1.6vh 0 2.8vh;
  border-radius: 1px;
  background: linear-gradient(90deg, #b8862a 0%, #e7c066 35%, #d9a93a 70%, #c79530 100%);
  box-shadow: 0 0 8px rgba(242, 207, 110, .45)
}

.brand p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(13px, 1.72vw, 25px);
  line-height: 1.35;
  font-weight: 400;
  color: #eee8d5;
  text-shadow: none
}

/* ===== SOL: DUYURU & BAĞLANTI ALANI ===== */
.notice {
  position: absolute;
  left: 25%;
  bottom: 4.5vh;
  transform: translateX(-50%);
  width: min(560px, 40vw);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.notice[hidden] {
  display: none
}

.notice .panel {
  border-radius: 14px;
  padding: 14px 18px 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 10px 26px rgba(12, 20, 28, .28), inset 0 1px 1px rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px)
}

.notice .panel[hidden] {
  display: none
}

.notice h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 15px 'Roboto', sans-serif;
  color: #eee8d5;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), rgba(217, 169, 58, 0)) 1
}

.notice h3::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border: 1.5px solid var(--gold);
  background: rgba(255, 255, 255, .25)
}

.notice ul {
  list-style: none;
  max-height: calc(3 * 40px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 169, 58, .6) transparent
}

.notice li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  font: 400 14px/1.35 'Roboto', sans-serif;
  color: #eee8d5
}

.notice li+li {
  border-top: 1px solid rgba(255, 255, 255, .12)
}

.notice li time {
  flex: none;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--gold-light);
  min-width: 70px
}

.notice li a {
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(242, 207, 110, .6);
  text-underline-offset: 3px
}

.notice li a:hover {
  color: inherit !important;
  text-decoration-color: var(--gold)
}

.notice li.onemli .txt {
  font-weight: 500;
  color: #f6f1e0
}

.links-out {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

.links-out:empty {
  display: none
}

.links-out a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 19px;
  text-decoration: none;
  font: 500 14px 'Roboto', sans-serif;
  color: #eee8d5;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  border: 1px solid rgba(242, 207, 110, .65);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), 0 4px 10px rgba(12, 20, 28, .22);
  transition: background .2s, box-shadow .2s
}

.links-out a:hover {
  background: linear-gradient(180deg, rgba(242, 207, 110, .35), rgba(217, 169, 58, .18));
  box-shadow: 0 0 14px rgba(242, 207, 110, .4), inset 0 1px 1px rgba(255, 255, 255, .35)
}

.links-out a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px
}

.links-out svg {
  width: 15px;
  height: 15px;
  stroke: #f2cf6e;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .links-out svg,
body.dark-theme .links-out svg {
  stroke: #f2cf6e;
}

html[data-theme="light"] .links-out svg {
  stroke: #a8741a;
}

@media (max-height:720px) {
  .notice ul {
    max-height: calc(2 * 40px)
  }
}

@media (max-height:600px) {
  .notice {
    display: none
  }
}

/* ===== MODÜL ETİKETLERİ (SOL PANEL ORTASI) ===== */
.modules {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 0
}

.modules:empty {
  display: none
}

.modules li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 4px;
  border-radius: 9px;
  font: 500 12.5px 'Roboto', sans-serif;
  color: #eee8d5;
  white-space: nowrap;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14)
}

.modules .hx {
  flex: none;
  width: 24px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, rgba(242, 207, 110, .42), rgba(217, 169, 58, .16))
}

.modules svg {
  width: 14px;
  height: 14px;
  flex: none;
  stroke: #f2cf6e;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .modules svg,
body.dark-theme .modules svg {
  stroke: #f2cf6e;
}

html[data-theme="light"] .modules li {
  color: #405463;
  background: rgba(255, 255, 255, .55);
  border-color: rgba(64, 84, 99, .14)
}

html[data-theme="light"] .modules .hx {
  background: linear-gradient(160deg, rgba(217, 169, 58, .46), rgba(217, 169, 58, .18))
}

html[data-theme="light"] .modules svg {
  stroke: #8a5f0f;
}

@media (max-width:860px),
(max-height:660px) {
  .modules {
    display: none
  }
}

/* ===== SAĞ: GİRİŞ KARTI (glassmorphism) ===== */
.wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  padding: 60px 16px 24px;
  overflow-y: auto;
  max-height: 100vh;
  box-sizing: border-box;
}

.wrap>.card {
  margin: auto;
}

.card {
  position: relative;
  width: min(416px, 86%);
  padding: 84px 44px 36px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(150, 180, 210, .26) 0%, rgba(40, 62, 86, .34) 35%, rgba(25, 39, 52, .36) 65%, rgba(120, 150, 180, .26) 100%);
  backdrop-filter: blur(28px) saturate(140%) brightness(.92);
  -webkit-backdrop-filter: blur(28px) saturate(140%) brightness(.92);
  border: 1.5px solid rgba(255, 255, 255, .82);
  box-shadow:
    0 30px 60px rgba(12, 20, 28, .40),
    0 0 10px rgba(255, 255, 255, .14),
    0 6px 9px -6px rgba(255, 255, 255, .60),
    6px 0 9px -6px rgba(255, 255, 255, .55),
    inset 0 2px 2px rgba(255, 255, 255, .95),
    inset 2px 0 3px rgba(255, 255, 255, .55),
    inset -2px 0 3px rgba(255, 255, 255, .65),
    inset 0 -2px 3px rgba(255, 255, 255, .65),
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 8px 0 16px -8px rgba(255, 255, 255, .35),
    inset 0 0 40px rgba(255, 255, 255, .06)
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 22% at 0% 0%, rgba(255, 255, 255, .60), transparent 70%),
    radial-gradient(ellipse 62% 5% at 50% 100%, rgba(255, 255, 255, .50), transparent 75%),
    radial-gradient(ellipse 4% 50% at 100% 45%, rgba(255, 255, 255, .45), transparent 75%),
    linear-gradient(112deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%),
    var(--grain)
}

.card::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 10%;
  width: 2px;
  height: 64%;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, .95) 60%, transparent);
  filter: blur(1.5px);
  box-shadow: 0 0 5px 1px rgba(255, 255, 255, .55)
}

.card>* {
  position: relative;
  z-index: 1
}

/* ASP.NET Hidden field'ları gizle */
.card .aspNetHidden {
  display: none !important
}

.logo {
  position: absolute;
  left: 50%;
  top: -62px;
  transform: translateX(-50%);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  z-index: 2;
  background: radial-gradient(circle at 38% 30%, rgba(236, 241, 247, .78), rgba(186, 199, 214, .62) 72%);
  border: 1.5px solid rgba(255, 255, 255, .78);
  box-shadow: 0 8px 20px rgba(14, 24, 34, .28), inset 0 0 14px rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center
}

.logo .disc {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e8edf3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #c9d3df
}

.logo .disc .gold {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #f5d675, #d3a028);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--navy-1);
  text-align: center;
  line-height: 1.15
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(.96)
}

.card h2 {
  font-size: 34px;
  line-height: 40px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0;
  color: var(--txt);
  text-shadow: none
}

.sep {
  position: relative;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, rgba(217, 169, 58, .35), var(--gold) 10%, var(--gold) calc(50% - 13px), transparent calc(50% - 13px), transparent calc(50% + 13px), var(--gold) calc(50% + 13px), var(--gold) 90%, rgba(217, 169, 58, .35))
}

.sep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(255, 255, 255, .28);
  border: 1.5px solid var(--gold);
  box-shadow: inset 0 0 0 1.5px rgba(240, 213, 138, .55)
}

.field {
  position: relative;
  height: 48px;
  margin: 15px 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(25, 39, 52, .36) 0%, rgba(25, 39, 52, .24) 100%);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .50), inset 0 -8px 12px -8px rgba(255, 255, 255, .20), 0 2px 4px rgba(25, 45, 65, .13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px)
}

.field svg {
  flex: none;
  width: 22px;
  height: 22px;
  stroke: var(--txt);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 18px 'Roboto', sans-serif;
  color: var(--txt);
  caret-color: var(--txt);
  padding-left: 12px
}

.field input::placeholder {
  color: rgba(238, 232, 213, .60);
  opacity: 1
}

/* ===== TARAYICI OTOMATİK DOLDURMA (AUTOFILL) UYUMLULUĞU ===== */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active,
.field input:autofill {
  -webkit-text-fill-color: var(--txt) !important;
  caret-color: var(--txt) !important;
  color: var(--txt) !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  transition: background-color 5000000s ease-in-out 0s !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
}

.field input:-webkit-autofill::first-line {
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--txt) !important;
  -webkit-text-fill-color: var(--txt) !important;
}

.field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 58, .30), inset 0 1px 1px rgba(255, 255, 255, .50)
}

.field .eye {
  cursor: pointer;
  background: none;
  border: 0;
  display: flex;
  padding: 0
}

.field .eye svg {
  stroke-width: 1.8
}

/* ===== FORM ALANLARI: SELECT & DÜZEN EKLEMELERİ ===== */
.field select {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 15px 'Roboto', sans-serif;
  color: var(--txt);
  padding-left: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a93a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 28px;
}

.field select option {
  background: #192734;
  color: #eee8d5;
}

html[data-theme="light"] .field select option {
  background: #ffffff;
  color: #405463;
}

html[data-theme="light"] .field select {
  color: #405463;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5f0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Yan yana alanlar grubu (Ad/Soyad, Ünvan/Tel vb.) */
.fields-row {
  display: flex;
  gap: 10px;
}

.fields-row .field {
  flex: 1;
  min-width: 0;
}

@media (max-width: 480px) {
  .fields-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Daha geniş / form kartı (parolareset & kayit için) */
.card.card-form {
  width: min(510px, 92%);
  padding: 72px 28px 24px;
}

.card.card-form .field {
  height: 42px;
  margin: 9px 0;
}

.card.card-form .field input,
.card.card-form .field select {
  font-size: 14.5px;
}

.card.card-form h2 {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 10px;
}

.card.card-form .btn {
  height: 46px;
  font-size: 17px;
  margin: 16px 0 10px;
}

.card.card-form .captcha {
  margin: 9px 0 10px;
}

.auth-info-note {
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #eee8d5;
  text-align: center;
  background: rgba(217, 169, 58, 0.14);
  border: 1px solid rgba(217, 169, 58, 0.35);
  border-radius: 8px;
  padding: 6px 12px;
}

html[data-theme="light"] .auth-info-note {
  color: #5c4411;
  background: rgba(217, 169, 58, 0.18);
  border-color: rgba(217, 169, 58, 0.45);
}

.captcha {
  display: flex;
  gap: 9px;
  margin: 15px 0 16px
}

.captcha .field {
  flex: 1;
  margin: 0;
  padding: 4px 4px 4px 14px;
  overflow: hidden
}

.captcha .field input {
  padding-left: 0
}

.captcha .img {
  flex: none;
  width: 120px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: italic 400 29px 'Brush Script MT', 'Segoe Script', cursive;
  color: #1d1d1d;
  letter-spacing: 1px;
  background-color: #fff;
  background-image: radial-gradient(#8a8a8a .7px, transparent .9px);
  background-size: 8px 8px;
  box-shadow: inset 1px 0 0 rgba(110, 125, 140, .35);
  overflow: hidden;
  border-radius: 0 10px 10px 0
}

.captcha .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.captcha .refresh {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(25, 39, 52, .34) 0%, rgba(25, 39, 52, .22) 100%);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), 0 2px 4px rgba(25, 45, 65, .16);
  transition: border-color .2s, box-shadow .2s, background .2s
}

.captcha .refresh:hover {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(217, 169, 58, .4)
}

.captcha .refresh svg {
  width: 22px;
  height: 22px;
  stroke: var(--txt);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn {
  display: block;
  width: 100%;
  height: 53px;
  margin: 21px 0 12px;
  border-radius: 27px;
  cursor: pointer;
  border: 1px solid rgba(255, 230, 160, .6);
  font: 600 20px 'Roboto', sans-serif;
  color: #2b2a26;
  letter-spacing: .2px;
  background: linear-gradient(180deg, #efca72 0%, #e0ac47 48%, #c68f2b 100%);
  box-shadow: 0 0 26px rgba(236, 186, 80, .55), 0 12px 22px -8px rgba(255, 216, 124, .60), inset 0 2px 2px rgba(255, 255, 255, .55), inset 0 -3px 6px rgba(140, 92, 10, .28);
  transition: filter .2s, transform .1s
}

.btn:hover {
  filter: brightness(1.07)
}

.btn:active {
  transform: translateY(1px)
}

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font: 400 13px 'Roboto', sans-serif;
  color: #eee8d5;
  text-shadow: 0 1px 3px rgba(20, 40, 70, .5)
}

.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65))
}

.or::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65))
}

.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  margin: 0 0 24px;
  border-radius: 23px;
  cursor: pointer;
  font: 500 17px 'Roboto', sans-serif;
  color: var(--txt);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(25, 39, 52, .34) 0%, rgba(25, 39, 52, .22) 100%);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 2px 5px rgba(25, 45, 65, .16);
  transition: border-color .2s, box-shadow .2s, background .2s
}

.btn-sso svg {
  width: 20px;
  height: 20px;
  stroke: var(--txt);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.btn-sso:hover {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(217, 169, 58, .45), inset 0 1px 1px rgba(255, 255, 255, .5);
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .22))
}

.btn-sso:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px
}

@media (min-width:861px) and (max-height:760px) {
  .card {
    transform: scale(.9)
  }
}

@media (min-width:861px) and (max-height:680px) {
  .card {
    transform: scale(.8)
  }
}

.links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px
}

.links a {
  color: #eee8d5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(20, 40, 70, .5)
}

.links a:hover {
  text-decoration: underline
}

/* ===== sbcMsgBox Modernize Alert Stili ===== */
.sbc_msgbox_title {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 12px 0 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.sbc_msgbox_title_warn {
  background: linear-gradient(135deg, rgba(217, 169, 58, .40), rgba(184, 134, 42, .55));
  border-color: rgba(242, 207, 110, .75);
  color: #fffdf5;
}

.sbc_msgbox_title_err {
  background: linear-gradient(135deg, rgba(220, 53, 69, .45), rgba(170, 30, 45, .60));
  border-color: rgba(255, 120, 130, .75);
  color: #fff5f5;
}

.sbc_msgbox_title_info {
  background: linear-gradient(135deg, rgba(52, 144, 220, .40), rgba(30, 100, 170, .55));
  border-color: rgba(100, 180, 255, .75);
  color: #f0f8ff;
}

.sbc_msgbox_title_suc {
  background: linear-gradient(135deg, rgba(40, 167, 69, .40), rgba(25, 120, 50, .55));
  border-color: rgba(120, 220, 140, .75);
  color: #f0fff4;
}

.sbc_msgbox_title h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px
}

.sbc_msgbox_title p {
  margin: 0
}

.sbc_msgbox_title .closebutton {
  float: right;
  cursor: pointer;
  width: 18px;
  height: 18px;
  position: relative;
  display: block;
  margin-top: -1px;
  margin-right: -2px;
  margin-left: 8px;
  border-radius: 4px;
  opacity: .85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  transition: opacity .15s ease, background-color .15s ease, transform .15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.sbc_msgbox_title .closebutton:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, .2);
  transform: scale(1.15);
}

.sbc_msgbox_title .closebutton:active {
  transform: scale(0.92);
}

/* Aydınlık Mod için Kapatma İkonu (Tematik Renk Kontrastı) */
html[data-theme="light"] .sbc_msgbox_title .closebutton {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23721c24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

html[data-theme="light"] .sbc_msgbox_title .closebutton:hover {
  background-color: rgba(114, 28, 36, .12);
}

html[data-theme="light"] .sbc_msgbox_title_warn .closebutton {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23856404' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

html[data-theme="light"] .sbc_msgbox_title_info .closebutton {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5460' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

html[data-theme="light"] .sbc_msgbox_title_suc .closebutton {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155724' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

html[data-theme="light"] .sbc_msgbox_title_warn {
  background: linear-gradient(135deg, rgba(255, 243, 205, .95), rgba(255, 238, 186, .95));
  border-color: rgba(217, 169, 58, .65);
  color: #856404;
}

html[data-theme="light"] .sbc_msgbox_title_err {
  background: linear-gradient(135deg, rgba(248, 215, 218, .95), rgba(245, 198, 203, .95));
  border-color: rgba(220, 53, 69, .65);
  color: #721c24;
}

html[data-theme="light"] .sbc_msgbox_title_info {
  background: linear-gradient(135deg, rgba(209, 236, 241, .95), rgba(190, 229, 235, .95));
  border-color: rgba(52, 144, 220, .65);
  color: #0c5460;
}

html[data-theme="light"] .sbc_msgbox_title_suc {
  background: linear-gradient(135deg, rgba(212, 237, 218, .95), rgba(195, 230, 203, .95));
  border-color: rgba(40, 167, 69, .65);
  color: #155724;
}

/* ===== TEMA DÜĞMESİ ===== */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .10));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 4px 12px rgba(12, 20, 28, .25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .2s, border-color .2s
}

.theme-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(217, 169, 58, .45), inset 0 1px 1px rgba(255, 255, 255, .4)
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: #eee8d5;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.theme-toggle .moon {
  display: none
}

/* ===== AÇIK MOD ===== */
html[data-theme="light"] {
  color-scheme: light
}

html[data-theme="light"] body {
  color: #405463
}

html[data-theme="light"] .theme-toggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
  border-color: rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 1px #fff, 0 4px 12px rgba(40, 70, 110, .22)
}

html[data-theme="light"] .theme-toggle svg {
  stroke: #405463
}

html[data-theme="light"] .theme-toggle .sun {
  display: none
}

html[data-theme="light"] .theme-toggle .moon {
  display: block
}

/* arka plan */
html[data-theme="light"] .bg .left {
  background: linear-gradient(160deg, #f4f7fb 0%, #e0e9f2 55%, #cfdcea 100%)
}

html[data-theme="light"] .bg .right {
  background: linear-gradient(180deg, #e4ebf3 0%, #d2deeb 100%)
}

html[data-theme="light"] .hex {
  background: rgba(40, 80, 130, .07) !important
}

html[data-theme="light"] .hex.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .20)) !important;
  box-shadow: 0 2px 8px rgba(40, 70, 110, .10)
}

html[data-theme="light"] .goldline {
  opacity: .95
}

/* Filigranın form camının içinden de devam etmesi (sayfa filigranıyla aynı konumda) */
.card .emblem-in {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: .26
}

.card .emblem-in .wm {
  position: absolute;
  display: block;
  width: clamp(420px, 50vw, 860px);
  aspect-ratio: 1100/390;
  left: calc(50% - 25vw);
  top: calc(50% + 1vh);
  transform: translate(-50%, -50%);
  background: #d4e9fb;
  -webkit-mask-image: var(--wm);
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--wm);
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat
}

html[data-theme="light"] .card .emblem-in {
  opacity: .16
}

html[data-theme="light"] .card .emblem-in .wm {
  background: #405463
}

html[data-theme="light"] .emblem {
  opacity: .20
}

html[data-theme="light"] .emblem .wm {
  background: #405463
}

/* sol başlık */
html[data-theme="light"] .brand h1 {
  color: #405463;
  text-shadow: 0 1px 0 #f4e2a8, 0 2px 0 #d9b25a, 0 3px 1px rgba(150, 105, 20, .35), 0 7px 14px rgba(40, 70, 110, .25), 0 0 22px rgba(255, 255, 255, .55)
}

html[data-theme="light"] .brand .rule {
  box-shadow: 0 1px 6px rgba(150, 105, 20, .35)
}

html[data-theme="light"] .brand p {
  color: #405463
}

/* duyuru paneli */
html[data-theme="light"] .notice .panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .50));
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 26px rgba(40, 70, 110, .18), inset 0 1px 1px #fff
}

html[data-theme="light"] .notice h3 {
  color: #405463
}

html[data-theme="light"] .notice li {
  color: #405463
}

html[data-theme="light"] .notice li+li {
  border-top-color: rgba(30, 60, 100, .14)
}

html[data-theme="light"] .notice li time {
  color: #9a6a10
}

html[data-theme="light"] .notice li.onemli .txt {
  color: #2f414f
}

html[data-theme="light"] .links-out a {
  color: #405463;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
  border-color: rgba(201, 150, 40, .85);
  box-shadow: inset 0 1px 1px #fff, 0 4px 10px rgba(40, 70, 110, .15)
}

html[data-theme="light"] .links-out a:hover {
  background: linear-gradient(180deg, rgba(242, 207, 110, .55), rgba(217, 169, 58, .30));
  box-shadow: 0 0 14px rgba(217, 169, 58, .45), inset 0 1px 1px #fff
}

html[data-theme="light"] .links-out svg {
  stroke: #a8741a
}

/* giriş kartı */
html[data-theme="light"] .card {
  background: linear-gradient(150deg, rgba(255, 255, 255, .74) 0%, rgba(238, 244, 250, .64) 35%, rgba(226, 235, 245, .62) 65%, rgba(250, 252, 254, .72) 100%);
  border-color: rgba(255, 255, 255, .95);
  box-shadow:
    0 30px 60px rgba(40, 70, 110, .28),
    0 0 10px rgba(255, 255, 255, .35),
    0 6px 9px -6px rgba(255, 255, 255, .9),
    6px 0 9px -6px rgba(255, 255, 255, .9),
    inset 0 2px 2px #fff,
    inset 2px 0 3px rgba(255, 255, 255, .8),
    inset -2px 0 3px rgba(255, 255, 255, .9),
    inset 0 -2px 3px rgba(255, 255, 255, .9),
    inset 0 0 0 1px rgba(255, 255, 255, .4),
    inset 8px 0 16px -8px rgba(255, 255, 255, .6)
}

html[data-theme="light"] .logo {
  background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, .95), rgba(214, 226, 239, .80) 72%);
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 20px rgba(40, 70, 110, .25), inset 0 0 14px rgba(255, 255, 255, .8)
}

html[data-theme="light"] .field,
html[data-theme="light"] .captcha .refresh {
  background: linear-gradient(180deg, rgba(255, 255, 255, .80), rgba(255, 255, 255, .56));
  border-color: rgba(255, 255, 255, .98);
  box-shadow: inset 0 1px 1px #fff, inset 0 -8px 12px -8px rgba(160, 185, 215, .25), 0 2px 5px rgba(60, 90, 130, .16)
}

html[data-theme="light"] .field input::placeholder {
  color: #74869a
}

html[data-theme="light"] .field input:-webkit-autofill,
html[data-theme="light"] .field input:-webkit-autofill:hover,
html[data-theme="light"] .field input:-webkit-autofill:focus,
html[data-theme="light"] .field input:-webkit-autofill:active,
html[data-theme="light"] .field input:autofill {
  -webkit-text-fill-color: #405463 !important;
  caret-color: #405463 !important;
  color: #405463 !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 18px !important;
}

html[data-theme="light"] .field input:-webkit-autofill::first-line {
  color: #405463 !important;
  -webkit-text-fill-color: #405463 !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 18px !important;
}

html[data-theme="light"] .btn-sso {
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .58));
  border-color: rgba(255, 255, 255, .98);
  box-shadow: inset 0 1px 1px #fff, 0 2px 6px rgba(60, 90, 130, .18)
}

html[data-theme="light"] .or {
  color: #405463;
  text-shadow: none
}

html[data-theme="light"] .or::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65))
}

html[data-theme="light"] .or::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65))
}

html[data-theme="light"] .links a {
  color: #405463;
  text-shadow: none
}

/* ===== AÇIK MOD: ALTIN TONLU CAM EFEKTLERİ (hafif) ===== */
html[data-theme="light"] .card {
  background: linear-gradient(150deg, rgba(255, 254, 250, .34) 0%, rgba(244, 246, 248, .18) 35%, rgba(236, 241, 246, .16) 65%, rgba(255, 253, 246, .30) 100%);
  border: 1.5px solid rgba(236, 206, 130, .80);
  box-shadow:
    0 30px 60px rgba(40, 70, 110, .28),
    0 0 8px rgba(242, 210, 120, .28),
    0 5px 7px -5px rgba(240, 196, 90, .55),
    5px 0 7px -5px rgba(240, 196, 90, .55),
    inset 0 2px 2px rgba(255, 246, 214, .98),
    inset 2px 0 3px rgba(255, 238, 184, .60),
    inset -2px 0 3px rgba(246, 210, 120, .55),
    inset 0 -2px 3px rgba(246, 210, 120, .55),
    inset 0 0 0 1px rgba(255, 248, 222, .50),
    inset 8px 0 16px -8px rgba(255, 230, 150, .30),
    inset 0 0 40px rgba(255, 236, 170, .08)
}

html[data-theme="light"] .card::before {
  background:
    radial-gradient(ellipse 45% 20% at 0% 0%, rgba(255, 236, 170, .45), transparent 70%),
    radial-gradient(ellipse 60% 5% at 50% 100%, rgba(246, 204, 100, .32), transparent 75%),
    radial-gradient(ellipse 4% 50% at 100% 45%, rgba(246, 204, 100, .28), transparent 75%),
    linear-gradient(112deg, rgba(255, 240, 190, .28) 0%, rgba(255, 240, 190, 0) 26%, rgba(255, 240, 190, 0) 72%, rgba(255, 232, 160, .18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 32%),
    var(--grain)
}

html[data-theme="light"] .card::after {
  background: linear-gradient(180deg, transparent, rgba(255, 226, 140, .95) 40%, rgba(252, 214, 110, .85) 60%, transparent);
  box-shadow: 0 0 4px 1px rgba(244, 200, 90, .40)
}

html[data-theme="light"] .logo {
  border-color: rgba(240, 210, 130, .90);
  box-shadow: 0 8px 20px rgba(40, 70, 110, .22), 0 0 8px rgba(242, 210, 120, .35), inset 0 0 12px rgba(255, 236, 170, .55)
}

html[data-theme="light"] .field,
html[data-theme="light"] .captcha .refresh,
html[data-theme="light"] .btn-sso {
  border-color: rgba(236, 206, 130, .65);
  box-shadow: inset 0 1px 1px rgba(255, 246, 214, .98), inset 0 -8px 12px -8px rgba(246, 210, 120, .20), 0 2px 5px rgba(120, 100, 50, .14)
}

html[data-theme="light"] .field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 58, .30), inset 0 1px 1px rgba(255, 246, 214, .98)
}

html[data-theme="light"] .notice .panel {
  border-color: rgba(236, 206, 130, .70);
  box-shadow: 0 10px 26px rgba(40, 70, 110, .16), 0 0 8px rgba(242, 210, 120, .22), inset 0 1px 1px rgba(255, 246, 214, .98), inset 0 -2px 3px rgba(246, 210, 120, .30)
}

/* ===== GEOMETRİK DESENLER (SVG) ===== */
:root {
  --txt: #eee8d5;
  --ga1: .30;
  --ga2: .05;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")
}

html[data-theme="light"] {
  --txt: #405463;
  --ga1: .85;
  --ga2: .28
}

.bg .geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.geo .plate {
  fill: rgba(255, 255, 255, .035);
  stroke: rgba(255, 255, 255, .10);
  stroke-width: 1.5
}

.geo .hs {
  fill: rgba(255, 255, 255, .050);
  stroke: rgba(255, 255, 255, .07);
  stroke-width: 1
}

.geo .hs2 {
  fill: rgba(255, 255, 255, .075);
  stroke: rgba(255, 255, 255, .10);
  stroke-width: 1
}

.geo .hg {
  fill: url(#gg);
  stroke: rgba(255, 255, 255, .50);
  stroke-width: 1.4;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .20))
}

.geo .hgf {
  fill: url(#gg);
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1;
  opacity: .7
}

.geo .hgold {
  fill: rgba(205, 175, 105, .55);
  stroke: rgba(230, 200, 130, .5);
  stroke-width: 1
}

.geo .hl {
  fill: none;
  stroke: #d9a93a;
  stroke-width: 1.6;
  opacity: .9
}

.geo .gl {
  fill: none;
  stroke: #d9a93a;
  stroke-width: 1.6;
  opacity: .9;
  stroke-linecap: round
}

html[data-theme="light"] .geo .plate {
  fill: rgba(40, 80, 130, .04);
  stroke: rgba(40, 80, 130, .10)
}

html[data-theme="light"] .geo .hs {
  fill: rgba(40, 80, 130, .06);
  stroke: rgba(40, 80, 130, .08)
}

html[data-theme="light"] .geo .hs2 {
  fill: rgba(40, 80, 130, .09);
  stroke: rgba(40, 80, 130, .10)
}

html[data-theme="light"] .geo .hg {
  stroke: rgba(255, 255, 255, .95);
  filter: drop-shadow(0 6px 10px rgba(40, 70, 110, .18))
}

html[data-theme="light"] .geo .hgf {
  stroke: rgba(255, 255, 255, .8)
}

html[data-theme="light"] .geo .hl,
html[data-theme="light"] .geo .gl {
  stroke: #c9962a
}

/* ===== CAM KENAR IŞIĞI ===== */
.card .edge {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .35) 22%, rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .85) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0)
}

html[data-theme="light"] .card .edge {
  background: linear-gradient(135deg, rgba(255, 244, 200, 1) 0%, rgba(255, 226, 140, .45) 22%, rgba(255, 226, 140, .10) 48%, rgba(246, 204, 100, .18) 70%, rgba(246, 200, 90, .95) 100%)
}

.geo .blobs {
  opacity: 1
}

html[data-theme="light"] .geo .blobs {
  opacity: .55
}

/* ===== TELİF YAZISI ===== */
.copyright {
  position: fixed;
  right: 0;
  bottom: 10px;
  width: 50%;
  z-index: 4;
  padding: 0 24px;
  text-align: center;
  font: 400 12px/1.5 'Roboto', sans-serif;
  letter-spacing: .1px;
  color: rgba(238, 232, 213, .82);
  text-shadow: 0 1px 3px rgba(12, 20, 28, .55)
}

.copyright b {
  font-weight: 500;
  color: #eee8d5
}

.copyright a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 207, 110, .45)
}

.copyright a:hover {
  border-bottom-color: var(--gold-light)
}

html[data-theme="light"] .copyright {
  color: rgba(64, 84, 99, .90);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55)
}

html[data-theme="light"] .copyright b {
  color: #405463
}

html[data-theme="light"] .copyright a {
  color: #8a5f0f;
  border-bottom-color: rgba(138, 95, 15, .45)
}

@media (max-height:640px) and (min-width:861px) {
  .copyright {
    display: none
  }
}

/* ===== TABLET / ORTA EKRAN: BAŞLIK GRUBU KÜÇÜLEREK GÖRÜNÜR ===== */
@media (min-width:521px) and (max-width:860px) {
  .brand {
    padding: 40px 16px 8px
  }

  .brand h1 {
    font-size: clamp(44px, 9vw, 72px)
  }

  .brand .rule {
    margin: 8px 0 12px
  }

  .brand p {
    font-size: clamp(13px, 2.2vw, 17px)
  }
}

/* ===== KISA TELEFON EKRANI: FORMU YUKARI ÇEK ===== */
@media (max-width:860px) and (max-height:760px) {
  body .wrap {
    padding-top: 64px
  }
}

/* ===== KÜÇÜK EKRAN: CAPTCHA ALANINI KORU ===== */
@media (max-width:520px) {
  .brand {
    display: none
  }

  .card {
    width: 92%;
    padding: 68px 20px 24px
  }

  .logo {
    width: 104px;
    height: 104px;
    top: -52px
  }

  .logo .disc {
    width: 88px;
    height: 88px
  }

  .card h2 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 12px
  }

  .field {
    margin: 11px 0;
    height: 46px
  }

  .captcha {
    margin: 11px 0 12px
  }

  .captcha .field {
    margin: 0
  }

  .captcha .refresh {
    height: 46px
  }

  .btn {
    height: 50px;
    margin: 16px 0 10px
  }

  .btn-sso {
    height: 44px;
    margin-bottom: 16px
  }

  body .wrap {
    padding-top: 64px;
    padding-bottom: 20px
  }

  .captcha {
    gap: 7px
  }

  .captcha .field {
    padding-left: 12px
  }

  .captcha .field input {
    min-width: 0;
    font-size: 17px
  }

  .captcha .img {
    width: 50%;
    font-size: 26px;
    letter-spacing: 0
  }

  .captcha .refresh {
    width: 44px;
    height: 48px
  }
}

@media (max-width:360px) {
  .card {
    padding: 68px 16px 22px
  }

  .captcha .img {
    width: 50%;
    font-size: 23px
  }

  .captcha .refresh {
    width: 40px
  }
}

/* ===== DUYARLI ===== */
@media (max-width:860px) {
  body {
    overflow: auto;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%
  }

  .brand {
    order: 1
  }

  .wrap {
    order: 2
  }

  .notice {
    order: 3
  }

  .copyright {
    order: 4;
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 8px 20px 24px
  }

  .bg {
    flex-direction: column
  }

  .brand,
  .wrap {
    position: relative;
    width: 100%;
    height: auto
  }

  .brand {
    padding: 36px 16px 6px
  }

  .brand h1 {
    font-size: clamp(34px, 10vw, 52px)
  }

  .brand .rule {
    height: 3px;
    margin: 6px 0 10px
  }

  .brand p {
    font-size: 12.5px;
    line-height: 1.35
  }

  .wrap {
    padding: 76px 0 28px
  }

  .emblem {
    display: none
  }

  .card .emblem-in {
    display: none
  }

  .notice {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 8px 20px 40px
  }
}

/* ==========================================================================
   Duyuru Detay Modalı (Modal Dialog)
   ========================================================================== */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeInModal .2s ease-out
}

@keyframes fadeInModal {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.login-modal-card {
  background: var(--card-bg, #fff);
  color: var(--text, #1e293b);
  border: 1px solid var(--border, rgba(217, 169, 58, .35));
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  overflow: hidden;
  animation: scaleInModal .25s cubic-bezier(.16, 1, .3, 1)
}

@keyframes scaleInModal {
  from {
    transform: scale(.94);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.login-modal-header {
  padding: 18px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .08)
}

html[data-theme='dark'] .login-modal-header {
  border-bottom-color: rgba(255, 255, 255, .08)
}

.login-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px
}

.login-modal-icon {
  font-size: 20px
}

.login-modal-title-group h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: inherit
}

.login-modal-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted, #64748b);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .15s, background .15s
}

.login-modal-close:hover {
  color: var(--text, #0f172a);
  background: rgba(0, 0, 0, .06)
}

html[data-theme='dark'] .login-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1)
}

.login-modal-meta {
  padding: 8px 22px;
  font-size: 12.5px;
  color: var(--gold, #d9a93a);
  font-weight: 600;
  background: rgba(217, 169, 58, .08)
}

.login-modal-body {
  padding: 20px 22px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1
}

.login-modal-footer {
  padding: 12px 22px 16px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(0, 0, 0, .08)
}

html[data-theme='dark'] .login-modal-footer {
  border-top-color: rgba(255, 255, 255, .08)
}

.login-modal-footer .btn-modal-close {
  padding: 7px 18px;
  font-size: 13.5px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(0, 0, 0, .15));
  background: var(--bg-surface, #f1f5f9);
  color: var(--text, #334155);
  font-weight: 500;
  cursor: pointer;
  transition: background .15s
}

.login-modal-footer .btn-modal-close:hover {
  background: var(--border, #e2e8f0)
}

html[data-theme='dark'] .login-modal-footer .btn-modal-close {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  color: #e2e8f0
}

html[data-theme='dark'] .login-modal-footer .btn-modal-close:hover {
  background: rgba(255, 255, 255, .15)
}