:root {
  --zemin: #12809a;
  --zemin-isik: radial-gradient(130% 100% at 50% 0%, #23abb8 0%, #12809a 50%, #0a5576 100%);
  --zemin-acik: #eaf5f7;
  --panel: #f4fbfc;
  --lacivert: #0b4766;
  --ust: #0b4766;
  --cubuk: #093a57;
  --isik: #35c3cf;
  --ana-koyu: #07354d;
  --vurgu: #0f7788;
  --vurgu-koyu: #0b4766;
  --vurgu-acik: #dcf0f4;
  --kirmizi: #d12f3d;
  --kirmizi-koyu: #ad2230;
  --kirmizi-isik: rgba(209, 47, 61, 0.45);
  --nakit: #12875f;
  --nakit-koyu: #0c6b4a;
  --kredi: #1c69b4;
  --kredi-koyu: #14528f;
  --tehlike: #b3261e;
  --tus: #ffffff;
  --tus-kenar: #bfdbe2;
  --tus-golge: #a6cdd8;
  --pasif: #86a0ab;
  --kenar: #cfe3e9;
  --kenar-acik: #e1eef2;
  --kenar-koyu: #bfdbe2;
  --secili: #d5edf2;
  --az: #fff0bf;
  --doldu: #ffe0dc;
  --doldu-yazi: #9a2a20;
  --durak: #e3edf3;
  --yazi: #0e3348;
  --soluk: #4f6f7c;
  --golge: 0 8px 20px rgba(3, 40, 58, 0.24);
}

body {
  background: #f1f2f5;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

button,
.dugme {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid var(--kenar);
  border-radius: 4px;
  box-shadow: none;
  padding: 5px 13px;
  min-height: 28px;
  font-weight: 600;
}

button:active:not(:disabled),
.dugme:active {
  border-color: var(--lacivert);
  box-shadow: none;
  padding: 5px 13px;
  background: #e7edf5;
}

button:hover:not(:disabled),
.dugme:hover {
  background-color: #eef2f7;
  border-color: #93a4bb;
}

button:disabled {
  color: #9aa1ad;
  background: #f6f7f9;
  border-color: var(--kenar-acik);
}

button:focus-visible,
.dugme:focus-visible {
  outline: 2px solid var(--lacivert);
  outline-offset: 1px;
}

button.varsayilan,
.pencere-alt button.varsayilan,
#arac-yeni {
  background: var(--lacivert);
  color: #ffffff;
  border-color: var(--lacivert);
  box-shadow: none;
}

button.varsayilan:hover:not(:disabled),
#arac-yeni:hover:not(:disabled) {
  background: var(--ana-koyu);
  border-color: var(--ana-koyu);
}

button.varsayilan:disabled,
#arac-yeni:disabled {
  background: #c6d0dd;
  border-color: #c6d0dd;
  color: #ffffff;
}

#arac-yeni .tus {
  color: #d3deeb;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="tel"],
select {
  border: 1px solid var(--kenar);
  border-radius: 4px;
  padding: 4px 8px;
  height: 30px;
}

input:focus,
select:focus {
  outline: 2px solid var(--lacivert);
  outline-offset: -1px;
  border-color: var(--lacivert);
}

input.hatali {
  background: var(--doldu);
  border-color: var(--doldu-yazi);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--lacivert);
}

.baslik-cubugu {
  background: var(--ust);
  padding: 9px 16px;
  min-height: 42px;
}

.baslik-cubugu .program-adi {
  font-size: 14px;
  font-weight: 700;
}

.baslik-cubugu .kullanici-adi,
.baslik-cubugu .saat {
  color: #d5dde8;
}

.arac-cubugu {
  gap: 7px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--kenar-acik);
}

.arac-cubugu button {
  min-height: 38px;
  min-width: 120px;
  font-size: 13px;
}

.arac-cubugu button:active:not(:disabled) {
  padding-top: 5px;
}

.arac-cubugu .arac-ikincil {
  min-width: 0;
}

.arac-ayrac {
  width: 1px;
  border-left: 1px solid var(--kenar-acik);
  border-right: 0;
}

.tus {
  font-weight: 700;
  color: var(--lacivert);
}

.ozet-seridi {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  background: #ffffff;
  border-bottom: 1px solid var(--kenar-acik);
  padding: 6px 4px;
}

.ozet-seridi > .ozet-oge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 150px;
  min-height: 0;
  padding: 0 14px;
  background: none;
  border: 0;
  border-left: 1px solid var(--kenar-acik);
  border-radius: 0;
  font-weight: 400;
  text-align: left;
}

.ozet-seridi > .ozet-oge:first-child {
  border-left: 0;
}

.ozet-seridi > button.ozet-oge:hover:not(:disabled),
.ozet-seridi > button.ozet-oge:active:not(:disabled) {
  background: #f4f6f9;
  border-color: var(--kenar-acik);
  padding: 0 14px;
}

.ozet-seridi span {
  font-size: 11px;
  color: var(--soluk);
}

.ozet-seridi strong {
  font-family: Bahnschrift, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.ozet-seridi .kirmizi-sayi {
  color: #b3261e;
}

.ozet-seridi .sari-sayi {
  color: #9a6200;
}

.sekmeler {
  gap: 2px;
  padding: 0 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--kenar-acik);
  box-shadow: none;
}

.sekmeler button,
.sekmeler button:active:not(:disabled),
.sekmeler button:hover:not(:disabled) {
  min-height: 36px;
  padding: 6px 11px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: #4b5563;
  font-weight: 400;
}

.sekmeler button:hover:not(:disabled) {
  color: #111827;
  border-bottom-color: var(--kenar);
}

.sekmeler button[aria-selected="true"],
.sekmeler button[aria-selected="true"]:hover:not(:disabled) {
  min-height: 36px;
  background: none;
  border-bottom-color: var(--lacivert);
  color: #111827;
  font-weight: 700;
}

.bolumler {
  background: #f1f2f5;
}

.bolum {
  padding: 10px 12px;
}

.suzgec {
  background: #ffffff;
  border: 1px solid #dfe2e7;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  padding: 8px 10px;
}

.suzgec button[aria-pressed="true"] {
  background: var(--secili);
  border-color: var(--lacivert);
  box-shadow: none;
}

.tablo-kutu,
.kaydirma {
  border: 1px solid #dfe2e7;
}

.tablo-kutu:focus {
  outline: 2px solid var(--lacivert);
}

table.veri th,
table.veri td {
  border-right: 0;
  border-bottom: 1px solid #eceef1;
  padding: 6px 10px;
}

table.veri th {
  background: #f9fafb;
  border-right: 0;
  border-bottom: 1px solid #dfe2e7;
  color: var(--soluk);
  font-size: 12px;
  font-weight: 600;
}

table.veri th.artan::after {
  border-bottom-color: var(--lacivert);
}

table.veri th.azalan::after {
  border-top-color: var(--lacivert);
}

table.veri tbody tr {
  height: 34px;
}

table.veri tr.satir:hover td {
  background-color: #f4f6f9;
}

table.veri td.sure {
  font-family: Bahnschrift, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

table.veri tr.satir-az td,
table.veri tr.satir-az:hover td {
  background: var(--az);
}

table.veri tr.satir-doldu td,
table.veri tr.satir-doldu:hover td,
table.veri tr.satir-bitti td {
  background: var(--doldu);
  color: var(--doldu-yazi);
}

table.veri tr.satir-duraklatildi td,
table.veri tr.satir-duraklatildi:hover td {
  background: var(--durak);
}

table.veri tr.satir td:first-child {
  box-shadow: inset 4px 0 0 transparent;
}

table.veri tr.satir-az td:first-child {
  box-shadow: inset 4px 0 0 #d58a00;
}

table.veri tr.satir-doldu td:first-child,
table.veri tr.satir-bitti td:first-child {
  box-shadow: inset 4px 0 0 #d3382f;
}

table.veri tr.satir-duraklatildi td:first-child {
  box-shadow: inset 4px 0 0 #5f84ab;
}

table.veri tr.satir-doldu:not(.secili) td,
table.veri tr.secili.satir-doldu td.durum-hucre {
  animation: none;
}

table.veri tr.secili td,
table.veri tr.secili:hover td {
  background: var(--secili);
  box-shadow: inset 0 2px 0 var(--lacivert), inset 0 -2px 0 var(--lacivert);
}

table.veri tr.secili td:first-child {
  box-shadow: inset 4px 0 0 var(--lacivert), inset 0 2px 0 var(--lacivert), inset 0 -2px 0 var(--lacivert);
}

table.veri tr.secili.satir-az td.durum-hucre,
table.veri tr.secili.satir-az:hover td.durum-hucre {
  background: var(--az);
}

table.veri tr.secili.satir-doldu td.durum-hucre,
table.veri tr.secili.satir-bitti td.durum-hucre,
table.veri tr.secili.satir-doldu:hover td.durum-hucre {
  background: var(--doldu);
}

table.veri tr.secili.satir-duraklatildi td.durum-hucre,
table.veri tr.secili.satir-duraklatildi:hover td.durum-hucre {
  background: var(--durak);
}

table.veri tfoot td {
  background: #f9fafb;
}

.durum-cubugu {
  gap: 0;
  padding: 3px 8px;
  background: #ffffff;
  border-top: 1px solid var(--kenar-acik);
  color: #374151;
}

.durum-hucre-cubuk {
  border: 0;
  border-right: 1px solid var(--kenar-acik);
  padding: 3px 10px;
}

.durum-cubugu button,
.durum-cubugu button:active:not(:disabled) {
  min-height: 26px;
  margin-left: 4px;
  padding: 2px 10px;
}

button.durum-hucre-cubuk {
  background: #ffffff;
  border: 1px solid var(--kenar-acik);
  box-shadow: none;
}

button.durum-hucre-cubuk.sari,
button.durum-hucre-cubuk.sari:hover {
  background: var(--az);
  border-color: #ecd29b;
}

button.durum-hucre-cubuk.pembe,
button.durum-hucre-cubuk.pembe:hover {
  background: var(--doldu);
  border-color: #f0bcb8;
}

button.durum-hucre-cubuk[aria-pressed="true"] {
  border-color: var(--lacivert);
  box-shadow: 0 0 0 1px var(--lacivert);
}

.durum-hucre-cubuk.kirmizi {
  background: #b3261e;
  color: #ffffff;
}

.ortu {
  background: rgba(20, 16, 36, 0.42);
}

.pencere {
  background: #ffffff;
  border: 1px solid #b9bfc9;
  outline: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17, 12, 36, 0.28);
}

.pencere-baslik {
  background: var(--ust);
  padding: 8px 8px 8px 14px;
}

.pencere-baslik h2 {
  font-size: 14px;
  font-weight: 600;
}

.pencere-baslik button,
.pencere-baslik button:active:not(:disabled),
.pencere-baslik button:hover:not(:disabled) {
  min-height: 24px;
  width: 26px;
  height: 24px;
  padding: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.pencere-baslik button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.pencere-icerik {
  padding: 14px 16px;
}

.pencere-alt {
  padding: 10px 16px;
  background: #f9fafb;
  border-top: 1px solid var(--kenar-acik);
}

.pencere-alt button {
  min-height: 34px;
}

.pencere-hata {
  margin: 0 16px 10px;
  border: 1px solid #f0bcb8;
  border-radius: 4px;
}

.bilgi-tablosu th {
  background: #f9fafb;
}

.kasa-tablosu thead th {
  text-align: right;
}

.grup {
  background: #ffffff;
  border: 1px solid #dfe2e7;
  border-radius: 6px;
  box-shadow: none;
}

.ayar-sayfasi {
  background: #f6f7f9;
}

.secim-yuzu {
  background: #ffffff;
  border: 1px solid var(--kenar);
  border-radius: 4px;
  box-shadow: none;
}

.secim input:checked + .secim-yuzu {
  background: var(--lacivert);
  border-color: var(--lacivert);
  box-shadow: none;
}

.secim input:focus + .secim-yuzu {
  outline: 2px solid var(--lacivert);
  outline-offset: 2px;
}

.tutar-satiri {
  border: 1px solid #dfe2e7;
  border-radius: 6px;
}

.tutar-satiri .tutar {
  font-family: Bahnschrift, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
}

.kisi-bileklik {
  border: 2px solid var(--lacivert);
  border-radius: 6px;
}

.kisi-bilgi {
  border: 1px solid #dfe2e7;
  border-radius: 6px;
}

.talep-serit {
  background: #fff1cc;
  border-top: 0;
  border-bottom: 1px solid #e3b84f;
  padding: 7px 14px;
}

.veli-karti {
  background: #ffffff;
  border: 1px solid #dfe2e7;
  border-radius: 6px;
  overflow: hidden;
}

.kart-baslik {
  background: var(--ust);
  padding: 7px 8px 7px 12px;
}

.kart-baslik button,
.kart-baslik button:active:not(:disabled),
.kart-baslik button:hover:not(:disabled) {
  width: 26px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.yogunluk-tablosu td.yog-1 {
  background: #eef2f7;
}

.yogunluk-tablosu td.yog-2 {
  background: #d3deeb;
}

.yogunluk-tablosu td.yog-3 {
  background: #aebbcc;
}

.yogunluk-tablosu td.yog-4 {
  background: #41606a;
  color: #ffffff;
}

.yogunluk-tablosu td.yog-5 {
  background: var(--ust);
  color: #ffffff;
}

.sayfa-yukleniyor {
  background: #ffffff;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
}

.yonetim-govde {
  padding: 10px 12px;
  background: #f1f2f5;
}

.giris-sayfasi {
  background: var(--ust);
}

.giris-penceresi {
  width: 390px;
  border: 0;
}

.giris-penceresi .pencere-baslik {
  padding: 13px 18px;
  background: #ffffff;
  color: var(--ust);
  border-bottom: 3px solid var(--lacivert);
}

.giris-penceresi .pencere-baslik h2 {
  font-size: 16px;
}

.giris-penceresi .pencere-icerik {
  padding: 20px 18px 14px;
}

#arac-cikis:not(:disabled) {
  background: var(--ust);
  border-color: var(--ust);
  color: #ffffff;
}

#arac-cikis:not(:disabled):hover {
  background: #111920;
}

#arac-cikis:not(:disabled) .tus {
  color: #d3deeb;
}

#arac-uzat:not(:disabled) {
  border-color: var(--lacivert);
  color: var(--ana-koyu);
}

.arac-cubugu button:not(.arac-ikincil) {
  min-height: 42px;
  font-size: 14px;
}

table.veri td {
  font-size: 13.5px;
}

table.veri td.sure {
  font-size: 18px;
}

.ozet-seridi strong {
  font-size: 22px;
}

.secim-grubu:not(.odeme) {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.secim-grubu.odeme.uclu {
  grid-template-columns: repeat(2, minmax(96px, 1fr));
}

.secim-grubu.odeme.uclu .secim:last-child {
  grid-column: 1 / -1;
}

.baslik-cubugu .program-adi {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#baslik-isletme {
  flex: 0 1 auto;
  border: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#baslik-isletme + .program-adi {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#baslik-isletme + .program-adi::before {
  content: '-';
  margin-right: 8px;
}

.sekmeler [role='tab'][aria-selected='true'] {
  box-shadow: inset 0 -3px 0 var(--vurgu);
}

.pencere-baslik {
  border-bottom: 3px solid var(--vurgu);
}

@media (pointer: coarse) {
  button,
  .dugme {
    min-height: 36px;
  }
}

@media (max-width: 1279px) {
  .sekmeler button,
  .sekmeler button:active:not(:disabled),
  .sekmeler button:hover:not(:disabled) {
    padding-left: 6px;
    padding-right: 6px;
  }

  .arac-cubugu button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .ozet-seridi > .ozet-oge {
    min-width: 120px;
  }

  .durum-hucre-cubuk {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .ozet-seridi {
    display: none;
  }
}

.durum-cubugu #durum-iceride,
.durum-cubugu #durum-dolan,
.durum-cubugu #durum-az {
  display: none;
}
