/* Global Styles */
html {
  font-size: 12px;
  scroll-behavior: smooth; /* Smooth scrolling */
  overflow-x: hidden; /* Horizontal scroll'u engelle */
}

/* Tüm sayfalar için genel küçültme */
body {
  font-size: 1rem;
  overflow-x: hidden; /* Horizontal scroll'u engelle */
  position: relative; /* Positioning context */
  min-height: 100vh; /* Minimum viewport height */
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
}

p, span, div, label {
  font-size: 1em;
}

/* Bootstrap butonlarını küçült */
.btn {
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.6rem 1.2rem;
}

/* Tabloları küçült */
.table {
  font-size: 0.95rem;
}

.table th,
.table td {
  padding: 0.5rem;
}

/* Form elemanlarını küçült */
.form-control,
.form-select {
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
}

/* Navbar'ı küçült */
.navbar {
  font-size: 1rem;
}

.navbar-brand {
  font-size: 1.2rem;
}

/* Card'ları küçült */
.card {
  font-size: 1rem;
}

.card-title {
  font-size: 1.2rem;
}

.card-body {
  padding: 1rem;
}

/* Alert'leri küçült */
.alert {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

/* Metin taşması düzeltmeleri */
.text-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.dashboard-card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

/* Şifre gücü göstergesi */

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

body.sidebar-open {
  overflow: hidden;
}

/* Login Page Styles */
.login-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  position: relative;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 82, 152, 0.3) 0%, rgba(30, 60, 114, 0.3) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.login-logo-section {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.login-logo {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.login-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group-text {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #dee2e6;
  border-radius: 10px 0 0 10px;
}

.form-control {
  border-radius: 0 10px 10px 0;
  border: 1px solid #dee2e6;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #258cfb;
  box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
  transform: translateY(-2px);
}

.btn-login {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  border: none;
  padding: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 140, 251, 0.4);
  background: linear-gradient(135deg, #1e3c72 0%, #258cfb 100%);
}

/* Login Error Messages */
.validation-summary-errors {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #721c24;
  backdrop-filter: blur(5px);
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 1rem;
}

.validation-summary-errors li {
  margin-bottom: 0.25rem;
}

.support-info {
  text-align: center;
  color: white;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.support-info a {
  color: #258cfb;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.support-info a:hover {
  text-decoration: underline;
  color: #fff;
  text-shadow: 0 0 10px rgba(37, 140, 251, 0.8);
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  z-index: 1000;
  overflow-y: auto;
  background: linear-gradient(180deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  margin: 0.2rem 0.8rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

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

.sidebar .nav-link:hover::before {
  left: 100%;
}

.sidebar .nav-link:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(37, 140, 251, 0.2) 0%, rgba(30, 60, 114, 0.2) 100%);
  border-left-color: #258cfb;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(37, 140, 251, 0.3);
}

.sidebar .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(37, 140, 251, 0.3) 0%, rgba(30, 60, 114, 0.3) 100%);
  border-left-color: #258cfb;
  box-shadow: 0 5px 15px rgba(37, 140, 251, 0.4);
}

.sidebar .nav-link i {
  width: 20px;
  text-align: center;
  margin-right: 0.6rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.sidebar .nav-link.text-danger:hover {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(220, 53, 69, 0.1) 100%);
  border-left-color: #dc3545;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Mobile Sidebar Toggle */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

/* Main Content */
main {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding: 1.5rem;
  margin-left: 220px;
  transition: all 0.3s ease;
}

/* Dashboard Cards */
.dashboard-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.dashboard-card:hover {
  /* transform: translateY(-10px); - Sayfa kaymasını engellemek için kaldırıldı */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  /* Hover efekti için sadece box-shadow kullanıyoruz */
}

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

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

.dashboard-card:hover i {
  transform: scale(1.1);
}

.card-header {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  color: white;
  border-radius: 20px 20px 0 0 !important;
  padding: 1.5rem;
  border: none;
}

/* Alert Styles */
.alert-info {
  background: linear-gradient(135deg, rgba(209, 236, 241, 0.9) 0%, rgba(190, 229, 235, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(190, 229, 235, 0.5);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.alert-info .alert-heading {
  color: #0c5460;
  font-weight: 600;
}

/* Table Styles */
.table-responsive {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-responsive.has-horizontal-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
  pointer-events: none;
}

.table th {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  color: white;
  border: none;
  padding: 1.5rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: linear-gradient(135deg, rgba(37, 140, 251, 0.05) 0%, rgba(30, 60, 114, 0.05) 100%);
  transform: scale(1.01);
}

/* Status Badges */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
}

.badge-draft {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.badge-pending {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}

.badge-completed {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.badge-cancelled {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

/* Button Styles */
.btn {
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
}

.btn-outline-primary {
  border: 2px solid #258cfb;
  color: #258cfb;
  background: transparent;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  border-color: #258cfb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 140, 251, 0.3);
}





/* Responsive Design - Mobile First Approach */
@media (max-width: 400px) {
  /* Extra Small Devices (phones, 576px and down) */
  html {
    font-size: 12px;
  }
  
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  
  .sidebar.show {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .sidebar-overlay.show {
    display: block;
  }
  
  main {
    margin-left: 0 !important;
    padding: 1rem;
    padding-top: 4rem; /* Hamburger menü için üstten boşluk */
  }
  
  .login-container {
    padding: 0.5rem;
  }
  
  .login-form {
    margin: 0.5rem;
    padding: 1rem;
    max-width: 100%;
  }
  
  .login-logo {
    max-width: 100px;
  }
  
  .dashboard-card .card-body {
    padding: 1rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .alert-info {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem;
  }
  
  .input-group-text {
    padding: 0.5rem;
  }
  
  h1.h2 {
    font-size: 1.5rem;
  }
  
  .container-fluid {
    padding: 0;
  }
  
  /* Mobile specific improvements */
  .table-responsive {
    border-radius: 15px;
  }
  
  .dashboard-card {
    border-radius: 15px;
  }
  
  .btn {
    border-radius: 8px;
  }
  
  .form-control {
    border-radius: 8px;
  }
  
  .input-group-text {
    border-radius: 8px 0 0 8px;
  }
  
  .form-control {
    border-radius: 0 8px 8px 0;
  }
}

@media (max-width: 768px) {
  /* Small Devices (landscape phones, 768px and down) */
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  
  .sidebar.show {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .sidebar-overlay.show {
    display: block;
  }
  
  main {
    margin-left: 0 !important;
    padding: 1rem;
    padding-top: 4rem; /* Hamburger menü için üstten boşluk */
  }
  
  .login-form {
    margin: 1rem;
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .login-logo h1 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .dashboard-card {
    margin-bottom: 1rem;
  }
  
  .table-responsive {
    font-size: 0.9rem;
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  
  .table {
    font-size: 0.9rem !important;
    width: 100% !important;
    table-layout: fixed !important;
  }
  
  .table th,
  .table td {
    padding: 0.6rem 0.4rem !important;
    font-size: 0.85rem !important;
    word-wrap: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .table th {
    font-size: 0.8rem !important;
    padding: 0.7rem 0.4rem !important;
  }
  
  .btn-sm {
    padding: 0.1rem 0.2rem !important;
    font-size: 0.6rem !important;
    border-radius: 3px !important;
  }
  
  .badge {
    padding: 0.1rem 0.2rem !important;
    font-size: 0.6rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
  }
  
  .card-header {
    padding: 1.25rem;
  }
  
  .dashboard-card .card-body {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem;
  }
  
  .input-group-text {
    padding: 0.6rem;
  }
  
  h1.h2 {
    font-size: 1.75rem;
  }
  
  .container-fluid {
    padding: 0 0.5rem;
  }
  
  /* Tablet specific improvements */
  .sidebar .nav-link {
    padding: 0.8rem 1.2rem;
    margin: 0.2rem 0.8rem;
  }
  
  .sidebar .nav-link i {
    width: 20px;
    margin-right: 0.6rem;
    font-size: 1rem;
  }
}

/* Masaüstü için tablo düzenlemeleri */
@media (min-width: 769px) {
  .table-responsive {
    font-size: 1rem;
    overflow-x: auto;
    max-width: none;
  }
  
  .table {
    font-size: 1rem !important;
    width: 100% !important;
    table-layout: auto !important;
  }
  
  .table th,
  .table td {
    padding: 1rem !important;
    font-size: 1rem !important;
    word-wrap: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  .table th {
    font-size: 1rem !important;
    padding: 1.5rem 1rem !important;
  }
  
  .btn-sm {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
  }
  
  .badge {
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 992px) {
  /* Medium Devices (tablets, 992px and down) */
  .sidebar {
    width: 250px;
  }
  
  main {
    margin-left: 220px;
    padding: 1.5rem;
  }
  
  .dashboard-card {
    margin-bottom: 1.25rem;
  }
  
  .table-responsive {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 0.7rem 1.3rem;
  }
  
  .card-header {
    padding: 1.4rem;
  }
  
  .dashboard-card .card-body {
    padding: 1.75rem;
  }
  
  .form-control {
    padding: 0.7rem;
  }
  
  .input-group-text {
    padding: 0.7rem;
  }
  
  h1.h2 {
    font-size: 2rem;
  }
  
  .container-fluid {
    padding: 0 1rem;
  }
}

@media (max-width: 1200px) {
  /* Large Devices (desktops, 1200px and down) */
  .sidebar {
    width: 220px;
  }
  
  main {
    margin-left: 220px;
    padding: 2rem;
  }
  
  .dashboard-card {
    margin-bottom: 1.5rem;
  }
  
  .table-responsive {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
  
  .card-header {
    padding: 1.5rem;
  }
  
  .dashboard-card .card-body {
    padding: 2rem;
  }
  
  .form-control {
    padding: 0.75rem 1rem;
  }
  
  .input-group-text {
    padding: 0.75rem;
  }
  
  h1.h2 {
    font-size: 2.25rem;
  }
  
  .container-fluid {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1201px) {
  /* Extra Large Devices (large desktops, 1201px and up) */
  .sidebar {
    width: 240px;
  }
  
  main {
    margin-left: 240px;
    padding: 2.5rem;
  }
  
  .dashboard-card {
    margin-bottom: 2rem;
  }
  
  .table-responsive {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.8rem 1.6rem;
  }
  
  .card-header {
    padding: 1.75rem;
  }
  
  .dashboard-card .card-body {
    padding: 2.5rem;
  }
  
  .form-control {
    padding: 0.8rem 1.2rem;
  }
  
  .input-group-text {
    padding: 0.8rem;
  }
  
  h1.h2 {
    font-size: 2.5rem;
  }
  
  .container-fluid {
    padding: 0 2rem;
  }
}



/* Print Styles */
@media print {
  .sidebar,
  .sidebar-toggle,
  .sidebar-overlay {
    display: none !important;
  }
  
  main {
    margin-left: 0 !important;
    padding: 0 !important;
    background: white !important;
  }
  
  .dashboard-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .btn {
    display: none !important;
  }
}



/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1e3c72 0%, #258cfb 100%);
}







/* Mobil tablo düzenlemeleri */
@media (max-width: 576px) {
  .table-responsive {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  
  .table {
    font-size: 0.8rem !important;
    width: 100% !important;
    table-layout: fixed !important;
  }
  
  .table th,
  .table td {
    padding: 0.5rem 0.3rem !important;
    font-size: 0.8rem !important;
    word-wrap: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .table th {
    font-size: 0.75rem !important;
    padding: 0.6rem 0.3rem !important;
  }
  
  .btn-sm {
    padding: 0.08rem 0.15rem !important;
    font-size: 0.55rem !important;
    border-radius: 2px !important;
  }
  
  .badge {
    padding: 0.08rem 0.15rem !important;
    font-size: 0.55rem !important;
  }
  
  .badge:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .sidebar-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mobil cihazlarda butonları küçült */
  .mobile-small-btn {
    padding: 0.01rem 0.02rem !important;
    font-size: 0.4rem !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }
}

/* Masaüstünde normal boyut */
@media (min-width: 577px) {
  .mobile-small-btn {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
  }

/* Admin Panel Styles */
.admin-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(37, 140, 251, 0.1);
}

.admin-title {
  color: #1e3c72;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.admin-form-group {
  margin-bottom: 0.5rem;
}

.admin-label {
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 0.3rem;
  display: block;
  font-size: 0.9rem;
}

.admin-input {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.admin-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.admin-btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.admin-btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.admin-btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border: none;
  border-radius: 3px;
  font-weight: 600;
}

.admin-btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  border: none;
  border-radius: 3px;
  font-weight: 600;
}

.admin-btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border: none;
  border-radius: 3px;
  font-weight: 600;
}

.admin-table-header {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  color: white;
  border: none;
  padding: 0.7rem 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.admin-table-cell {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.admin-alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.admin-modal-header {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
}

.admin-search-box {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* Customer Management Styles */
.customer-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 2rem;
}

.customer-title {
  color: #1e3c72;
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.customer-badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.customer-table {
  font-size: 0.7rem;
  width: 100%;
  table-layout: fixed;
}

.customer-table-header {
  background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
  color: white;
  border: none;
  padding: 0.3rem 0.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.6rem;
}

.customer-table-cell {
  padding: 0.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.65rem;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-table-row {
  transition: all 0.3s ease;
}
  
  /* Masaüstünde tablo stillerini düzelt */
  .table {
    font-size: 1rem !important;
    table-layout: auto !important;
  }
  
  .table th,
  .table td {
    padding: 1rem !important;
    font-size: 1rem !important;
    word-wrap: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  .table th {
    font-size: 1rem !important;
    padding: 1.5rem 1rem !important;
  }
  
  .btn-sm {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
  }
  
  .badge {
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
  }
}

/* Responsive Admin Buton Stilleri */
.mobile-small-btn {
  font-size: 0.6rem;
  padding: 0.2rem 0.4rem;
  min-width: auto;
  transition: all 0.3s ease;
}

/* Sadece admin panelindeki butonları hedefle */
.admin-container .btn-sm,
.customer-container .btn-sm {
  height: auto;
  line-height: 1.2;
}

/* Desktop için buton boyutları */
@media (min-width: 768px) {
  .admin-btn-success,
  .admin-btn-warning,
  .admin-btn-danger,
  .admin-btn-primary,
  .admin-btn-info,
  .customer-btn-info {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .mobile-small-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Tablet için buton boyutları */
@media (max-width: 767px) and (min-width: 576px) {
  .admin-container .admin-btn-success,
  .admin-container .admin-btn-warning,
  .admin-container .admin-btn-danger,
  .admin-container .admin-btn-primary,
  .admin-container .admin-btn-info,
  .customer-container .customer-btn-info {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
    line-height: 1.3;
  }
  
  .admin-container .mobile-small-btn,
  .customer-container .mobile-small-btn {
    font-size: 0.6rem;
    padding: 0.2rem 0.35rem;
    line-height: 1.3;
  }
}

/* Mobil için buton boyutları */
@media (max-width: 575px) {
  .admin-container .admin-btn-success,
  .admin-container .admin-btn-warning,
  .admin-container .admin-btn-danger,
  .admin-container .admin-btn-primary,
  .admin-container .admin-btn-info,
  .customer-container .customer-btn-info {
    font-size: 0.55rem;
    padding: 0.15rem 0.25rem;
    min-width: 35px;
    line-height: 1.2;
  }
  
  .admin-container .mobile-small-btn,
  .customer-container .mobile-small-btn {
    font-size: 0.5rem;
    padding: 0.1rem 0.2rem;
    min-width: 30px;
    line-height: 1.2;
  }
  
  /* Mobilde buton gruplarını dikey hizala */
  .admin-container .d-flex.flex-column.flex-md-row,
  .customer-container .d-flex.flex-column.flex-md-row {
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
  .admin-container .admin-btn-success,
  .admin-container .admin-btn-warning,
  .admin-container .admin-btn-danger,
  .admin-container .admin-btn-primary,
  .admin-container .admin-btn-info,
  .customer-container .customer-btn-info {
    font-size: 0.5rem;
    padding: 0.1rem 0.2rem;
    min-width: 30px;
    line-height: 1.1;
  }
  
  .admin-container .mobile-small-btn,
  .customer-container .mobile-small-btn {
    font-size: 0.45rem;
    padding: 0.08rem 0.15rem;
    min-width: 25px;
    line-height: 1.1;
  }
}

/* Dil Değiştirme Butonları için Özel Stiller */
.language-btn {
  position: relative;
  transition: all 0.3s ease;
  border-width: 2px !important;
  font-weight: 600;
  min-width: 40px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding: 6px 10px !important;
}

/* Türkçe butonu - aktif durum */
.language-btn.active[onclick*="tr"] {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  border-color: #0d47a1 !important;
  color: white !important;
  box-shadow: 0 3px 10px rgba(13, 71, 161, 0.4);
  transform: scale(1.05);
}

/* İngilizce butonu - aktif durum */
.language-btn.active[onclick*="en"] {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  border-color: #0d47a1 !important;
  color: white !important;
  box-shadow: 0 3px 10px rgba(13, 71, 161, 0.4);
  transform: scale(1.05);
}

/* İngilizce butonu - aktif durum */
.language-btn.active[onclick*="en"] {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  border-color: #0d47a1 !important;
  color: white !important;
  box-shadow: 0 3px 10px rgba(13, 71, 161, 0.4);
  transform: scale(1.05);
}

/* Türkçe butonu - pasif durum */
.language-btn:not(.active)[onclick*="tr"] {
  background: rgba(13, 71, 161, 0.1) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
}

/* İngilizce butonu - pasif durum */
.language-btn:not(.active)[onclick*="en"] {
  background: rgba(13, 71, 161, 0.1) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
}

/* Hover efektleri */
.language-btn[onclick*="tr"]:hover:not(.active) {
  background: rgba(13, 71, 161, 0.2) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.language-btn[onclick*="en"]:hover:not(.active) {
  background: rgba(13, 71, 161, 0.2) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

/* Login sayfası için özel stiller */
.login-container .language-btn {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #333 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-container .language-btn.active[onclick*="tr"] {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  border-color: #0d47a1 !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.login-container .language-btn.active[onclick*="en"] {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  border-color: #0d47a1 !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.login-container .language-btn:not(.active)[onclick*="tr"]:hover {
  background: rgba(13, 71, 161, 0.15) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
}

.login-container .language-btn:not(.active)[onclick*="en"]:hover {
  background: rgba(13, 71, 161, 0.15) !important;
  border-color: #0d47a1 !important;
  color: #0d47a1 !important;
}

/* Mobil için dil butonları */
@media (max-width: 768px) {
  .language-btn {
    min-width: 35px;
    height: 32px;
    font-size: 1.2rem;
    padding: 5px 8px !important;
  }
}

@media (max-width: 576px) {
  .language-btn {
    min-width: 32px;
    height: 30px;
    font-size: 1.1rem;
    padding: 4px 6px !important;
  }
}

/* ===========================================
   ADMIN DASHBOARD CSS - Mobil uyumluluk ve responsive tasarım
   =========================================== */

/* Dashboard mobil uyumluluk */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0.5rem !important;
        margin-top: 60px !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .card {
        margin-bottom: 1rem !important;
    }
    
    /* Grafik yüksekliklerini mobilde azalt */
    .card-body[style*="height: 400px"] {
        height: 300px !important;
    }
    
    /* Tarih filtreleme formunu mobilde optimize et */
    .date-range-info {
        font-size: 12px !important;
        padding: 6px !important;
    }
    
    /* Butonları mobilde küçült */
    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Başlık boyutunu mobilde küçült */
    h1 {
        font-size: 1.1rem !important;
    }
    
    /* İstatistik kartlarını mobilde optimize et */
    .col-6.col-md-3 {
        margin-bottom: 0.5rem !important;
    }
    
    .card-body.text-center.text-white h3 {
        font-size: 1rem !important;
    }
    
    .card-body.text-center.text-white p {
        font-size: 0.7rem !important;
    }
    
    .card-body.text-center.text-white i {
        font-size: 1.5rem !important;
    }
    
    /* Tablo responsive ayarları */
    .table-responsive {
        font-size: 0.7rem !important;
    }
    
    .table td, .table th {
        padding: 0.4rem 0.2rem !important;
        font-size: 0.6rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .table th {
        font-size: 0.6rem !important;
        font-weight: bold !important;
    }
    
    /* Badge boyutlarını küçült */
    .badge {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.5rem !important;
    }
    
    /* Butonları yazılarla orantılı yap */
    .btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.6rem !important;
        line-height: 1.2 !important;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.6rem !important;
    }
    
    /* Form etiketlerini küçült */
    label {
        font-size: 0.8rem !important;
    }
    
    /* Input alanlarını küçült */
    .form-control {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    /* Card header başlıklarını küçült */
    .card-header h5 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0.25rem !important;
        margin-top: 50px !important;
    }
    
    /* Grafik yüksekliklerini daha da azalt */
    .card-body[style*="height: 400px"] {
        height: 200px !important;
    }
    
    /* Tarih filtreleme formunu daha da optimize et */
    .col-12.col-md-3 {
        margin-bottom: 0.5rem !important;
    }
    
    /* Başlık boyutunu daha da küçült */
    h1 {
        font-size: 0.9rem !important;
    }
    
    /* İstatistik kartlarını daha da optimize et */
    .card-body.text-center.text-white h3 {
        font-size: 0.8rem !important;
    }
    
    .card-body.text-center.text-white p {
        font-size: 0.6rem !important;
    }
    
    .card-body.text-center.text-white i {
        font-size: 1.2rem !important;
    }
    
    /* Butonları daha da küçült */
    .btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
        line-height: 1.1 !important;
    }
    
    .btn-sm {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.4rem !important;
    }
    
    /* Tarih aralığı bilgisini daha da küçült */
    .date-range-info {
        font-size: 10px !important;
        padding: 4px !important;
    }
    
    /* Form etiketlerini daha da küçült */
    label {
        font-size: 0.7rem !important;
    }
    
    /* Input alanlarını daha da küçült */
    .form-control {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    /* Card header başlıklarını daha da küçült */
    .card-header h5 {
        font-size: 0.8rem !important;
    }
    
    /* Tablo yazılarını daha da küçült */
    .table-responsive {
        font-size: 0.6rem !important;
    }
    
    .table td, .table th {
        padding: 0.3rem 0.1rem !important;
    }
    
    .table th {
        font-size: 0.5rem !important;
        font-weight: bold !important;
    }
    
    /* Badge boyutlarını daha da küçült */
    .badge {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.5rem !important;
    }
    
    /* Filtre bölümü mobil optimizasyonu */
    .card-body .form-label {
        font-size: 0.7rem !important;
    }
    
    .card-body .form-select {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    .card-body .form-control {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    .card-body .btn {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .card-body .row {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }
    
    /* Şirket arama kutusu mobil optimizasyonu */
    .card-body .position-relative {
        margin-bottom: 0.5rem !important;
    }
    
    .card-body .position-absolute {
        font-size: 0.6rem !important;
        right: 10px !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }
    
    /* Otomatik tamamlama stilleri */
    .suggestion-item {
        padding: 12px 15px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    
    .suggestion-item:hover {
        background-color: #f8f9fa !important;
        transform: translateX(5px);
    }
    
    .suggestion-item:last-child {
        border-bottom: none !important;
    }
    
    /* Form elemanları hover efektleri - transform kaldırıldı */
    .form-control:focus, .form-select:focus {
        border-color: #667eea !important;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
        /* transform: translateY(-2px); - Sayfa kaymasını engellemek için kaldırıldı */
    }
    
    .form-control:hover, .form-select:hover {
        border-color: #667eea !important;
        /* transform: translateY(-1px); - Sayfa kaymasını engellemek için kaldırıldı */
    }
    
    /* Buton hover efektleri - transform kaldırıldı */
    .btn:hover {
        /* transform: translateY(-2px) !important; - Sayfa kaymasını engellemek için kaldırıldı */
        box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
    }
    
    /* Buton düzeni mobil optimizasyonu */
    .card-body .d-grid {
        gap: 0.5rem !important;
    }
    
    .card-body .btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* Daha küçük ekranlar için */
    @media (max-width: 576px) {
        .card-body .col-12.col-md-2 {
            margin-bottom: 1rem !important;
        }
        
        .card-body .btn {
            padding: 10px 15px !important;
            font-size: 0.9rem !important;
        }
    }
}

/* ===========================================
   CUSTOMER DASHBOARD CSS - Müşteri dashboard stilleri
   =========================================== */

.dashboard-welcome-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 4rem 3rem;
    border: 2px solid rgba(37, 140, 251, 0.1);
    margin: 2rem 0;
}

.dashboard-title {
    font-size: 4rem;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-weight: bold;
}

.dashboard-title i {
    color: #258cfb;
}

.dashboard-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .dashboard-welcome-card {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
        border-radius: 20px;
    }
    
    .dashboard-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-welcome-card {
        padding: 1.5rem 1rem;
        margin: 0.5rem 0;
        border-radius: 15px;
    }
    
    .dashboard-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.8rem;
    }
    
    .dashboard-subtitle {
        font-size: 0.95rem;
    }
}

/* ===========================================
   CUSTOMER REPORTS CSS - Müşteri rapor sayfaları stilleri
   =========================================== */

.no-reports-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #fdcb6e;
    border-radius: 15px;
    padding: 2rem;
}

.no-reports-alert i {
    font-size: 3rem;
    color: #e17055;
    margin-bottom: 1rem;
}

.no-reports-alert h4 {
    color: #d63031;
    margin-bottom: 1rem;
    font-weight: bold;
}

.no-reports-alert p {
    color: #636e72;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.report-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.report-form .form-label {
    font-weight: 600;
    color: #1e3c72;
}

.report-form .form-select,
.report-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
}

.generate-btn {
    background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
    border: none;
    border-radius: 15px;
    padding: 1rem 3rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 140, 251, 0.3);
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .no-reports-alert {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .no-reports-alert i {
        font-size: 2.5rem;
    }
    
    .no-reports-alert h4 {
        font-size: 1.3rem;
    }
    
    .no-reports-alert p {
        font-size: 1rem;
    }
    
    .report-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .generate-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .no-reports-alert {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .no-reports-alert i {
        font-size: 2rem;
    }
    
    .no-reports-alert h4 {
        font-size: 1.2rem;
    }
    
    .no-reports-alert p {
        font-size: 0.95rem;
    }
    
    .report-form {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .generate-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .no-reports-alert i {
        font-size: 1.8rem;
    }
    
    .no-reports-alert h4 {
        font-size: 1.1rem;
    }
    
    .no-reports-alert p {
        font-size: 0.9rem;
    }
}

/* ===========================================
   EXTRACTED INLINE CSS FROM CSHTML FILES
   =========================================== */

/* Customer Settings Styles */
.customer-settings-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: none;
    position: relative; /* Positioning context */
    overflow: visible; /* İçerik taşmasını engelle */
    transition: box-shadow 0.3s ease; /* Smooth transition sadece box-shadow için */
}

/* Customer settings card hover efekti - transform olmadan */
.customer-settings-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    /* transform kullanmıyoruz - sayfa kaymasını engellemek için */
}

/* Customer Settings Container - Scroll Control */
.customer-settings-container {
    position: relative;
    overflow: hidden; /* Container overflow kontrolü */
    height: auto; /* Otomatik yükseklik */
    max-height: none; /* Maksimum yükseklik sınırı yok */
}

.customer-settings-card .card-body {
    padding: 2rem;
}

.customer-settings-title {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.customer-settings-title i {
    color: #258cfb;
}

.customer-settings-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.customer-settings-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    color: #495057;
    font-weight: 500;
}

.customer-settings-input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
}

.customer-settings-button {
    background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
    border: none;
    border-radius: 15px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 140, 251, 0.3);
    transition: all 0.3s ease; /* Smooth transition */
}

/* Customer settings button hover efekti - transform olmadan */
.customer-settings-button:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #258cfb 100%);
    box-shadow: 0 12px 35px rgba(37, 140, 251, 0.4);
    /* transform kullanmıyoruz - sayfa kaymasını engellemek için */
}

/* Admin Dashboard Styles */
.admin-dashboard-header {
    margin-top: 20px;
    padding: 1rem;
}

.admin-dashboard-title {
    color: #1e3c72;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.admin-dashboard-title i {
    color: #258cfb;
}

.admin-pdf-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.admin-stat-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.admin-stat-card-users {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-stat-card-downloads {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.admin-stat-card-today {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.admin-stat-card-active {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.admin-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-stat-number {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.admin-stat-label {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Admin date filter ve chart sınıfları kullanılmadığı için kaldırıldı */

.admin-table-hidden {
    display: none;
}

.admin-table-header {
    border: none;
    color: #1e3c72;
    font-weight: 600;
}

.admin-table-cell {
    border: none;
    vertical-align: middle;
}

.admin-table-icon-user {
    color: #258cfb;
    margin-right: 0.5rem;
}

.admin-table-icon-calendar {
    color: #28a745;
    margin-right: 0.5rem;
}

.admin-table-icon-clock {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* Admin table badge sınıfları kullanılmadığı için kaldırıldı */

/* Admin Reports Styles */
.admin-reports-alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.admin-reports-alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.admin-reports-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(37, 140, 251, 0.1);
}

.admin-reports-form-title {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.admin-reports-form-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.3rem;
    display: block;
    font-size: 0.9rem;
}

.admin-reports-form-input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.admin-reports-table-header {
    background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
    color: white;
    border: none;
    padding: 0.3rem 0.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.6rem;
}

.admin-reports-table-cell {
    padding: 0.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.65rem;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-reports-table-badge {
    padding: 0.1rem 0.3rem;
    font-size: 0.6rem;
}

.admin-reports-no-data {
    padding: 2rem;
}

.admin-reports-no-data-icon {
    color: #dee2e6;
}

.admin-reports-no-data-text {
    font-size: 1rem;
}

/* Admin Settings Styles */
.admin-settings-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: none;
}

.admin-settings-card .card-body {
    padding: 1.5rem;
}

.admin-settings-title {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.admin-settings-title i {
    color: #258cfb;
}

.admin-settings-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.admin-settings-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    color: #495057;
    font-weight: 500;
}

.admin-settings-input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
}

.admin-settings-button {
    background: linear-gradient(135deg, #258cfb 0%, #1e3c72 100%);
    border: none;
    border-radius: 15px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 140, 251, 0.3);
}

/* Admin Edit Report Styles */
.admin-edit-report-alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.admin-edit-report-alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.admin-edit-report-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(37, 140, 251, 0.1);
}

.admin-edit-report-form-title {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.admin-edit-report-form-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.3rem;
    display: block;
    font-size: 0.9rem;
}

.admin-edit-report-form-input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.admin-edit-report-button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.admin-edit-report-button-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
}

.admin-edit-report-button-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}