:root{
  /* Landing Page ile Tutarlı Renk Paleti */
  --page-bg:#0a0e27;        /* Dark Blue Background */
  --card-bg:rgba(255, 255, 255, 0.08);        /* Glass Effect */

  /* Sidebar - Landing ile Aynı */
  --sb-bg:rgba(10, 14, 39, 0.9);          /* Dark Blue with transparency */
  --sb-text:#FFFFFF;        /* Sidebar başlığı */
  --menu-passive-text:rgba(255, 255, 255, 0.7); /* Pasif link */
  --menu-active-bg:#DC3545; /* Kırmızı - Landing ile aynı */
  --menu-active-text:#FFFFFF;
  --menu-hover-bg:rgba(220, 53, 69, 0.2); /* Kırmızı hover */
  --menu-hover-text:#E85D75;
  --menu-second-bg:rgba(10, 14, 39, 0.8);
  --menu-second-text:rgba(255, 255, 255, 0.6);
  --menu-icon-active:#E85D75;
  --menu-icon-passive:rgba(255, 255, 255, 0.5);

  /* Tipografi */
  --header-text:#FFFFFF;    /* Ana metin - beyaz */
  --desc-text:rgba(255, 255, 255, 0.7);

  /* Butonlar - Landing ile Aynı */
  --primary:#DC3545;        /* Kırmızı */
  --secondary:#00B4DB;      /* Mavi */
  --primary-hover:#E85D75;  /* Açık Kırmızı */
  --secondary-hover:#0083B0;

  /* Vurgu ve Durum */
  --accent:#E85D75;         /* Açık Kırmızı */
  --success:#4ade80;        /* Yeşil */
  --error:#f87171;          /* Kırmızı */
  --warning:#fbbf24;        /* Sarı */

  /* Tablo & Input */
  --table-head-bg:rgba(255, 255, 255, 0.1);
  --table-row-hover:rgba(220, 53, 69, 0.1);
  --input-border:rgba(255, 255, 255, 0.2);
  --input-focus:#DC3545;

  /* Admin dashboard colours - Landing Paleti */
  --admin-color-1:#00B4DB;  /* Mavi */
  --admin-color-2:#DC3545;  /* Kırmızı */
  --admin-color-3:#4ade80;  /* Yeşil */
  --admin-color-4:#fbbf24;  /* Sarı */
  --admin-color-5:#E85D75;  /* Açık Kırmızı */

  --sb-hover:rgba(220, 53, 69, 0.15);
}

/* Base */
body.admin-panel{
  background: linear-gradient(135deg, #0a0e27 0%, #16213e 50%, #0f3460 100%);
  color:var(--header-text);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
  
  /* Android PWA için tam ekran */
  height: 100vh;
  height: -webkit-fill-available;
  overflow: hidden;
}

html {
  height: -webkit-fill-available;
}

body.admin-panel::before {
  content: '';
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: -webkit-fill-available;
  background: 
    radial-gradient(circle at 15% 50%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(0, 180, 219, 0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* PWA Fullscreen Mode için */
@media all and (display-mode: standalone),
       all and (display-mode: fullscreen) {
  body.admin-panel {
    margin: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  
  html {
    overflow: hidden;
  }
}

/* Glassmorphism Effects */
.card, .sticky-sidebar .card {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(220, 53, 69, 0.4) !important;
}

/* Sidebar */
.sticky-sidebar .card{
  background: rgba(46, 46, 46, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color:var(--menu-passive-text);
  transition: all 0.3s ease;
}

.sticky-sidebar .card-header{
  background: rgba(220, 53, 69, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border: none;
  border-bottom: 1px solid rgba(220, 53, 69, 0.3) !important;
  color:var(--sb-text) !important;
  border-radius: 16px 16px 0 0 !important;
}

/* Accordion Styles for Sidebar */
.sidebar-nav.accordion .accordion-item {
  background: transparent !important;
  border: none !important;
  margin-bottom: 4px;
}

.sidebar-nav .accordion-button {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.sidebar-nav .accordion-button:hover {
  background: rgba(220, 53, 69, 0.15) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
  color: #E85D75 !important;
}

.sidebar-nav .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(232, 93, 117, 0.15)) !important;
  border-color: rgba(220, 53, 69, 0.4) !important;
  color: #fff !important;
}

.sidebar-nav .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 1rem;
  height: 1rem;
  filter: brightness(0.8);
}

.sidebar-nav .accordion-body {
  background: transparent;
  padding: 4px 0 !important;
}

/* Collapsed Sidebar Mode */
.sticky-sidebar.collapsed {
  width: 70px !important;
}

.sticky-sidebar.collapsed .card-header h2,
.sticky-sidebar.collapsed .nav-link span,
.sticky-sidebar.collapsed .accordion-button {
  display: none !important;
}

.sticky-sidebar.collapsed .nav-link {
  text-align: center;
  justify-content: center;
  padding: 0.75rem;
}

.sticky-sidebar.collapsed .nav-link i {
  margin-right: 0 !important;
  font-size: 1.3rem;
}

.sticky-sidebar.collapsed .accordion-item {
  display: none;
}

.sticky-sidebar.collapsed ~ main {
  margin-left: 90px !important;
  width: calc(100% - 90px) !important;
}

.sidebar-nav .nav-link{
  background-color:transparent;
  color:var(--menu-link-color,var(--menu-passive-text))!important;
  border-radius: 10px;
  margin: 4px 8px;
  transition: all 0.3s ease;
}

.sidebar-nav .nav-link i{
  color:var(--menu-link-color,var(--menu-icon-passive))!important;
  transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover{
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(232, 93, 117, 0.15)) !important;
  color:var(--menu-hover-text)!important;
  transform: translateX(5px);
}

.sidebar-nav .nav-link:hover i{
  color:var(--menu-hover-text)!important;
}

.sidebar-nav .nav-link.active{
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
  color:var(--menu-active-text)!important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.sidebar-nav .nav-link.active i{
  color:var(--menu-active-text)!important;
}

/* secondary passive (if any class .nav-link.secondary) */
.sidebar-nav .nav-link.secondary{
  background-color:var(--menu-second-bg);
  color:var(--menu-second-text);
}

/* Cards - KÜÇÜLTÜLDÜ */
.card-header{
  background: rgba(220, 53, 69, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(220, 53, 69, 0.3) !important;
  color:var(--sb-text)!important;
  border-radius: 16px 16px 0 0 !important;
  padding: 12px 16px;
}

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

.card-body {
  background: transparent !important;
  padding: 16px;
}

/* Headings & descriptions - KÜÇÜLTÜLDÜ */
h1 { color:var(--header-text)!important; font-size: 1.75rem !important; }
h2 { color:var(--header-text)!important; font-size: 1.5rem !important; }
h3 { color:var(--header-text)!important; font-size: 1.25rem !important; }
h4 { color:var(--header-text)!important; font-size: 1.1rem !important; }
h5 { color:var(--header-text)!important; font-size: 1rem !important; }
h6, th { color:var(--header-text)!important; font-size: 0.9rem !important; }

small, .text-muted, label, p{
  color:var(--desc-text);
  font-size: 0.875rem;
}

/* Tablo fontları küçült */
body.admin-panel .table {
  font-size: 0.875rem;
}

body.admin-panel .table th {
  font-size: 0.85rem;
  padding: 10px 12px;
}

body.admin-panel .table td {
  padding: 10px 12px;
}  

/* Buttons - Landing Page ile Aynı Renkler - KÜÇÜLTÜLDÜ */
.btn-primary{
  background: linear-gradient(135deg, #DC3545 0%, #E85D75 100%) !important;
  border: none !important;
  color:#fff;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  transition: all 0.3s ease;
  border-radius: 10px;
  font-size: 0.875rem;
  padding: 8px 16px;
}

.btn-primary:hover{
  background: linear-gradient(135deg, #E85D75, #DC3545) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-secondary{
  background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
  border: none !important;
  color:#fff;
  box-shadow: 0 4px 15px rgba(0, 180, 219, 0.3);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.btn-secondary:hover{
  background: linear-gradient(135deg, #0083B0, #00B4DB) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.4);
}

.btn-danger{
  background: linear-gradient(135deg, #f87171, #DC3545) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
  border-radius: 10px;
}

.btn-success{
  background: linear-gradient(135deg, #4ade80, #22c55e) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
  border-radius: 10px;
}

.btn-warning{
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  border: none !important;
  color: #fff;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  border-radius: 10px;
}

.btn-info{
  background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 180, 219, 0.3);
  border-radius: 10px;
}

/* Tables */
.table{
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px;
  overflow: hidden;
  color: var(--header-text) !important;
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03) !important;
  --bs-table-striped-color: rgba(255, 255, 255, 0.9) !important;
  --bs-table-hover-bg: rgba(220, 53, 69, 0.1) !important;
  --bs-table-hover-color: rgba(255, 255, 255, 0.95) !important;
}

.table thead th{
  background: rgba(255, 255, 255, 0.1) !important;
  color:var(--header-text)!important;
  border-bottom: 2px solid rgba(220, 53, 69, 0.3) !important;
  font-weight: 600;
}

.table tbody tr{
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.table tbody tr:hover{
  background: rgba(220, 53, 69, 0.1) !important;
  transform: scale(1.01);
}

.table tbody tr:hover td,
.table tbody tr:hover th{
  color: rgba(255, 255, 255, 0.95) !important;
}

.table td,
.table th{
  color: rgba(255, 255, 255, 0.9) !important;
  vertical-align: middle;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Table striped rows - açık arka plan üzerinde koyu yazı değil, koyu arka plan üzerinde açık yazı */
.table-striped > tbody > tr:nth-of-type(odd) > *{
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Form controls - KÜÇÜLTÜLDÜ */
.form-control,.form-select, textarea{
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color:var(--header-text)!important;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  padding: 8px 12px;
}

.form-control::placeholder, .form-select::placeholder, textarea::placeholder{
  color:rgba(255, 255, 255, 0.4);
}

.form-control:focus,.form-select:focus, textarea:focus{
  background: rgba(255, 255, 255, 0.12) !important;
  border-color:var(--input-focus) !important;
  box-shadow:0 0 0 0.25rem rgba(220,53,69,0.25) !important;
  transform: translateY(-1px);
}

/* SELECT DROPDOWN OPTIONS - EN ÖNEMLİ DÜZELTME! */
body.admin-panel select option {
  background: #1a2332 !important;  /* Koyu mavi arka plan */
  color: rgba(255, 255, 255, 0.95) !important;  /* Beyaz yazı */
  padding: 8px 12px;
}

body.admin-panel select option:checked,
body.admin-panel select option:hover {
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;  /* Seçili olanlar kırmızı */
  color: white !important;
}

body.admin-panel select option:disabled {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Firefox için */
body.admin-panel select option {
  background-color: #1a2332 !important;
}

/* Chrome ve Edge için */
body.admin-panel select {
  color-scheme: dark;
}

/* Badge & progress - KÜÇÜLTÜLDÜ */
.badge{
  backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.75rem;
}

.badge.bg-danger{
  background: linear-gradient(135deg, #f87171, #DC3545) !important;
}

.badge.bg-success{
  background: linear-gradient(135deg, #4ade80, #22c55e) !important;
}

.badge.bg-warning{
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #fff !important;
}

.badge.bg-info{
  background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
}

.badge.bg-primary{
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
}

.progress{
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px;
  overflow: hidden;
  height: 1.5rem;
}

.progress-bar{
  background: linear-gradient(90deg, #00B4DB, #0083B0) !important;
  box-shadow: 0 2px 10px rgba(0, 180, 219, 0.4);
}

/* --- Dashboard Cards (first rows) --- */
.card.flex-fill.dashboard-stat{
  position: relative;
  overflow: hidden;
}

.card.flex-fill.dashboard-stat::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--admin-color-1), var(--admin-color-2), var(--admin-color-3));
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.card.flex-fill.dashboard-stat:nth-of-type(1) .card-header{
  background: linear-gradient(135deg, rgba(0, 180, 219, 0.3), rgba(0, 131, 176, 0.2)) !important;
  color:#fff;
}

.card.flex-fill.dashboard-stat:nth-of-type(2) .card-header{
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.3), rgba(232, 93, 117, 0.2)) !important;
  color:#fff;
}

.card.flex-fill.dashboard-stat:nth-of-type(3) .card-header{
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.3), rgba(34, 197, 94, 0.2)) !important;
  color:#fff;
}

.card.flex-fill.dashboard-stat:nth-of-type(4) .card-header{
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2)) !important;
  color:#fff;
}

.card.flex-fill.dashboard-stat:nth-of-type(5) .card-header{
  background: linear-gradient(135deg, rgba(232, 93, 117, 0.3), rgba(220, 53, 69, 0.2)) !important;
  color:#fff;
}

/* Alert Messages */
.alert{
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success{
  background: rgba(74, 222, 128, 0.15) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
  color: #4ade80 !important;
}

.alert-danger{
  background: rgba(248, 113, 113, 0.15) !important;
  border-color: rgba(248, 113, 113, 0.3) !important;
  color: #f87171 !important;
}

.alert-warning{
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
}

.alert-info{
  background: rgba(0, 180, 219, 0.15) !important;
  border-color: rgba(0, 180, 219, 0.3) !important;
  color: #00B4DB !important;
}

/* Modal */
.modal-content{
  backdrop-filter: blur(20px) !important;
  background: rgba(26, 38, 70, 0.95) !important;
  border: 1px solid rgba(220, 53, 69, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

.modal-header{
  background: rgba(220, 53, 69, 0.15) !important;
  border-bottom: 1px solid rgba(220, 53, 69, 0.3) !important;
  border-radius: 20px 20px 0 0 !important;
}

.modal-footer{
  background: rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 0 20px 20px !important;
}

.modal-title{
  color: #fff !important;
}

.modal-body{
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Modal içindeki tüm label, h tag'ler beyaz */
.modal-body label,
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6,
.modal-body strong,
.modal-body b {
  color: rgba(255, 255, 255, 0.95) !important;
}

.modal-body .section-title,
.modal-body .form-label {
  color: rgba(255, 255, 255, 0.95) !important;
}

.modal-body small,
.modal-body .text-muted,
.modal-body .form-text {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Dropdown */
.dropdown-menu{
  backdrop-filter: blur(20px) !important;
  background: rgba(46, 46, 46, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.dropdown-item{
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 4px 8px;
}

.dropdown-item:hover{
  background: rgba(220, 53, 69, 0.2) !important;
  color: #fff !important;
  transform: translateX(5px);
}

/* Pagination */
.pagination .page-link{
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 8px;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover{
  background: rgba(220, 53, 69, 0.2) !important;
  border-color: rgba(220, 53, 69, 0.4) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link{
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
  border-color: #DC3545 !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Breadcrumb */
.breadcrumb{
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 12px 20px;
}

.breadcrumb-item{
  color: rgba(255, 255, 255, 0.7) !important;
}

.breadcrumb-item.active{
  color: #DC3545 !important;
}

.breadcrumb-item + .breadcrumb-item::before{
  color: rgba(255, 255, 255, 0.5) !important;
}

/* List Group */
.list-group-item{
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease;
}

.list-group-item:hover{
  background: rgba(220, 53, 69, 0.1) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
  transform: translateX(5px);
}

/* Nav Tabs */
.nav-tabs{
  border-bottom: 2px solid rgba(220, 53, 69, 0.3) !important;
}

.nav-tabs .nav-link{
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 10px 10px 0 0;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover{
  background: rgba(220, 53, 69, 0.1) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
  color: #fff !important;
}

.nav-tabs .nav-link.active{
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(232, 93, 117, 0.15)) !important;
  border-color: rgba(220, 53, 69, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 -4px 15px rgba(220, 53, 69, 0.2);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #DC3545, #E85D75);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #E85D75, #DC3545);
}

/* Text Selection */
::selection {
  background: rgba(220, 53, 69, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(220, 53, 69, 0.3);
  color: #fff;
}

/* ============================================
   BOOTSTRAP CLASS OVERRIDE - TÜM SAYFALARDA GEÇERLİ
   ============================================ */

/* bg-light'ı override et - artık koyu olsun */
body.admin-panel .bg-light {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* text-dark'ı beyaz yap */
body.admin-panel .text-dark {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* text-secondary'yi açık yap */
body.admin-panel .text-secondary {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* text-muted'ı açık yap */
body.admin-panel .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* bg-white'ı glassmorphism yap */
body.admin-panel .bg-white {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
}

/* border-light'ı koyu yap */
body.admin-panel .border-light {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* table-light'ı glassmorphism yap */
body.admin-panel .table-light {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Tüm başlıkları beyaz yap */
body.admin-panel h1, 
body.admin-panel h2, 
body.admin-panel h3, 
body.admin-panel h4, 
body.admin-panel h5, 
body.admin-panel h6 {
  color: var(--header-text) !important;
}

/* Tüm label, p, span'ları açık renk yap */
body.admin-panel label,
body.admin-panel p,
body.admin-panel span,
body.admin-panel small {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Tüm dt (definition term) başlıklarını beyaz yap */
body.admin-panel dt {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
}

/* Tüm dd (definition description) içeriklerini açık yap */
body.admin-panel dd {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Smooth Animations */
* {
  transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease;
}

/* Loading Spinner */
.spinner-border{
  border-color: rgba(220, 53, 69, 0.2);
  border-right-color: #DC3545;
}

/* Toast */
.toast{
  backdrop-filter: blur(20px) !important;
  background: rgba(46, 46, 46, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */
.profile-header {
  background: linear-gradient(135deg, #DC3545 0%, #E85D75 100%) !important;
  color: white !important;
  padding: 2rem;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(220, 53, 69, 0.3) !important;
}

.task-card {
  transition: all .2s ease-in-out;
  border-radius: 12px !important;
}

.task-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 .5rem 1rem rgba(220, 53, 69, 0.2) !important;
}

.task-status-pending { border-left: 5px solid #fbbf24; }
.task-status-completed { border-left: 5px solid #4ade80; }
.task-status-in_progress { border-left: 5px solid #00B4DB; }

.notification-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 50%;
  background: #DC3545;
  color: white;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

/* ============================================
   EVALUATION PAGE STYLES
   ============================================ */
.score-card {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(0, 180, 219, 0.2)) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border-radius: 16px !important;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.score-excellent { border-left: 5px solid #4ade80 !important; }
.score-good { border-left: 5px solid #00B4DB !important; }
.score-average { border-left: 5px solid #fbbf24 !important; }
.score-poor { border-left: 5px solid #f97316 !important; }
.score-critical { border-left: 5px solid #DC3545 !important; }

.evaluation-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px !important;
}

.evaluation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.3) !important;
}

.score-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CURRENT ACCOUNTS PAGE STYLES
   ============================================ */
.stat-card {
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.stat-card:hover {
  transform: translateY(-2px);
}

/* Cari hesaplar istatistik kartları - Her birine farklı renk */
.stat-card:nth-child(1) {
  border-left: 4px solid #00B4DB !important;
}

.stat-card:nth-child(2) {
  border-left: 4px solid #DC3545 !important;
}

.stat-card:nth-child(3) {
  border-left: 4px solid #4ade80 !important;
}

.stat-card:nth-child(4) {
  border-left: 4px solid #DC3545 !important;
}

.stat-card:nth-child(5) {
  border-left: 4px solid #4ade80 !important;
}

.stat-card:nth-child(6) {
  border-left: 4px solid #fbbf24 !important;
}

/* Card header'lara da icon rengi */
.stat-card:nth-child(1) .card-header,
.stat-card:nth-child(1) i {
  color: #00B4DB !important;
}

.stat-card:nth-child(2) .card-header,
.stat-card:nth-child(2) i {
  color: #DC3545 !important;
}

.stat-card:nth-child(3) .card-header,
.stat-card:nth-child(3) i {
  color: #4ade80 !important;
}

.stat-card:nth-child(4) .card-header,
.stat-card:nth-child(4) i {
  color: #DC3545 !important;
}

.stat-card:nth-child(5) .card-header,
.stat-card:nth-child(5) i {
  color: #4ade80 !important;
}

.stat-card:nth-child(6) .card-header,
.stat-card:nth-child(6) i {
  color: #fbbf24 !important;
}

.balance-positive { 
  color: #4ade80 !important; 
  font-weight: 600; 
}

.balance-negative { 
  color: #f87171 !important; 
  font-weight: 600; 
}

.balance-zero { 
  color: rgba(255, 255, 255, 0.6) !important; 
}

.search-box {
  position: relative;
}

.search-box input {
  padding-left: 2.5rem;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
}

.quick-action-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.chart-container {
  position: relative;
  height: 180px;
  width: 100%;
}

.contact-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #DC3545;
}

.bulk-actions {
  display: none;
  gap: 0.5rem;
}

.bulk-actions.show {
  display: flex;
}

.contact-item {
  transition: all 0.3s ease;
  border-radius: 8px !important;
  margin-bottom: 4px;
}

.contact-item:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  transform: translateX(3px);
}

/* ============================================
   SAYFA İÇİ STYLE OVERRIDE - GÜÇLÜ KURALLAR
   ============================================ */

/* Tüm inline background-color'ları override et */
body.admin-panel [style*="background-color: #f"] {
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
}

body.admin-panel [style*="background-color: #fff"],
body.admin-panel [style*="background-color: white"],
body.admin-panel [style*="background: #fff"],
body.admin-panel [style*="background: white"] {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
}

/* Inline color stillerini override et */
body.admin-panel [style*="color: #efd6ac"],
body.admin-panel [style*="color: #f"],
body.admin-panel [style*="color: rgb"],
body.admin-panel [style*="color: hsl"] {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.admin-panel [style*="color: #2c3e50"],
body.admin-panel [style*="color: #343a40"],
body.admin-panel [style*="color: #555"],
body.admin-panel [style*="color: #666"],
body.admin-panel [style*="color: #000"] {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Tüm pembe/açık renkli inline stilleri koyu temaya uygun hale getir */
body.admin-panel td[style*="background"],
body.admin-panel th[style*="background"],
body.admin-panel tr[style*="background"],
body.admin-panel span[style*="background"],
body.admin-panel div[style*="background"] {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Code elementleri de beyaz yazı */
body.admin-panel code {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #E85D75 !important;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Badge'ler içindeki yazılar */
body.admin-panel .badge {
  color: #fff !important;
}

body.admin-panel .badge.bg-light,
body.admin-panel .badge.text-dark {
  color: #000 !important;
}

/* Tablo içindeki tüm text elementleri */
body.admin-panel .table td *,
body.admin-panel .table th * {
  color: inherit !important;
}

/* Özellikle tablo satırlarındaki span ve küçük elementler */
body.admin-panel .table td span,
body.admin-panel .table th span,
body.admin-panel .table td small,
body.admin-panel .table th small {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================
   BULK PRICE UPDATE STYLES
   ============================================ */
.product-price-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-price-row:hover {
  background: rgba(220, 53, 69, 0.1) !important;
}

.product-price-row:last-child {
  border-bottom: none;
}

.product-name {
  flex-grow: 1;
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.9) !important;
}

.price-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-input-group .form-control {
  width: 100px;
}

.category-header {
  background: rgba(220, 53, 69, 0.15) !important;
  border: 1px solid rgba(220, 53, 69, 0.3) !important;
  padding: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.95) !important;
}

.bulk-action-form {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

/* ============================================
   WEEKLY SCHEDULE STYLES
   ============================================ */
.schedule-day-header {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.schedule-day-header.day-0 { border-left: 3px solid rgba(220, 53, 69, 0.5) !important; }
.schedule-day-header.day-1 { border-left: 3px solid rgba(251, 191, 36, 0.5) !important; }
.schedule-day-header.day-2 { border-left: 3px solid rgba(74, 222, 128, 0.5) !important; }
.schedule-day-header.day-3 { border-left: 3px solid rgba(0, 180, 219, 0.5) !important; }
.schedule-day-header.day-4 { border-left: 3px solid rgba(147, 51, 234, 0.5) !important; }
.schedule-day-header.day-5 { border-left: 3px solid rgba(236, 72, 153, 0.5) !important; }
.schedule-day-header.day-6 { border-left: 3px solid rgba(139, 92, 246, 0.5) !important; }

.schedule-employee-name {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600 !important;
}

.schedule-day-cell {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.schedule-day-cell.day-0 { background: rgba(220, 53, 69, 0.05) !important; }
.schedule-day-cell.day-1 { background: rgba(251, 191, 36, 0.05) !important; }
.schedule-day-cell.day-2 { background: rgba(74, 222, 128, 0.05) !important; }
.schedule-day-cell.day-3 { background: rgba(0, 180, 219, 0.05) !important; }
.schedule-day-cell.day-4 { background: rgba(147, 51, 234, 0.05) !important; }
.schedule-day-cell.day-5 { background: rgba(236, 72, 153, 0.05) !important; }
.schedule-day-cell.day-6 { background: rgba(139, 92, 246, 0.05) !important; }

/* ============================================
   MEAL PLANNING STYLES
   ============================================ */
.month-navigation {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.month-nav-btn {
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.month-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.month-title {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.calendar-header {
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
  color: white !important;
  padding: 15px;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.day-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  min-height: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.3);
  border-color: rgba(220, 53, 69, 0.5);
}

.day-number {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(232, 93, 117, 0.2)) !important;
  border-bottom: 2px solid rgba(220, 53, 69, 0.3);
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.1rem;
}

.day-content {
  padding: 15px;
  height: calc(100% - 45px);
  overflow-y: auto;
}

.meal-item {
  background: rgba(0, 180, 219, 0.1) !important;
  border-left: 4px solid #00B4DB;
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9) !important;
}

.meal-item strong {
  color: rgba(255, 255, 255, 0.95) !important;
}

.meal-item.empty {
  background: rgba(255, 255, 255, 0.05) !important;
  border-left-color: rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
  text-align: center;
}

.edit-day-btn {
  background: linear-gradient(135deg, #4ade80, #22c55e) !important;
  color: white !important;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.edit-day-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.weekend .day-card {
  background: rgba(251, 191, 36, 0.1) !important;
  border-color: rgba(251, 191, 36, 0.3);
}

.weekend .day-number {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3)) !important;
  border-bottom-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24 !important;
}

.availability-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.bulk-actions {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bulk-action-btn {
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 8px 20px;
  border-radius: 10px;
  border: 2px solid rgba(220, 53, 69, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: all 0.3s ease;
}

.bulk-action-btn:hover {
  background: linear-gradient(135deg, #DC3545, #E85D75);
  color: white;
  border-color: #DC3545;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid #DC3545;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   STATUS NOTIFICATION SETTINGS STYLES
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
}

.color-picker-wrapper input[type="color"] {
  margin-left: 10px;
  width: 50px;
  height: 38px;
  padding: .1rem .3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.font-size-group {
  display: flex;
  align-items: center;
}

.font-size-group input[type="number"] {
  max-width: 80px;
  margin-right: 5px;
}

.special-day-row {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.special-day-row:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
}

.special-day-row .form-group {
  margin-bottom: 0.75rem;
}

/* ============================================
   KITCHEN SCREENS STYLES
   ============================================ */
.form-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
}

.section-title {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(220, 53, 69, 0.3);
}

.multi-select-container {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03) !important;
}

.multi-select-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.multi-select-item:hover {
  background: rgba(220, 53, 69, 0.1);
}

.multi-select-item input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  accent-color: #DC3545;
}

.multi-select-item label {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0 !important;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESERVATION DETAIL PRINT STYLES
   ============================================ */
@media print {
  .no-print {
    display: none !important;
  }
  
  .printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10pt;
    color: #000;
    background: white;
    padding: 5mm;
    margin: 0;
  }
  
  .printable-area h3,
  .printable-area h4 {
    font-size: 12pt;
    font-weight: bold;
    margin-top: 5mm;
    margin-bottom: 3mm;
    text-align: center;
    color: #000;
  }
  
  .printable-area dl {
    margin-bottom: 3mm;
  }
  
  .printable-area dt {
    font-weight: bold;
    float: left;
    width: 100px;
    clear: left;
    color: #000;
  }
  
  .printable-area dd {
    margin-left: 105px;
    margin-bottom: 1mm;
    word-wrap: break-word;
    color: #000;
  }
  
  .printable-area .print-footer {
    margin-top: 10mm;
    text-align: center;
    font-size: 8pt;
    border-top: 1px dashed #000;
    padding-top: 2mm;
  }
}

/* Sidebar özel durumları */
body.admin-panel .sidebar-sticky {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

/* Card footer'ları da glassmorphism */
body.admin-panel .card-footer {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Input Group */
.input-group-text{
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
}

/* Navbar (if any in admin) */
.navbar{
  backdrop-filter: blur(20px) !important;
  background: rgba(10, 14, 39, 0.9) !important;
  border-bottom: 1px solid rgba(220, 53, 69, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.navbar-brand, .navbar-nav .nav-link{
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover{
  color: #DC3545 !important;
}

/* ============================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ============================================ */

/* Mobile Responsive - Tablets and below */
@media (max-width: 991.98px) {
  /* Sidebar'ı mobilde GİZLE - Toggle ile aç/kapa */
  body.admin-panel .sidebar-sticky {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    background: rgba(46, 46, 46, 0.98) !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  body.admin-panel .sidebar-sticky.show {
    left: 0;
  }
  
  /* Sidebar Overlay */
  body.admin-panel .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
  }
  
  body.admin-panel .sidebar-overlay.show {
    display: block;
  }
  
  /* Main content'i mobilde tam genişlik */
  body.admin-panel main[class*="col-lg"],
  body.admin-panel main[class*="col-md"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  
  /* Hamburger Menü Butonu */
  body.admin-panel .mobile-menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    background: linear-gradient(135deg, #DC3545, #E85D75);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
    cursor: pointer;
  }
  
  body.admin-panel .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  
  /* Main content üstten padding - hamburger butonu için */
  body.admin-panel main {
    padding-top: 60px !important;
  }
  
  /* Container'lara mobilde padding */
  body.admin-panel .container,
  body.admin-panel .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Mobile Responsive - Phones */
@media (max-width: 767.98px) {
  /* Container padding'leri mobilde azalt */
  body.admin-panel .container,
  body.admin-panel .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Main content padding artır */
  body.admin-panel main {
    padding-top: 70px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Kartlar mobilde tam genişlik ve az margin */
  body.admin-panel .card {
    margin-bottom: 0.75rem;
    border-radius: 12px !important;
  }
  
  /* Card body padding'ini azalt */
  body.admin-panel .card-body {
    padding: 12px;
  }
  
  body.admin-panel .card-header {
    padding: 10px 12px;
  }
  
  /* Tablolar mobilde yatay scroll */
  body.admin-panel .table-responsive {
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  
  /* Butonlar mobilde daha küçük */
  body.admin-panel .btn {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }
  
  body.admin-panel .btn-group-sm > .btn,
  body.admin-panel .btn-sm {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }
  
  /* Font boyutlarını DAHA DA küçült */
  body.admin-panel h1 { font-size: 1.4rem !important; }
  body.admin-panel h2 { font-size: 1.2rem !important; }
  body.admin-panel h3 { font-size: 1.05rem !important; }
  body.admin-panel h4 { font-size: 0.95rem !important; }
  body.admin-panel h5 { font-size: 0.875rem !important; }
  body.admin-panel h6 { font-size: 0.8rem !important; }
  
  body.admin-panel p,
  body.admin-panel label,
  body.admin-panel small {
    font-size: 0.8rem !important;
  }
  
  body.admin-panel .table {
    font-size: 0.75rem !important;
  }
  
  body.admin-panel .table th,
  body.admin-panel .table td {
    padding: 6px 8px !important;
    font-size: 0.75rem !important;
  }
  
  /* Modal'lar mobilde tam ekran benzeri */
  body.admin-panel .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  /* Grid sistemini mobilde tek sütun yap */
  body.admin-panel .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Ekstra küçük ekranlar için */
@media (max-width: 575.98px) {
  /* Stat kartlarını mobilde istifle */
  body.admin-panel .stat-card {
    margin-bottom: 0.5rem;
  }
  
  /* Profile header'ı küçült */
  body.admin-panel .profile-header {
    padding: 1.5rem 1rem;
  }
  
  /* Evaluation kartlarını mobilde tam genişlik */
  body.admin-panel .evaluation-card {
    margin-bottom: 0.75rem;
  }
  
  /* Contact item'larda padding azalt */
  body.admin-panel .contact-item {
    padding: 0.75rem 0.5rem;
  }
}

/* Landscape tablet optimization */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: landscape) {
  body.admin-panel .sidebar-sticky {
    position: sticky;
    top: 1rem;
  }
}

/* Print Optimization */
@media print {
  body.admin-panel .sidebar-sticky,
  body.admin-panel .btn,
  body.admin-panel .modal {
    display: none !important;
  }
  
  body.admin-panel main {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================
   PROFILE PAGE (Business Profile) STYLES
   ============================================ */
.notification-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 8px;
}

.notification-item:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  transform: translateX(3px);
}

.notification-item.unread {
  background: rgba(0, 180, 219, 0.15) !important;
  border-left: 3px solid #00B4DB;
}

/* ============================================
   DASHBOARD & CHARTS STYLES
   ============================================ */
.chart-container-weekly {
  position: relative;
  height: 200px;
}

.chart-container-category {
  position: relative;
  height: 180px;
}

/* Central Live Dashboard Styles */
.dashboard-container { 
  display: grid; 
  grid-template-columns: repeat(7, 1fr); 
  gap: 1rem; 
  padding: 1rem; 
  height: calc(100vh - 2rem); 
}

.dashboard-column { 
  backdrop-filter: blur(20px); 
  background: rgba(255, 255, 255, 0.08); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  border-radius: 12px; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); 
  display: flex; 
  flex-direction: column; 
  overflow: hidden; 
}

.column-header { 
  padding: 0.75rem 1rem; 
  border-bottom: 1px solid rgba(255,255,255,0.15); 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-shrink: 0; 
  background: rgba(220, 53, 69, 0.1);
}

.column-title { 
  font-size: 1rem; 
  font-weight: 600; 
  margin: 0; 
  color: rgba(255, 255, 255, 0.95) !important;
}

.column-content { 
  flex-grow: 1; 
  overflow-y: auto; 
  padding: 1rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.75rem; 
}

.empty-state { 
  text-align: center; 
  color: rgba(255,255,255,0.5); 
  padding: 2rem 0; 
  align-self: center; 
  justify-self: center; 
  margin: auto; 
}

.elapsed-time-counter { 
  font-weight: bold; 
  color: #fbbf24;
}

.stats-list { 
  list-style: none; 
  padding-left: 0; 
  margin-bottom: 0; 
}

.stats-list li { 
  display: flex; 
  justify-content: space-between; 
  padding: 0.4rem 0; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
  font-size: 0.85rem; 
}

.stats-list li:last-child { 
  border-bottom: none; 
}

.card-delayed {
  animation: blink-danger 1s infinite alternate;
  border-color: #DC3545 !important;
}

@keyframes blink-danger {
  from { background-color: rgba(220, 53, 69, 0.05); }
  to   { background-color: rgba(220, 53, 69, 0.2); }
}

/* ============================================
   TASK MANAGEMENT STYLES
   ============================================ */
.task-priority-urgent { border-left-color: #DC3545 !important; }
.task-priority-high { border-left-color: #fbbf24 !important; }
.task-priority-normal { border-left-color: #00B4DB !important; }
.task-priority-low { border-left-color: rgba(255, 255, 255, 0.3) !important; }

.task-status-active { 
  background: rgba(0, 180, 219, 0.1) !important; 
}

.task-status-completed { 
  background: rgba(74, 222, 128, 0.1) !important; 
}

.task-status-overdue { 
  background: rgba(248, 113, 113, 0.1) !important; 
}

/* ============================================
   RESERVATIONS PAGE STYLES
   ============================================ */
.status-beklemede { 
  background-color: rgba(251, 191, 36, 0.2) !important; 
  color: #fbbf24 !important; 
}

.status-onaylandi { 
  background-color: rgba(74, 222, 128, 0.2) !important; 
  color: #4ade80 !important; 
}

.status-iptal_edildi { 
  background-color: rgba(248, 113, 113, 0.2) !important; 
  color: #f87171 !important; 
}

.status-tamamlandi { 
  background-color: rgba(0, 180, 219, 0.2) !important; 
  color: #00B4DB !important; 
}

.status-gelmedi { 
  background-color: rgba(255, 255, 255, 0.1) !important; 
  color: rgba(255, 255, 255, 0.6) !important; 
}

.badge-status {
  padding: 0.4em 0.7em;
  font-size: 0.85em;
  border-radius: 8px;
  font-weight: 600;
}

.reservation-row {
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation-row:hover td {
  background-color: rgba(220, 53, 69, 0.1) !important;
}

.reservation-detail-row td {
  padding: 0 !important;
  border-top: none;
}

.reservation-detail-content {
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.detail-dl dt {
  font-weight: bold;
  color: rgba(255, 255, 255, 0.95) !important;
}

.detail-dl dd {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.new-reservation-highlight td,
.new-reservation-highlight:hover td {
  background-color: rgba(251, 191, 36, 0.2) !important;
  border-left: 3px solid #fbbf24;
}

/* ============================================
   EMPLOYEE ADVANCE REQUEST STYLES
   ============================================ */
.history-item {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 3px solid;
  transition: all 0.3s ease;
}

.history-item.approved {
  background: rgba(74, 222, 128, 0.1) !important;
  border-left-color: #4ade80 !important;
}

.history-item.rejected {
  background: rgba(248, 113, 113, 0.1) !important;
  border-left-color: #f87171 !important;
}

.history-item.pending {
  background: rgba(251, 191, 36, 0.1) !important;
  border-left-color: #fbbf24 !important;
}

.history-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.item-top .amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95) !important;
}

.status-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-badge.approved {
  background: rgba(74, 222, 128, 0.2) !important;
  color: #4ade80 !important;
}

.status-badge.rejected {
  background: rgba(248, 113, 113, 0.2) !important;
  color: #f87171 !important;
}

.status-badge.pending {
  background: rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24 !important;
}

.item-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 5px;
}

.item-reason {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4;
}

.history-list {
  max-height: 500px;
  overflow-y: auto;
}

/* ============================================
   EMPLOYEE MEAL LIST STYLES
   ============================================ */
.meal-list-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meal-item-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid rgba(220, 53, 69, 0.5) !important;
}

.meal-item-compact:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  transform: translateX(5px);
}

.meal-emoji {
  font-size: 1.5rem;
  min-width: 32px;
  text-align: center;
}

.meal-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.meal-category {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.meal-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
  word-wrap: break-word;
}

.mini-calendar-compact {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.calendar-day-compact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 0.8rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.calendar-day-compact:hover {
  background: rgba(220, 53, 69, 0.1);
  transform: scale(1.05);
  border-color: rgba(220, 53, 69, 0.3);
}

.calendar-day-compact.today {
  background: linear-gradient(135deg, #DC3545, #E85D75) !important;
  color: white !important;
  border-color: #DC3545;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.calendar-day-compact.has-meal {
  background: rgba(74, 222, 128, 0.15) !important;
  color: #4ade80 !important;
  border-color: #4ade80;
}

.calendar-day-compact.no-meal {
  background: rgba(248, 113, 113, 0.15) !important;
  color: #f87171 !important;
  border-color: #f87171;
}

.calendar-day-compact.selected {
  background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
  color: white !important;
  border-color: #00B4DB;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 180, 219, 0.4);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.no-selection {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
}
