/* Modern Önceki Faturalar Dropdown Stilleri */

.previous-bills-container {
  position: relative;
}

.modern-dropdown {
  min-width: 280px;
  max-height: 400px;
  overflow-y: auto;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-top: 5px;
  overflow-x: hidden;
}

.modern-dropdown .dropdown-header {
  color: #5c7cfa;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 20px 8px;
  margin: 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e9ecf9 100%);
}

.modern-dropdown .dropdown-header:first-child {
  border-radius: 8px 8px 0 0;
}

.modern-dropdown .divider {
  height: 1px;
  margin: 0;
  overflow: hidden;
  background-color: #e9ecef;
}

/* Yıl İtem Stilleri */
.bill-year-item {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  margin: 2px 0;
}

.bill-year-item:hover {
  background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
  border-left: 4px solid #364fc7;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(92, 124, 250, 0.3);
}

.bill-year-item:hover .year-link {
  color: rgb(13, 12, 12) !important;
  font-weight: 600;
}

.bill-year-item:hover .bill-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: rgb(15, 14, 14);
  transform: scale(1.05);
}

.year-link {
  display: block;
  padding: 15px 20px;
  color: #495057;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.year-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.year-text {
  font-size: 15px;
  font-weight: 500;
}

.bill-count-badge {
  background: #e9ecef;
  color: #6c757d;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Fatura İtem Stilleri */
.bill-item {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  margin: 1px 0;
}

.bill-item:hover {
  background: linear-gradient(135deg, #20c997 0%, #18b386 100%);
  border-left: 4px solid #0ca678;
  transform: translateX(5px);
  box-shadow: 0 3px 12px rgba(32, 201, 151, 0.3);
}

.bill-item:hover .bill-link {
  color: rgb(2, 2, 2) !important;
  font-weight: 600;
}

.bill-link {
  display: block;
  padding: 12px 20px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Geri Dön Link Stilleri */
.back-link {
  color: #6c757d !important;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 6px;
  margin: 5px 8px;
}

.back-link:hover {
  color: #5c7cfa !important;
  text-decoration: none;
  background: rgba(92, 124, 250, 0.1);
  transform: translateX(-3px);
  font-weight: 600;
}

.back-link:hover i {
  transform: translateX(-2px);
}

/* Boş Fatura Mesajı */
.no-bills {
  padding: 20px;
  text-align: center;
}

.no-bills .text-muted {
  color: #6c757d;
  font-style: italic;
  font-size: 13px;
}

/* Dropdown Button Stilleri */
#previous-bills-dropdown {
  border-radius: 6px;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s ease;
  border: 1px solid #5c7cfa;
}

#previous-bills-dropdown:hover {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  border-color: #364fc7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 111, 245, 0.3);
}

/* Margin Yardımcı Sınıfları */
.margin-right-5 {
  margin-right: 5px;
}

.margin-left-5 {
  margin-left: 5px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .modern-dropdown {
    min-width: 250px;
    max-height: 300px;
  }
  
  .year-link,
  .bill-link {
    padding: 8px 15px;
    font-size: 13px;
  }
  
  .modern-dropdown .dropdown-header {
    padding: 10px 15px 6px;
    font-size: 12px;
  }
}

/* Animasyonlar */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-dropdown {
  animation: fadeInDown 0.3s ease;
}

/* Scroll Bar Stilleri */
.modern-dropdown::-webkit-scrollbar {
  width: 6px;
}

.modern-dropdown::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 3px;
}

.modern-dropdown::-webkit-scrollbar-thumb {
  background: #c1c8d4;
  border-radius: 3px;
}

.modern-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a0a8b4;
} 