/* Possify Servis Sistemi - Özel Stiller */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --info-color: #17a2b8;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* Genel Stiller */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  line-height: 1.6;
  min-height: 100vh;
}

/* Ana Container */
.main-container {
  min-height: calc(100vh - 80px);
  padding-top: 1rem;
}

/* Scrollbar İyileştirmeleri */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Seçim Stilleri */
::selection {
  background: rgba(102, 126, 234, 0.3);
  color: var(--dark-color);
}

::-moz-selection {
  background: rgba(102, 126, 234, 0.3);
  color: var(--dark-color);
}

/* Modern Navbar Stilleri */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}

/* Brand/Logo Stilleri */
.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.brand-icon {
  font-size: 1.8rem;
  color: #fff;
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* Modern Nav Link Stilleri */
.nav-item-modern {
  position: relative;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item-modern:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-item-modern i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.nav-text {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Sağ Menü Stilleri */
.navbar-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Bildirim Zili */
.notification-bell {
  position: relative;
  padding: 0.75rem !important;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Kullanıcı Butonu */
.btn-user {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: white;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-user:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.user-avatar {
  font-size: 1.5rem;
  color: #fff;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.user-role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* Modern Dropdown Menüler */
.dropdown-menu-modern {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-menu-modern .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border-radius: 8px;
  margin: 0 0.5rem;
  font-weight: 500;
}

.dropdown-menu-modern .dropdown-item:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  transform: translateX(5px);
}

/* Notification Dropdown UX tweaks */
.notification-dropdown {
  width: 380px;
  max-height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.notification-dropdown .dropdown-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.notification-dropdown .dropdown-divider {
  margin: 0.25rem 0;
}

#notificationList .notification-item {
  background: #fff;
  border-radius: 10px;
  margin: 0.25rem 0;
}

#notificationList .notification-item .small {
  white-space: normal;
}

#markAllRead {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 2;
}

/* Mobil Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .nav-item-modern {
    margin: 0.25rem 0;
    padding: 1rem !important;
  }
  
  .navbar-nav-right {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }
  
  .notification-bell {
    width: 50px;
    height: 50px;
  }
  
  .btn-user {
    width: 100%;
    justify-content: center;
  }
  
  .brand-text {
    display: none;
  }
  
  .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 1.4rem;
  }
}

/* Kart İyileştirmeleri */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  font-weight: 600;
}

/* Modern Dashboard Stilleri */
.dashboard-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.dashboard-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dashboard-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0.5rem 0 0 0;
}

.current-time {
  background: rgba(255,255,255,0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Modern Stat Kartları */
.stat-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.stat-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.stat-card-info {
  flex: 1;
}

.stat-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card-subtitle {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  position: relative;
}

.stat-card-primary .stat-card-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card-warning .stat-card-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-card-success .stat-card-icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-card-info .stat-card-icon {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.stat-card-progress {
  height: 4px;
  background: #f8f9fa;
  border-radius: 2px;
  overflow: hidden;
}

.stat-card-progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  border-radius: 2px;
  transition: width 1s ease;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 1.5rem;
    text-align: center;
  }
  
  .dashboard-title {
    font-size: 2rem;
  }
  
  .current-time {
    margin-top: 1rem;
    display: inline-block;
  }
  
  .stat-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .stat-card-number {
    font-size: 2rem;
  }
  
  .stat-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Buton İyileştirmeleri */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  padding: 0.5rem 1.2rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #2980b9);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #229954);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #e67e22);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
}

/* Tablo İyileştirmeleri */
.table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(52, 152, 219, 0.05);
  transform: scale(1.01);
}

/* Badge İyileştirmeleri */
.badge {
  border-radius: 20px;
  padding: 0.5rem 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
  font-size: 0.75rem;
}

.badge-status {
  text-transform: lowercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Form İyileştirmeleri */
.form-control, .form-select {
  border-radius: var(--border-radius);
  border: 2px solid #e9ecef;
  transition: var(--transition);
  padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Modal İyileştirmeleri */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-bottom: none;
}

/* Dropdown İyileştirmeleri */
.dropdown-menu {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow);
  padding: 0.5rem 0;
  z-index: 9999 !important;
  position: absolute !important;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateX(5px);
}

/* Navbar Dropdown Özel Stiller */
.navbar .dropdown-menu {
  z-index: 99999 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  position: absolute !important;
}

/* Tüm Dropdown'lar için Z-Index Fix */
.dropdown-menu {
  z-index: 99999 !important;
  position: absolute !important;
}

/* Navbar için özel z-index */
.navbar {
  z-index: 9999 !important;
  position: relative;
}

/* Container için z-index ayarı */
.container, .container-fluid {
  position: relative;
  z-index: 1;
}

.navbar .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--dark-color);
  transition: all 0.3s ease;
  border-radius: 0;
  margin: 0;
}

.navbar .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  color: var(--accent-color);
  transform: translateX(5px);
}

.navbar .dropdown-item i {
  width: 20px;
  text-align: center;
}

/* Pagination İyileştirmeleri */
.pagination .page-link {
  border-radius: var(--border-radius);
  border: none;
  margin: 0 2px;
  transition: var(--transition);
}

.pagination .page-link:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--accent-color), #2980b9);
  border: none;
}

/* Modern Pagination */
.pagination-modern {
  gap: 0.5rem;
}

.pagination-modern .page-link {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
  margin: 0;
}

.pagination-modern .page-link:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pagination-modern .page-item.active .page-link {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pagination-modern .page-item:first-child .page-link,
.pagination-modern .page-item:last-child .page-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Notification İyileştirmeleri */
.notification-item {
  transition: var(--transition);
  border-radius: var(--border-radius);
  margin: 2px 0;
}

.notification-item:hover {
  background-color: rgba(52, 152, 219, 0.05);
  transform: translateX(5px);
}

/* Loading Animasyonu */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Disabled button styles */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .table-responsive {
    border-radius: var(--border-radius);
  }
}

/* Dark Mode Desteği */
@media (prefers-color-scheme: dark) {
  :root {
    --light-color: #2c3e50;
    --dark-color: #ecf0f1;
  }
  
  body {
    background-color: #1a1a1a;
    color: #ffffff;
  }
  
  .card {
    background-color: #2c2c2c;
    color: #ffffff;
  }
  
  .table {
    background-color: #2c2c2c;
    color: #ffffff;
  }
  
  .form-control, .form-select {
    background-color: #3c3c3c;
    border-color: #4c4c4c;
    color: #ffffff;
  }
}

/* Özel Animasyonlar */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

.slide-in {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* Modern Login Sayfası */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.login-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.login-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.login-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 2rem;
  text-align: center;
  color: white;
}

.login-logo {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}

.login-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0.5rem 0 0 0;
}

.login-body {
  padding: 2rem;
}

.login-form-title {
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.form-group-modern {
  margin-bottom: 1.5rem;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label-modern i {
  color: var(--accent-color);
  width: 16px;
}

.form-control-modern {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-2px);
}

.form-group-modern.focused .form-label-modern {
  color: var(--accent-color);
  transform: translateY(-5px);
  font-size: 0.8rem;
}

.form-group-modern.focused .form-label-modern i {
  color: var(--accent-color);
}

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
  transform: translateY(-1px);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-login:disabled:hover {
  transform: none;
  box-shadow: none;
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive Login */
@media (max-width: 768px) {
  .login-card {
    margin: 1rem;
  }
  
  .login-header {
    padding: 1.5rem;
  }
  
  .login-logo {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .login-title {
    font-size: 2rem;
  }
  
  .login-body {
    padding: 1.5rem;
  }
}

/* Sayfa Başlığı Stilleri */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.page-title-text {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0.5rem 0 0 0;
}

.page-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Modern Buton Stilleri */
.btn-modern {
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-modern.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.btn-modern.btn-outline-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-modern.btn-outline-secondary:hover {
  background: white;
  color: #6c757d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-modern.btn-outline-primary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  backdrop-filter: blur(10px);
}

.btn-modern.btn-outline-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-modern.btn-outline-danger {
  background: transparent;
  color: var(--danger-color);
  border: 2px solid var(--danger-color);
  backdrop-filter: blur(10px);
}

.btn-modern.btn-outline-danger:hover {
  background: var(--danger-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-modern.btn-outline-warning {
  background: transparent;
  color: var(--warning-color);
  border: 2px solid var(--warning-color);
  backdrop-filter: blur(10px);
}

.btn-modern.btn-outline-warning:hover {
  background: var(--warning-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.btn-modern.btn-outline-success {
  background: transparent;
  color: var(--success-color);
  border: 2px solid var(--success-color);
  backdrop-filter: blur(10px);
}

.btn-modern.btn-outline-success:hover {
  background: var(--success-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-modern.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Arama ve Filtre Kartı */
.search-filter-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
}

.search-group {
  margin-bottom: 1rem;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label-modern i {
  color: var(--accent-color);
  width: 16px;
}

.form-control-modern {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-2px);
}

.input-group-modern {
  display: flex;
  gap: 0.5rem;
}

.input-group-modern .form-control-modern {
  flex: 1;
}

/* Modern Tablo Stilleri */
.table-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
  overflow: hidden;
}

.table-modern {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
}

.table-modern thead th {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem;
}

.table-modern thead th i {
  margin-right: 0.5rem;
  opacity: 0.8;
}

.table-row-modern {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f8f9fa;
}

.table-row-modern:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table-row-modern td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
}

.ticket-id {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.tracking-code {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--dark-color);
  border: 1px solid #dee2e6;
}

.customer-info {
  display: flex;
  flex-direction: column;
}

.customer-name {
  font-weight: 600;
  color: var(--dark-color);
}

.ticket-title {
  font-weight: 500;
  color: var(--dark-color);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-status-modern {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.date-info {
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
}

/* Müşteri Sayfası Özel Stilleri */
.customer-id {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.pharmacy-name {
  font-weight: 500;
  color: var(--dark-color);
}

.phone-info, .email-info {
  display: flex;
  align-items: center;
}

.phone-link, .email-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.phone-link:hover, .email-link:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-modern.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

/* Kart Başlığı Stilleri */
.card-header-modern {
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
}

.card-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.card-title-modern i {
  color: var(--accent-color);
}

/* Progress Bar Stilleri */
.progress-modern {
  height: 8px;
  border-radius: 10px;
  background: #f8f9fa;
  overflow: hidden;
}

.progress-modern .progress-bar {
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* İstatistik Numaraları */
.stat-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.percentage-text {
  font-weight: 600;
  color: var(--dark-color);
}

/* Empty State Stilleri */
.text-center.text-muted {
  color: #6c757d !important;
}

.text-center.text-muted i {
  color: #dee2e6 !important;
}

/* Stat Card Danger Renk Düzeltmesi */
.stat-card-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

/* Status Item Card Stilleri */
.status-item-card {
  background: white;
  border: 2px solid #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.status-item-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

/* Form Check Modern Stilleri */
.form-check-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-input-modern {
  width: 20px;
  height: 20px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-check-input-modern:checked {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.form-check-label-modern {
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
}

.form-check-label-modern i {
  color: var(--accent-color);
}

/* Brand Item Card Stilleri */
.brand-item-card {
  background: white;
  border: 2px solid #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand-item-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.brand-header {
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.models-section {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
}

.models-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.models-title i {
  color: var(--accent-color);
}

.models-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-item {
  background: white;
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.model-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.model-form {
  margin: 0;
}

/* Form Control Small */
.form-control-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* User ID Stilleri */
.user-id {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Email Link Stilleri */
.email-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.email-link:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

/* Notification Stilleri */
.notification-unread {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05)) !important;
  border-left: 4px solid var(--warning-color);
}

.notification-unread:hover {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.1)) !important;
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  margin: 0 auto;
}

.notification-title {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.notification-message {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 400px;
  word-wrap: break-word;
}

.notification-summary {
  background: rgba(102, 126, 234, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 500;
}

/* Form Section Stilleri */
.form-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-section:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
}

.form-section-title i {
  color: var(--accent-color);
}

/* Form Actions */
.form-actions {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  border: 2px solid #e9ecef;
}

/* Textarea Modern Stilleri */
.form-control-modern[rows] {
  resize: vertical;
  min-height: 100px;
}

/* Responsive Form */
@media (max-width: 768px) {
  .form-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .form-actions {
    padding: 1rem;
  }
  
  .form-actions .d-flex {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Dashboard İstatistik Öğeleri */
.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* Bildirim Yönetimi */
.notification-management {
  padding: 1rem 0;
}

.notification-info {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
}

.notification-info i {
  margin-top: 0.2rem;
}

/* Dashboard Border Warning */
.table-card.border-warning {
  border: 2px solid var(--warning-color) !important;
}

.table-card.border-warning .card-header-modern {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(230, 126, 34, 0.1));
  border-bottom: 2px solid var(--warning-color);
}

/* Customer Details Stilleri */
.customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.detail-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.detail-label i {
  color: var(--accent-color);
  width: 16px;
}

.detail-value {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.4;
}

.detail-value .phone-link,
.detail-value .email-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-value .phone-link:hover,
.detail-value .email-link:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

.address-text {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Sayfa Başlığı */
@media (max-width: 768px) {
  .page-header {
    padding: 1.5rem;
    text-align: center;
  }
  
  .page-title-text {
    font-size: 2rem;
  }
  
  .page-actions {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .search-filter-card {
    padding: 1.5rem;
  }
  
  .table-card {
    padding: 1rem;
  }
  
  .table-modern thead th {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .table-row-modern td {
    padding: 0.75rem;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn, .dropdown, .modal {
    display: none !important;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .table {
    box-shadow: none;
  }
}

/* Input Group Modern Stilleri */
.input-group-modern {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.input-group-modern .form-control-modern {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-modern .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

/* Modal Modern Stilleri */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

.modal-header .modal-title {
  font-weight: 600;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem;
}

/* Form Text Muted Stilleri */
.form-text.text-muted {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-text.text-muted i {
  color: var(--accent-color);
}

/* Checkbox Modern Stilleri - Gelişmiş */
.form-check-modern {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.form-check-modern:hover {
  background: rgba(102, 126, 234, 0.05);
}

.form-check-input-modern {
  width: 20px;
  height: 20px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-check-input-modern:checked {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.form-check-label-modern {
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
  flex: 1;
}

.form-check-label-modern i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

/* Form Actions Gelişmiş Stilleri */
.form-actions {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  border: 2px solid #e9ecef;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.form-actions .btn {
  min-width: 150px;
}

/* Responsive Form Actions */
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    padding: 1rem;
  }
  
  .form-actions .btn {
    width: 100%;
    min-width: auto;
  }
  
  .input-group-modern {
    flex-direction: column;
  }
  
  .input-group-modern .form-control-modern {
    border-radius: 15px;
  }
  
  .input-group-modern .btn {
    border-radius: 15px;
    border-left: 2px solid #e9ecef;
  }
}

/* Timeline Styles */
.timeline-modern {
  position: relative;
  padding-left: 2rem;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 1px;
}

.timeline-item-modern {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-marker-modern {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content-modern {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 3px solid var(--primary-color);
}

.timeline-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-date-modern {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-user-modern {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.timeline-status-change-modern {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.status-old-modern {
  background: var(--light-color);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.status-new-modern {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.timeline-note-modern {
  background: rgba(var(--warning-rgb), 0.1);
  border-left: 3px solid var(--warning-color);
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  color: var(--text-color);
}

/* Attachment Styles */
.attachments-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.attachment-item-modern {
  background: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attachment-item-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.attachment-preview-modern {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.attachment-media-modern {
  width: 100%;
  height: 100%;
}

.attachment-image-modern,
.attachment-video-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-overlay-modern {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.attachment-item-modern:hover .attachment-overlay-modern {
  opacity: 1;
}

.attachment-info-modern {
  padding: 1rem;
}

.attachment-name-modern {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  word-break: break-word;
}

.attachment-meta-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.attachment-size-modern {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Customer Info Styles */
.customer-info-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.customer-name-modern {
  font-size: 1.1rem;
  color: var(--text-color);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.customer-pharmacy-modern {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.customer-contacts-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item-modern {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: var(--light-color);
  border-radius: var(--border-radius);
  transition: background-color 0.2s ease;
}

.contact-item-modern:hover {
  background: rgba(var(--primary-rgb), 0.05);
}

.contact-link-modern {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link-modern:hover {
  color: var(--primary-color);
}

.customer-address-modern {
  padding: 0.75rem;
  background: var(--light-color);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--danger-color);
}

.address-text-modern {
  font-size: 0.875rem;
  color: var(--text-color);
  line-height: 1.4;
}

/* Device Info Styles */
.device-info-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.device-model-modern {
  font-size: 1rem;
  color: var(--text-color);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.device-serial-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.serial-code-modern {
  background: var(--light-color);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--primary-color);
}

/* Tracking Code Styles */
.tracking-code-modern {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Description Styles */
.description-modern {
  background: var(--light-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--info-color);
  line-height: 1.6;
  color: var(--text-color);
}

/* Upload Form Styles */
.upload-form-modern {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 2px dashed var(--border-color);
  transition: border-color 0.2s ease;
}

.upload-form-modern:hover {
  border-color: var(--primary-color);
}

.form-text-modern {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Status Form Styles */
.status-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Modal Styles */
.modal-content-modern {
  background: var(--bg-color);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header-modern {
  background: var(--primary-color);
  color: white;
  border-bottom: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  padding: 1rem 1.5rem;
}

.modal-title-modern {
  color: white;
  margin: 0;
  font-weight: 500;
}

.btn-close-modern {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  padding: 0;
  width: auto;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.btn-close-modern:hover {
  opacity: 1;
}

.modal-body-modern {
  padding: 1.5rem;
}

/* Page Header Modern Styles */
.page-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.page-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
}

.page-subtitle-modern {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0.5rem 0 0 0;
}

.page-actions-modern {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Card Modern Styles */
.card-modern {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header-modern {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 2px solid #e9ecef;
  padding: 1.5rem 2rem;
}

.card-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  margin: 0;
}

.card-title-modern i {
  color: var(--accent-color);
}

.card-body-modern {
  padding: 2rem;
}

/* Info Item Modern Styles */
.info-item-modern {
  margin-bottom: 1.5rem;
}

.info-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.info-label-modern i {
  color: var(--accent-color);
  width: 16px;
}

.info-value-modern {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.4;
}

/* Badge Modern Styles */
.badge-modern {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Empty State Modern Styles */
.empty-state-modern {
  text-align: center;
  padding: 3rem 2rem;
  color: #6c757d;
}

.empty-state-modern i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state-modern p {
  font-size: 1.1rem;
  margin: 0;
}

/* Responsive Page Header */
@media (max-width: 768px) {
  .page-header-modern {
    padding: 1.5rem;
    text-align: center;
  }
  
  .page-title-modern {
    font-size: 2rem;
  }
  
  .page-actions-modern {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .card-body-modern {
    padding: 1.5rem;
  }
}

/* User Avatar Small Styles */
.user-avatar-small {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
}

/* Form Select Modern Styles */
.form-select-modern {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  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");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  appearance: none;
}

.form-select-modern:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-2px);
}

/* Flex Fill Utility */
.flex-fill {
  flex: 1 1 auto;
}

/* Gap Utility */
.gap-2 {
  gap: 0.5rem;
}

/* Responsive Report Styles */
@media (max-width: 768px) {
  .search-filter-card .row {
    margin: 0;
  }
  
  .search-filter-card .col-lg-3,
  .search-filter-card .col-md-6 {
    padding: 0.5rem;
  }
  
  .d-flex.gap-2 {
    flex-direction: column;
  }
  
  .d-flex.gap-2 .btn {
    width: 100%;
  }
}

/* User Mentions System Styles */
.description-container-modern {
  position: relative;
}

.description-textarea-modern {
  position: relative;
  z-index: 1;
}

.user-mentions-dropdown-modern {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  max-height: 250px;
  overflow: hidden;
  margin-top: 5px;
}

.user-mentions-header-modern {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 13px 13px 0 0;
}

.user-mentions-list-modern {
  max-height: 200px;
  overflow-y: auto;
}

.user-mention-item-modern {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
}

.user-mention-item-modern:hover,
.user-mention-item-modern.user-mention-item-active-modern {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  transform: translateX(5px);
}

.user-mention-item-modern:last-child {
  border-bottom: none;
}

.user-mention-avatar-modern {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.user-mention-info-modern {
  flex: 1;
  min-width: 0;
}

.user-mention-name-modern {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.user-mention-username-modern {
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 500;
}

/* User Mention Tags */
.user-mention-tag-modern {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.1rem 0.2rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.user-mention-tag-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.user-mention-tag-modern i {
  font-size: 0.7rem;
  margin-right: 0.25rem;
}

/* Description Preview */
.description-preview-modern {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #495057;
  border-left: 4px solid var(--accent-color);
}

.description-preview-modern:empty {
  display: none;
}

/* Timeline Note User Mentions */
.timeline-note-modern .user-mention-tag-modern {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  margin: 0.05rem 0.1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}

.timeline-note-modern .user-mention-tag-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.timeline-note-modern .user-mention-tag-modern i {
  font-size: 0.65rem;
  margin-right: 0.2rem;
}

/* Users Edit Page Styles */
.roles-container-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  border: 2px solid #e9ecef;
}

/* Ticket Edit Page User Mentions */
.mentions-preview-modern {
  padding: 0.75rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.mentions-preview-modern .user-mention-tag-modern {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  margin: 0.05rem 0.1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}

.mentions-preview-modern .user-mention-tag-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.mentions-preview-modern .user-mention-tag-modern i {
  font-size: 0.65rem;
  margin-right: 0.2rem;
}

/* Users Table Email and Action Buttons */
.email-cell {
  display: flex;
  align-items: center;
  max-width: 200px;
}

.email-link-modern {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  max-width: 100%;
  overflow: hidden;
}

.email-link-modern:hover {
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.email-link-modern .email-text {
  margin-left: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-buttons-modern {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-width: 160px;
}

.action-buttons-modern .btn {
  min-width: 70px;
  font-size: 0.8rem;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  border-width: 2px;
}

.action-buttons-modern .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.action-buttons-modern .btn-primary:hover {
  background: #5a67d8;
  border-color: #5a67d8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Event Propagation Fix */
.action-buttons-modern,
.action-buttons {
  pointer-events: auto;
}

.action-buttons-modern *,
.action-buttons * {
  pointer-events: auto;
}

/* Table row click prevention for action buttons */
tbody tr {
  pointer-events: auto;
}

tbody tr .action-buttons,
tbody tr .action-buttons-modern {
  position: relative;
  z-index: 10;
}

/* Customer Detail Phone Links */
.phone-link {
  color: var(--success-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  background: rgba(39, 174, 96, 0.1);
}

.phone-link:hover {
  background: var(--success-color);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.phone-link i {
  margin-right: 0.25rem;
}

/* Customer Detail Email Links */
.detail-value .email-link-modern {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.detail-value .email-link-modern:hover {
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.detail-value .email-link-modern i {
  margin-right: 0.25rem;
}

.form-check-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-check-modern:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.form-check-input-modern {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #6c757d;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input-modern:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
}

.form-check-label-modern {
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-label-modern i {
  font-size: 1.1rem;
}

/* Mentioned users in text (legacy) */
.mentioned-user {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  color: var(--accent-color);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
}

.mentioned-user:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  color: var(--primary-color);
}

/* Password Change Page Styles */
.password-strength-modern {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
}

.strength-bar-container-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.strength-bar-modern {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.strength-progress-modern {
  height: 100%;
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 0%;
}

.strength-weak {
  background: linear-gradient(90deg, #dc3545, #fd7e14);
}

.strength-fair {
  background: linear-gradient(90deg, #fd7e14, #ffc107);
}

.strength-good {
  background: linear-gradient(90deg, #ffc107, #17a2b8);
}

.strength-strong {
  background: linear-gradient(90deg, #17a2b8, #28a745);
}

.strength-text-modern {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 120px;
}

.password-requirements-modern {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.requirements-title-modern {
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.requirements-list-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.requirement-item-modern {
  font-size: 0.8rem;
  color: #6c757d;
  transition: all 0.3s ease;
}

.requirement-item-modern i.fa-check {
  color: #28a745;
}

.requirement-item-modern i.fa-circle {
  color: #dee2e6;
}

.password-match-modern {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
}

.password-match-modern.text-success {
  background: rgba(40, 167, 69, 0.1);
}

.password-match-modern.text-danger {
  background: rgba(220, 53, 69, 0.1);
}

/* Fancybox Modal System - Replaces old Bootstrap modal */

/* Select2 Customization */
.select2-container--bootstrap-5 {
    z-index: 1056 !important;
}

.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.select2-container--bootstrap-5 .select2-selection--single {
    padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    color: #495057;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.select2-container--bootstrap-5 .select2-results__option {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f8f9fa;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.customer-option {
    padding: 8px 12px;
    border-bottom: 1px solid #f8f9fa;
}

.customer-option:last-child {
    border-bottom: none;
}

.customer-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.customer-details {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Choices.js Customization */
.choices {
	z-index: 1056 !important;
}

.choices__list--dropdown {
	z-index: 1057 !important;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	background: white;
}

.choices__list--dropdown .choices__item {
	padding: 8px 12px;
	border-bottom: 1px solid #f8f9fa;
}

.choices__list--dropdown .choices__item--selectable {
	cursor: pointer;
}

.choices__list--dropdown .choices__item--selectable:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.choices__input {
	background: transparent;
	border: none;
	outline: none;
}

.choices__inner {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	min-height: 38px;
	display: flex;
	align-items: center;
	background: white;
}

.choices__list--single {
	padding: 0.375rem 0.75rem;
}

.choices__placeholder {
	color: #6c757d;
	opacity: 1;
}

.choices[data-type*="select-one"] .choices__inner {
	padding-bottom: 0;
}

.choices[data-type*="select-one"]:after {
	border-color: #495057 transparent transparent;
	border-style: solid;
	border-width: 5px;
	content: "";
	height: 0;
	right: 11.5px;
	margin-top: -2.5px;
	position: absolute;
	top: 50%;
	width: 0;
}

.choices[data-type*="select-one"].is-open:after {
	border-color: transparent transparent #495057;
	margin-top: -7.5px;
}

.choices.is-focused .choices__inner {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Ensure dropdown doesn't overflow card */
.table-card {
	overflow: visible !important;
}

.form-group-modern {
	overflow: visible !important;
}

/* Attachment System with Fancybox */
.attachment-link-modern {
	display: block;
	position: relative;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.attachment-link-modern:hover {
	transform: scale(1.02);
}

.attachment-thumbnail-modern {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.attachment-link-modern:hover .attachment-thumbnail-modern {
	border-color: #667eea;
	box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.attachment-overlay-modern {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(102, 126, 234, 0.9);
	color: white;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.3s ease;
}

.attachment-link-modern:hover .attachment-overlay-modern {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.1);
}

.attachment-overlay-modern i {
	font-size: 1.5rem;
}

/* Video specific styles */
.attachment-item-modern video.attachment-thumbnail-modern {
	object-fit: cover;
}

/* Fancybox customization */
.fancybox__container {
	z-index: 1060 !important;
}

.fancybox__backdrop {
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
}

.fancybox__content {
	background: transparent;
}

.fancybox__toolbar {
	background: rgba(0, 0, 0, 0.8);
	border-radius: 8px;
	padding: 8px;
}

.fancybox__button {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 4px;
	color: white;
	transition: all 0.3s ease;
}

.fancybox__button:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

.fancybox__caption {
	background: rgba(0, 0, 0, 0.8);
	color: white;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 1rem;
	font-weight: 500;
}

/* Upload Progress Bar */
.upload-progress-modern {
	margin-top: 1rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 0.5rem;
	border: 1px solid #e9ecef;
}

.progress-header-modern {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.progress-text-modern {
	font-weight: 500;
	color: #495057;
}

.progress-percentage-modern {
	font-weight: 600;
	color: #007bff;
}

.progress-bar-modern {
	width: 100%;
	height: 8px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.progress-fill-modern {
	height: 100%;
	background: linear-gradient(90deg, #007bff, #0056b3);
	border-radius: 4px;
	transition: width 0.3s ease;
	width: 0%;
}

.progress-details-modern {
	font-size: 0.875rem;
	color: #6c757d;
}

.selected-files-info {
	padding: 0.5rem;
	background: #e3f2fd;
	border-radius: 0.25rem;
	border-left: 3px solid #2196f3;
}

/* Users table name text color fix */
.table-card .user-name {
  color: var(--dark-color) !important;
}

.table-card .email-text {
  color: var(--dark-color);
}

/* Alert text visibility fixes */
.alert-info .text-info,
.alert-info strong.text-info {
  color: #0c5460 !important; /* Dark blue for better visibility */
}

.alert-info .text-muted {
  color: #495057 !important; /* Dark gray for better visibility */
}

.alert-info li {
  color: #495057 !important; /* Dark gray for list items */
}

.alert-secondary .text-secondary,
.alert-secondary strong.text-secondary {
  color: #383d41 !important; /* Dark gray for better visibility */
}

.alert-secondary .text-muted {
  color: #495057 !important; /* Dark gray for better visibility */
}

.alert-secondary li {
  color: #495057 !important; /* Dark gray for list items */
}