* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.45 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #f4f6fa;
  color: #1f2a37;
  display: flex;
  min-height: 100vh;
}
.logo {
  font-size: 18px;
  font-weight: 600;
  color: #1f2a37;
}
.logo b {
  color: #2563eb;
}
aside {
  width: 230px;
  background: #fff;
  border-right: 1px solid #e5e9f0;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
}
nav a.aktif,
nav a:hover {
  background: #eef2ff;
  color: #1d4ed8;
}
.cikis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}
main {
  flex: 1;
  padding: 24px 28px;
  min-width: 0;
}
h1 {
  font-size: 20px;
  margin: 0 0 16px;
}
h2 {
  font-size: 15px;
  margin: 22px 0 10px;
}
.kart {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th,
td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  background: #fafbfc;
}
button,
.btn {
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 7px 12px;
  font: inherit;
  cursor: pointer;
}
button.ikinci {
  background: #eef2ff;
  color: #1d4ed8;
}
button.tehlike {
  background: #fee2e2;
  color: #b91c1c;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.rozet {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.ok {
  background: #dcfce7;
  color: #166534;
}
.yok {
  background: #fee2e2;
  color: #991b1b;
}
.gri {
  background: #eef1f5;
  color: #4b5563;
}
.secim {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
select,
input,
textarea {
  font: inherit;
  padding: 7px 9px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
}
#modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  z-index: 10;
}
.pencere {
  background: #fff;
  border-radius: 12px;
  width: 520px;
  max-width: 94vw;
  padding: 20px;
  max-height: 85vh;
  overflow: auto;
}
.pencere label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #374151;
}
.pencere input,
.pencere select,
.pencere textarea {
  width: 100%;
  margin-top: 4px;
}
.pencere .alt {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.not {
  font-size: 12px;
  color: #6b7280;
}
#bildirim {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  max-width: 420px;
  z-index: 20;
}
code {
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 12px;
  word-break: break-all;
}
body.giris {
  align-items: center;
  justify-content: center;
}
.giris-kart {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  width: 340px;
  border: 1px solid #e5e9f0;
}
.giris-kart .logo {
  margin-bottom: 18px;
}
.giris-kart label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
}
.giris-kart input {
  width: 100%;
  margin-top: 4px;
}
.giris-kart button {
  width: 100%;
  padding: 10px;
}
.uyari {
  background: #fee2e2;
  color: #991b1b;
  padding: 9px 11px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}
