:root {
  --kirmizi: #c3002f;
  --mavi: #0d6efd;
  --beyaz: #ffffff;
  --acik: #f8f9fa;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  max-width: 100%;
}

.bg-kirmizi {
  background-color: var(--kirmizi) !important;
}
.text-kirmizi {
  color: var(--kirmizi) !important;
}
.bg-acik {
  background-color: var(--acik) !important;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.card-header {
  border-radius: 12px 12px 0 0 !important;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.kart-sayi {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--kirmizi);
  margin-bottom: 0.5rem;
}
.kart-baslik {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}
.btn-kirmizi {
  background-color: var(--kirmizi);
  color: #fff;
  border: none;
}
.btn-kirmizi:hover {
  background-color: #a80028;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(195, 0, 47, 0.3);
}

.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-nav {
  align-items: center;
}
.nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.nav-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}
.nav-link svg {
  vertical-align: middle;
  transition: transform 0.2s;
}
.nav-link:hover svg {
  transform: scale(1.1);
}
.dropdown-item svg {
  vertical-align: middle;
}
.navbar-text {
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85) !important;
}
.dropdown-toggle {
  color: rgba(255, 255, 255, 0.95) !important;
}
.dropdown-toggle:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.bolum-kart {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s;
  background: white;
}
.bolum-kart:hover {
  border-color: var(--kirmizi);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(195, 0, 47, 0.15);
}
.bolum-kart h5 {
  color: var(--kirmizi);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.takvim-container {
  background: #2f3a56;
  border-radius: 16px;
  padding: 2rem;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}
.takvim-baslik {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}
.takvim-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}
.takvim-nav button {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s;
}
.takvim-nav button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.gun-baslik {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  width: 100%;
}
.gun-baslik > div {
  box-sizing: border-box;
}
.takvim-gunler {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  box-sizing: border-box;
  width: 100%;
}
.hafta-no {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  opacity: 0.5;
  font-size: 1rem;
}
.gun-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 50px;
  box-sizing: border-box;
  max-width: 100%;
}
.gun-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.gun-item.bos {
  opacity: 0.25;
  cursor: default;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.gun-item.bos:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}
.gun-item.var-slot {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.2) 100%);
  border: 3px solid #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.gun-item.var-slot:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.3) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4), 0 6px 12px rgba(0, 0, 0, 0.25);
}
.gun-item.secili {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
  color: #2f3a56 !important;
  border: 3px solid white !important;
  font-weight: 700;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}
.gun-item.secili.var-slot {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.5), 0 6px 16px rgba(16, 185, 129, 0.3) !important;
}
.gun-item .badge-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.5);
  border: 2px solid #2f3a56;
}

.secilen-gun-panel {
  background: #2f3a56;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}
.secilen-gun-baslik {
  text-align: center;
  margin-bottom: 2rem;
}
.secilen-gun-baslik h5 {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.gun-takvim-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gun-takvim-icon .gun-no {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.gun-takvim-icon .ay {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.secilen-gun-baslik .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
.slot-liste {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.slot-liste::-webkit-scrollbar {
  width: 6px;
}
.slot-liste::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.slot-liste::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.slot-liste::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.slot-item {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.slot-item:hover {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.slot-item.dolu {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.slot-item.dolu:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}
.slot-saat {
  font-weight: 600;
  color: #10b981;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.slot-durum {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.secilen-gun-panel .alert {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}
.secilen-gun-panel .alert-warning {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}
.secilen-gun-panel .alert-info {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}
.secilen-gun-panel .text-center.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

#haftalikTakvim table th {
  background: linear-gradient(135deg, #c3002f 0%, #a80028 100%);
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
#haftalikTakvim table td {
  padding: 1rem;
  vertical-align: top;
  background-color: #fafbfc;
}

#haftaBaslik {
  font-size: 1.25rem;
  color: var(--kirmizi);
  font-weight: 600;
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.625rem 0.875rem;
  transition: all 0.2s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--mavi);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-check-input:checked {
  background-color: var(--kirmizi);
  border-color: var(--kirmizi);
}
.form-check-label strong {
  color: #2c3e50;
}
.form-check-label small {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.1rem;
}

.stat-card {
  transition: transform 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.modal-header {
  background: linear-gradient(135deg, var(--kirmizi) 0%, #a80028 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.5rem;
}
.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.slot-btn {
  width: 100%;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border: 1px solid;
  cursor: pointer;
}
.slot-available {
  background-color: #d9fcd9;
  color: #198754;
  border-color: #b5e8b5;
}
.slot-available:hover {
  background-color: #c1f7c1;
  transform: scale(1.05);
}
.slot-unavailable {
  background-color: #fcd9d9;
  color: #dc3545;
  border-color: #e7a8a8;
}
.slot-unavailable:hover {
  background-color: #f7c1c1;
  transform: scale(1.05);
}
.kapasite-input {
  max-width: 70px;
  margin: 0 auto;
}

.table-hover tbody tr:hover {
  background-color: rgba(195, 0, 47, 0.05);
}

.display-6 {
  font-size: 2.5rem;
  font-weight: 700;
}

.rounded-circle {
  font-weight: 600;
}

.badge {
  padding: 0.45em 0.75em;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.btn-group-sm .btn {
  padding: 0.4rem 0.65rem;
}

.btn-outline-success:hover {
  background-color: #198754;
  border-color: #198754;
  color: white;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.card-header.bg-white {
  background-color: #ffffff !important;
  border-bottom: 2px solid #f0f0f0;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.4s ease-in-out;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--kirmizi) 0%, #a80028 100%) !important;
}

.galeri-upload-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px dashed #dee2e6;
  transition: all 0.3s ease;
}

.galeri-upload-section:hover {
  border-color: var(--kirmizi);
  background: #fff5f5;
}

.galeri-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.galeri-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 0, 47, 0.2);
  border-color: var(--kirmizi);
}

.galeri-item .card-img-top {
  transition: none;
  overflow: hidden;
}

.galeri-item .position-absolute .btn {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .position-absolute .btn {
  opacity: 1;
}

.galeri-item .badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
  border-radius: 6px;
}

.btn-group .btn.active {
  background-color: var(--kirmizi);
  color: white;
  border-color: var(--kirmizi);
}

.form-label {
  color: #495057;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-label svg {
  color: var(--kirmizi);
}

.form-control[type="file"] {
  padding: 0.5rem;
}

.form-control[type="file"]::-webkit-file-upload-button {
  background: var(--kirmizi);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
  background: #a80028;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.text-center.py-5 {
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
}

.text-center.py-5 svg {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .galeri-upload-section .row {
    flex-direction: column;
  }

  .galeri-upload-section .col-lg-4,
  .galeri-upload-section .col-lg-3,
  .galeri-upload-section .col-lg-2 {
    margin-bottom: 1rem;
  }

  .galeri-item .card-img-top {
    height: 150px !important;
  }

  .galeri-item .position-absolute .btn {
    opacity: 1;
  }
}

.bg-gradient-kirmizi {
  background: linear-gradient(135deg, #c3002f 0%, #8b0021 100%);
}

.welcome-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(195, 0, 47, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(195, 0, 47, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.logo-showcase {
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(195, 0, 47, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(195, 0, 47, 0.15);
  border-color: var(--kirmizi);
}

.feature-card-compact {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  height: 100%;
}

.feature-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(195, 0, 47, 0.12);
  border-color: var(--kirmizi);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.feature-icon-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bolum-liste-container {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 10px;
}

.bolum-liste-container::-webkit-scrollbar {
  width: 8px;
}

.bolum-liste-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.bolum-liste-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.bolum-liste-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bolum-liste-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.bolum-liste-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bolum-liste-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bolum-liste-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bolum-liste-icon svg {
  fill: white;
}

@media (max-width: 991px) {
  .bolum-liste-item {
    padding: 1rem;
  }

  .bolum-liste-item .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .bolum-liste-img,
  .bolum-liste-icon {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .bolum-liste-item h5 {
    font-size: 1.25rem;
  }

  .bolum-liste-item p {
    font-size: 0.9rem;
  }

  .bolum-liste-item .d-flex.gap-2 {
    flex-direction: row !important;
    justify-content: center;
    width: 100%;
  }

  .bolum-liste-item .btn {
    flex: 1;
    max-width: 150px;
  }
}

.floating-admin-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--kirmizi) 0%, #8b0021 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(195, 0, 47, 0.3);
  transition: all 0.3s ease;
  z-index: 9999;
  text-decoration: none;
}

.floating-admin-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 32px rgba(195, 0, 47, 0.5);
  color: white;
}

.floating-admin-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.dashboard-card {
  transition: all 0.3s ease;
  border: none;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.dashboard-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-action-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Dropdown görünürlük düzeltmeleri (kart içinde kesilmeyi engelle) */
.quick-action-card {
  overflow: visible;
}
.quick-action-card .dropdown {
  position: static;
}
.quick-action-card .dropdown-menu {
  z-index: 2000;
}

.quick-action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.quick-action-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.list-group-item {
  border-left: none;
  border-right: none;
  transition: background-color 0.2s ease;
}

.list-group-item:first-child {
  border-top: none;
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item:hover {
  background-color: #f8f9fa;
}

.app-sidebar {
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #c3002f 0%, #8b0021 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Sol panel scrollbar stilleri */
.app-sidebar::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.app-sidebar::-webkit-scrollbar-thumb {
  background: rgba(195, 0, 47, 0.6);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.app-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(195, 0, 47, 0.8);
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.sidebar-logo {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.sidebar-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sidebar-brand-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sidebar-brand-text:hover {
  opacity: 0.9;
}

.sidebar-menu {
  padding: 1.5rem 1rem;
  flex: 1;
  overflow-y: auto;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Sidebar menü scrollbar stilleri */
.sidebar-menu::-webkit-scrollbar {
  width: 6px;
}

.sidebar-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(195, 0, 47, 0.5);
  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(195, 0, 47, 0.7);
}

.sidebar-nav-item {
  margin-bottom: 0.35rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.sidebar-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-nav-link:hover::before {
  transform: scaleY(1);
}

.sidebar-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
}

.sidebar-submenu-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  border-left-color: white;
}

.sidebar-nav-link.active::before {
  transform: scaleY(1);
}

.sidebar-nav-link svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sidebar-nav-link:hover svg {
  transform: scale(1.1);
}

.sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-collapse-btn svg {
  margin-right: 0.85rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.sidebar-collapse-btn:hover svg:not(.chevron) {
  transform: scale(1.08);
}

.sidebar-collapse-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Eski chevron stilleri kaldırıldı - yeni stiller aşağıda */

.sidebar-submenu {
  padding: 0.75rem 0.5rem 0.75rem 1rem;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.sidebar-submenu-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid transparent;
}

.sidebar-submenu-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(4px);
  border-left-color: white;
}

.sidebar-submenu-link svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Bölüm alt menü stilleri */
.bolum-item-wrapper .btn-link {
  text-decoration: none;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

.bolum-item-wrapper .btn-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.bolum-item-wrapper .btn-link:focus {
  box-shadow: none;
  outline: none;
}

/* Eski bölüm chevron stilleri kaldırıldı - yeni stiller aşağıda */

.bolum-item-wrapper a {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

.bolum-item-wrapper a:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  padding-left: 1.25rem !important;
}

.bolum-item-wrapper a.bg-white.bg-opacity-25 {
  background: rgba(255, 255, 255, 0.25) !important;
  font-weight: 600 !important;
}

.sidebar-footer {
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex-shrink: 0;
}

.sidebar-signature {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  margin-top: auto;
  position: relative;
  flex-shrink: 0;
}

.signature-text {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  animation: signature-glow 3s ease-in-out infinite;
}

.signature-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  line-height: 1.4;
}

@keyframes signature-glow {
  0%,
  100% {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

.sidebar-copyright {
  text-align: center;
  padding: 1rem 1rem 0.5rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  flex-shrink: 0;
}

.sidebar-footer .btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar-footer .btn:hover {
  background: white;
  color: var(--kirmizi);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-footer .btn svg {
  margin-right: 0.5rem;
}

.sidebar-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1rem 0;
}

.app-content {
  flex: 1;
  min-width: 0;
  margin-left: 300px;
  background: #ffffff;
}

@media (max-width: 991px) {
  .app-content {
    margin-left: 0;
  }

  .app-sidebar {
    position: fixed;
    left: -300px;
    transition: left 0.3s ease;
    height: 100vh;
    overflow-y: auto;
  }

  .app-sidebar.show {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .sidebar-overlay.show {
    display: block;
  }

  .mobile-sidebar-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 998;
    width: 45px;
    height: 45px;
    background: var(--kirmizi);
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(195, 0, 47, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .mobile-sidebar-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(195, 0, 47, 0.4);
  }
}

@media (min-width: 992px) {
  .mobile-sidebar-toggle {
    display: none;
  }
}

@media (max-width: 991px) {
  body {
    overflow-x: hidden;
  }

  .d-flex {
    max-width: 100%;
  }

  .app-content {
    padding: 1rem 0 !important;
    max-width: 100vw;
    margin-top: 60px;
  }

  .app-content .container {
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    overflow-x: hidden;
  }

  .takvim-container,
  .secilen-gun-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.75rem !important;
    overflow-x: hidden;
  }

  .row.g-4.align-items-stretch {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
  }

  .row.g-4.align-items-stretch > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }

  .takvim-baslik {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
  }

  .takvim-nav {
    gap: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .takvim-nav button {
    padding: 0.4rem 0.6rem !important;
    font-size: 1.1rem !important;
  }

  .takvim-gunler {
    gap: 0.2rem !important;
    padding: 0.2rem !important;
  }

  .gun-baslik {
    gap: 0.2rem !important;
    font-size: 0.7rem !important;
    padding: 0.4rem 0 !important;
  }

  .gun-item {
    min-height: 38px !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
  }

  .gun-item .badge-count {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.65rem !important;
    top: -5px !important;
    right: -5px !important;
  }
}

@media (max-width: 768px) {
  .kart-sayi {
    font-size: 1.75rem;
  }
  .takvim-container {
    padding: 1.5rem;
  }
  .takvim-baslik {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .gun-baslik {
    font-size: 0.8rem;
    padding: 0.75rem 0;
  }
  .gun-item {
    font-size: 0.95rem;
    min-height: 45px;
  }
  .secilen-gun-panel {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  #haftalikTakvim table th {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
  .slot {
    min-height: 60px;
    padding: 0.5rem !important;
  }
  .display-6 {
    font-size: 1.75rem;
  }
  .table-responsive {
    font-size: 0.875rem;
  }
  .dashboard-icon {
    width: 48px;
    height: 48px;
  }
  .quick-action-icon {
    width: 72px;
    height: 72px;
  }
}

/* Bölüm Kartları Stilleri */
.bolum-kart {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bolum-kart .card {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.bolum-kart .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.bolum-kart.aktif .card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15) !important;
}

/* ===================================================================
   PROJE GENELİ FONT VE BOYUT STANDARTLARİ
   ================================================================= */

/* Ana başlıklar - daha küçük ve tutarlı */
h1,
.h1 {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
}

h2,
.h2 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.875rem !important;
}

h3,
.h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.75rem !important;
}

h4,
.h4 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.75rem !important;
}

h5,
.h5 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.625rem !important;
}

h6,
.h6 {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.5rem !important;
}

/* Form elemanları - daha kompakt */
.form-label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.375rem !important;
  color: #495057 !important;
}

.form-control,
.form-select {
  font-size: 0.875rem !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px !important;
  border: 1px solid #dee2e6 !important;
  transition: all 0.2s ease !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--kirmizi) !important;
  box-shadow: 0 0 0 0.2rem rgba(195, 0, 47, 0.15) !important;
}

.form-control-sm,
.form-select-sm {
  font-size: 0.8rem !important;
  padding: 0.375rem 0.625rem !important;
}

/* Butonlar - daha kompakt */
.btn {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.btn-sm {
  font-size: 0.8rem !important;
  padding: 0.375rem 0.75rem !important;
}

.btn-lg {
  font-size: 1rem !important;
  padding: 0.75rem 1.5rem !important;
}

/* Kart başlıkları */
.card-header {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0.875rem 1.125rem !important;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}

/* Tablo başlıkları */
.table th {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.table td {
  font-size: 0.875rem !important;
  padding: 0.75rem !important;
}

/* Alert mesajları */
.alert {
  font-size: 0.875rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 6px !important;
}

/* Badge'ler */
.badge {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  padding: 0.375rem 0.625rem !important;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem !important;
  margin-bottom: 1rem !important;
}

/* Nav linkler */
.nav-link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
}

/* Dropdown menüler */
.dropdown-item {
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem !important;
}

/* Modal başlıkları */
.modal-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
}

.modal-body {
  font-size: 0.875rem !important;
}

/* Pagination */
.page-link {
  font-size: 0.875rem !important;
  padding: 0.5rem 0.75rem !important;
}

/* List group */
.list-group-item {
  font-size: 0.875rem !important;
  padding: 0.75rem 1rem !important;
}

/* Tooltip ve Popover */
.tooltip {
  font-size: 0.8rem !important;
}

.popover {
  font-size: 0.875rem !important;
}

/* Progress bar */
.progress {
  height: 0.75rem !important;
  font-size: 0.75rem !important;
}

/* Sidebar özel stilleri - Tutarlı boyutlar */
.sidebar-nav-link {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 1rem 1.25rem !important;
  line-height: 1.4 !important;
}

.sidebar-nav-link span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

.sidebar-collapse-btn {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 1rem 1.25rem !important;
  line-height: 1.4 !important;
}

.sidebar-collapse-btn span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

.sidebar-submenu-link {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 0.85rem 1rem 0.85rem 1.25rem !important;
  line-height: 1.4 !important;
}

/* Chevron ikonları için tutarlı davranış - Varsayılan kapalı (aşağı) */
.sidebar-collapse-btn .chevron {
  transition: transform 0.3s ease !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  transform: rotate(0deg) !important; /* Varsayılan: aşağı doğru */
}

.sidebar-collapse-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg) !important; /* Açık: yukarı doğru */
}

.sidebar-collapse-btn.collapsed .chevron,
.sidebar-collapse-btn[aria-expanded="false"] .chevron {
  transform: rotate(0deg) !important; /* Kapalı: aşağı doğru */
}

/* Bölüm alt menü butonları için özel stiller */
.bolum-item-wrapper .btn-link {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 0.75rem 1rem !important;
  line-height: 1.4 !important;
}

.bolum-item-wrapper .btn-link .chevron {
  transition: transform 0.3s ease !important;
  transform: rotate(0deg) !important; /* Varsayılan: aşağı doğru */
}

.bolum-item-wrapper .btn-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg) !important; /* Açık: yukarı doğru */
}

.bolum-item-wrapper .btn-link.collapsed .chevron,
.bolum-item-wrapper .btn-link[aria-expanded="false"] .chevron {
  transform: rotate(0deg) !important; /* Kapalı: aşağı doğru */
}

/* Alt menü linkleri için tutarlı stiller */
.bolum-item-wrapper a {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  padding: 0.75rem 1rem !important;
  line-height: 1.4 !important;
}

/* Tüm sidebar menü öğeleri için tutarlı görünüm */
.sidebar-nav-item {
  margin-bottom: 0.5rem !important;
}

.sidebar-nav-item:last-child {
  margin-bottom: 0 !important;
}

/* Sidebar menü ikonları için tutarlı boyutlar */
.sidebar-nav-link svg,
.sidebar-collapse-btn svg:not(.chevron),
.sidebar-submenu-link svg {
  width: 20px !important;
  height: 20px !important;
  margin-right: 0.75rem !important;
  flex-shrink: 0 !important;
}

.sidebar-submenu-link svg {
  width: 16px !important;
  height: 16px !important;
  margin-right: 0.75rem !important;
}

/* Chevron ikonları için özel boyut */
.sidebar-collapse-btn .chevron,
.bolum-item-wrapper .btn-link .chevron {
  width: 16px !important;
  height: 16px !important;
  margin-right: 0 !important;
  margin-left: auto !important;
}

/* Sidebar submenu için tutarlı padding */
.sidebar-submenu {
  padding: 0.5rem 0 !important;
  margin-top: 0.25rem !important;
}

/* Bölüm wrapper'ları için tutarlı margin */
.bolum-item-wrapper {
  margin-bottom: 0.5rem !important;
}

.bolum-item-wrapper:last-child {
  margin-bottom: 0 !important;
}

/* İç içe geçmiş sidebar menüleri için özel stiller */
.sidebar-submenu .sidebar-nav-item {
  margin-bottom: 0.25rem !important;
}

.sidebar-submenu .sidebar-nav-item:last-child {
  margin-bottom: 0 !important;
}

.sidebar-submenu .sidebar-collapse-btn {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  margin-bottom: 0.25rem !important;
}

.sidebar-submenu .sidebar-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.sidebar-submenu .sidebar-collapse-btn svg:not(.chevron) {
  width: 16px !important;
  height: 16px !important;
}

.sidebar-submenu .sidebar-submenu {
  padding-left: 1rem !important;
  border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
  margin-left: 0.5rem !important;
}

/* Kompakt spacing */
.mb-1 {
  margin-bottom: 0.25rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 0.75rem !important;
}
.mb-4 {
  margin-bottom: 1rem !important;
}
.mb-5 {
  margin-bottom: 1.25rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-3 {
  margin-top: 0.75rem !important;
}
.mt-4 {
  margin-top: 1rem !important;
}
.mt-5 {
  margin-top: 1.25rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}
.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* İkon boyutları */
.icon-sm {
  width: 14px !important;
  height: 14px !important;
}
.icon-md {
  width: 16px !important;
  height: 16px !important;
}
.icon-lg {
  width: 20px !important;
  height: 20px !important;
}
.icon-xl {
  width: 24px !important;
  height: 24px !important;
}

/* Responsive font boyutları */
@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 1.5rem !important;
  }
  h2,
  .h2 {
    font-size: 1.25rem !important;
  }
  h3,
  .h3 {
    font-size: 1.125rem !important;
  }
  h4,
  .h4 {
    font-size: 1rem !important;
  }
  h5,
  .h5 {
    font-size: 0.9rem !important;
  }
  h6,
  .h6 {
    font-size: 0.8rem !important;
  }

  .form-control,
  .form-select {
    font-size: 0.8rem !important;
  }
  .btn {
    font-size: 0.8rem !important;
  }
  .table th,
  .table td {
    font-size: 0.8rem !important;
  }
}

/* Özel yardımcı sınıflar */
.text-compact {
  line-height: 1.2 !important;
}
.fw-medium {
  font-weight: 500 !important;
}
.fw-semibold {
  font-weight: 600 !important;
}
.small {
  font-size: 0.8rem !important;
}
.smaller {
  font-size: 0.75rem !important;
}
