/* Main styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

/* Sidebar styles */
#sidebar {
  min-height: 100vh;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

#sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
}

#sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Card styles */
.card {
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
}

.card-header {
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Table styles */
.table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

/* Form styles */
.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button styles */
.btn {
  border-radius: 0.25rem;
  font-weight: 500;
}

/* Badge styles */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  #sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    width: 100%;
    overflow-y: auto;
  }
}

/* Dashboard cards */
.card-counter {
  box-shadow: 2px 2px 10px #dadada;
  padding: 20px 10px;
  background-color: #fff;
  height: 100px;
  border-radius: 5px;
  transition: .3s linear all;
}

.card-counter:hover {
  box-shadow: 4px 4px 20px #dadada;
  transition: .3s linear all;
}

.card-counter i {
  font-size: 5em;
  opacity: 0.2;
}

.card-counter .count-numbers {
  position: absolute;
  right: 35px;
  top: 20px;
  font-size: 32px;
  display: block;
}

.card-counter .count-name {
  position: absolute;
  right: 35px;
  top: 65px;
  font-style: italic;
  text-transform: capitalize;
  opacity: 0.5;
  display: block;
  font-size: 18px;
}

/* Login page */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-form {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  margin: auto;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  body {
    padding: 0;
    margin: 0;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
  }

  .table {
    width: 100% !important;
  }
}

/* Bildirim listesi için stil düzeltmeleri - sadece bildirim alanlarını hedefler */
.card .list-group-item-action,
.notifications-list .list-group-item-action,
.dashboard-notifications .list-group-item-action {
  color: #212529 !important; /* Koyu metin rengi */
  opacity: 1 !important; /* Tam opaklık */
}

.card .list-group-item-action small,
.card .list-group-item-action p,
.card .list-group-item-action .mb-1,
.notifications-list .list-group-item-action small,
.notifications-list .list-group-item-action p,
.notifications-list .list-group-item-action .mb-1,
.dashboard-notifications .list-group-item-action small,
.dashboard-notifications .list-group-item-action p,
.dashboard-notifications .list-group-item-action .mb-1 {
  color: #212529 !important; /* Alt metinler için de koyu renk */
  opacity: 0.9 !important; /* Biraz daha az opaklık ama hala okunabilir */
}

.card .list-group-item-action:hover,
.notifications-list .list-group-item-action:hover,
.dashboard-notifications .list-group-item-action:hover {
  background-color: #f8f9fa; /* Hover durumunda arka plan rengi */
}

/* Bildirim başlıkları için stil */
.card .list-group-item-action h6.mb-1,
.notifications-list .list-group-item-action h6.mb-1,
.dashboard-notifications .list-group-item-action h6.mb-1 {
  font-weight: 600 !important; /* Başlıkları daha kalın yap */
  color: #000 !important; /* Başlıklar için daha koyu renk */
}

/* Bildirim içeriği için stil */
.card .list-group-item-action p.mb-1,
.notifications-list .list-group-item-action p.mb-1,
.dashboard-notifications .list-group-item-action p.mb-1 {
  color: #333 !important; /* İçerik metni için koyu renk */
}

/* Bildirim alt bilgileri için stil */
.card .list-group-item-action small,
.notifications-list .list-group-item-action small,
.dashboard-notifications .list-group-item-action small {
  color: #6c757d !important; /* Alt bilgiler için orta ton gri */
}
