html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #eef4ff 0%, #f4f7fb 45%, #eef2f7 100%);
  color: #1f2937;
}

.yonetim-paneli {
  display: flex;
  min-height: 100vh;
}

.sol-menu {
  width: 250px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 1.5rem 1rem;
}

.marka {
  font-size: 1.3rem;
  font-weight: 700;
}

.alt-metin {
  font-size: 0.85rem;
  color: #94a3b8;
}

.menu-linkleri {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-baslik {
  margin-top: 0.8rem;
  margin-bottom: 0.15rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.menu-link {
  text-decoration: none;
  color: #cbd5e1;
  padding: 0.65rem 0.8rem;
  border-radius: 0.6rem;
  transition: all 0.2s ease;
}

.menu-link:hover {
  color: #fff;
  background-color: rgba(148, 163, 184, 0.2);
}

.menu-link.aktif {
  color: #fff;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.45), rgba(37, 99, 235, 0.25));
  border-left: 3px solid #60a5fa;
}

.icerik-alani {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ust-bar {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sayfa-baslik {
  font-size: 1.2rem;
  font-weight: 600;
}

.kullanici-rozet {
  background: #eef2ff;
  color: #4338ca;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.sayfa-govdesi {
  padding: 1.5rem;
}

.sayfa-govdesi > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sayfa-govdesi h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sayfa-govdesi form,
.sayfa-govdesi table,
.sayfa-govdesi .card,
.sayfa-govdesi .table-responsive {
  border-radius: 0.9rem;
}

.sayfa-govdesi form {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.sayfa-govdesi .table {
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.sayfa-govdesi .btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #1d4ed8;
}

.sayfa-govdesi .btn-success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: #15803d;
}

.kart-ozet,
.kart-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.kart-baslik {
  color: #64748b;
  font-size: 0.9rem;
}

.kart-deger {
  font-size: 1.8rem;
  font-weight: 700;
}

.kart-uyari .kart-deger {
  color: #dc2626;
}

.birim-gosterim {
  min-height: calc(1.5em + 0.75rem + 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  user-select: none;
  cursor: default;
}

.footer-alani {
  padding: 0.75rem 1.5rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.giris-sayfasi {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.giris-icerik {
  width: 100%;
  max-width: 900px;
}

.giris-kart {
  padding: 2rem 2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.giris-kart h4 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.giris-form .form-label {
  font-weight: 700;
  color: #374151;
  font-size: 0.95rem;
}

.giris-form .form-control {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  padding: 0.65rem 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.giris-form .form-control:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

.giris-form .form-check-input {
  width: 1.1em;
  height: 1.1em;
  border-radius: 0.4em;
}

.giris-form .btn {
  border-radius: 0.8rem;
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}

.giris-form .btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #1d4ed8;
}

.giris-form .btn-outline-secondary {
  border-radius: 0.8rem;
  border-width: 2px;
}

@media (max-width: 991px) {
  .yonetim-paneli {
    flex-direction: column;
  }

  .sol-menu {
    width: 100%;
  }
}