/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #4c63d2;
}

.nav-brand i {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(76, 99, 210, 0.1);
  color: #4c63d2;
}

.nav-link.active {
  background: #4c63d2;
  color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
  background: linear-gradient(135deg, #4c63d2, #5a67d8);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}

.card-body {
  padding: 2rem;
}

/* Status Grid */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(76, 99, 210, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(76, 99, 210, 0.1);
}

.status-actions {
  margin-left: auto;
}

.status-actions .btn {
  padding: 0.5rem;
  min-width: auto;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon {
  font-size: 1.5rem;
}

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

.status-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.status-value {
  font-weight: 600;
  color: #333;
}

.status-online {
  color: #22c55e;
}

.status-offline {
  color: #ef4444;
}

.status-warning {
  color: #f59e0b;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4c63d2;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
}

/* Test Tools */
.test-tools {
  display: grid;
  gap: 2rem;
}

.tool-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4c63d2;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tool-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, #4c63d2, #5a67d8);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(76, 99, 210, 0.4);
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-outline {
  background: transparent;
  color: #4c63d2;
  border: 2px solid #4c63d2;
}

.btn-outline:hover {
  background: #4c63d2;
  color: white;
}

.btn-success {
  background: #28a745;
  color: white;
  border: 1px solid #28a745;
}

.btn-success:hover {
  background: #218838;
  border-color: #1e7e34;
}

.btn-warning {
  background: #ffc107;
  color: #212529;
  border: 1px solid #ffc107;
}

.btn-warning:hover {
  background: #e0a800;
  border-color: #d39e00;
}

.btn-copy {
  background: transparent;
  border: none;
  color: #4c63d2;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.btn-copy:hover {
  background: rgba(76, 99, 210, 0.1);
}

/* Info Grid */
.info-grid {
  display: grid;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.info-item strong {
  min-width: 120px;
  color: #4c63d2;
}

.info-item code {
  background: rgba(76, 99, 210, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #4c63d2;
  margin-left: 1rem;
}

/* Endpoints */
.endpoint-list {
  display: grid;
  gap: 1.5rem;
}

.endpoint {
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.3);
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.method {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  min-width: 60px;
  text-align: center;
}

.method.get {
  background: #22c55e;
  color: white;
}

.method.post {
  background: #3b82f6;
  color: white;
}

.method.patch {
  background: #f59e0b;
  color: white;
}

.method.delete {
  background: #ef4444;
  color: white;
}

.path {
  font-family: 'Courier New', monospace;
  background: rgba(76, 99, 210, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: #4c63d2;
  flex: 1;
}

.btn-test {
  background: #10b981;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-test:hover {
  background: #059669;
}

.endpoint-description {
  color: #64748b;
  margin-bottom: 1rem;
}

.endpoint-params ul {
  list-style: none;
  padding-left: 1rem;
}

.endpoint-params li {
  margin-bottom: 0.5rem;
  color: #64748b;
}

.endpoint-params code {
  background: rgba(76, 99, 210, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #4c63d2;
}

.endpoint-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-top: 0.5rem;
}

/* Test Results */
.test-result {
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

.result-header {
  background: #f8fafc;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.method-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  min-width: 60px;
  text-align: center;
}

.result-url {
  font-family: 'Courier New', monospace;
  color: #4c63d2;
  flex: 1;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
}

.status-200 {
  background: #22c55e;
  color: white;
}

.status-400 {
  background: #f59e0b;
  color: white;
}

.status-500 {
  background: #ef4444;
  color: white;
}

.result-time {
  color: #64748b;
  font-size: 0.875rem;
}

.result-body {
  padding: 1rem;
}

.json-result {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: linear-gradient(135deg, #4c63d2, #5a67d8);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1rem 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4c63d2;
  box-shadow: 0 0 0 3px rgba(76, 99, 210, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
.footer {
  background: rgba(30, 41, 59, 0.9);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  backdrop-filter: blur(10px);
}

.footer-content p {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .nav-container {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .card-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .endpoint-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-buttons {
    flex-direction: column;
  }
  
  .tool-buttons .btn {
    justify-content: center;
  }
}

/* Transfer Requests List Styles */
.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.form-select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  font-size: 0.9rem;
  min-width: 150px;
}

.requests-container {
  position: relative;
}

.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.loading-spinner i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.requests-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

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

.request-id {
  font-size: 0.8rem;
  color: #666;
  font-family: monospace;
}

.request-status {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.request-status.pending {
  background: #fff3cd;
  color: #856404;
}

.request-status.approved {
  background: #d4edda;
  color: #155724;
}

.request-status.rejected {
  background: #f8d7da;
  color: #721c24;
}

.request-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.request-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.request-detail-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.request-detail-value {
  font-size: 0.9rem;
  color: #333;
}

.request-passengers {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.passenger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.85rem;
}

.passenger-name {
  font-weight: 500;
}

.passenger-time {
  color: #666;
  font-size: 0.8rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.pagination button {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background: #f8f9fa;
}

.pagination button.active {
  background: #4c63d2;
  color: white;
  border-color: #4c63d2;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: #666;
}

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

@media (max-width: 768px) {
  .header-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .request-details {
    grid-template-columns: 1fr;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}

/* Active Transfers List Styles */
.transfers-container {
  position: relative;
}

.transfers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transfer-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

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

.transfer-id {
  font-size: 0.8rem;
  color: #666;
  font-family: monospace;
}

.transfer-status {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.transfer-status.beklemede {
  background: #fff3cd;
  color: #856404;
}

.transfer-status.rezervasyon {
  background: #d1ecf1;
  color: #0c5460;
}

.transfer-status.atandı {
  background: #d4edda;
  color: #155724;
}

.transfer-status.yolda {
  background: #d4edda;
  color: #155724;
}

.transfer-status.tamamlandı {
  background: #d1e7dd;
  color: #0f5132;
}

.transfer-status.iptal {
  background: #f8d7da;
  color: #721c24;
}

.transfer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.transfer-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.transfer-detail-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.transfer-detail-value {
  font-size: 0.9rem;
  color: #333;
}

.transfer-assignment {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 4px;
}

.assignment-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.driver-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vehicle-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.transfer-stops {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.stop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.85rem;
}

.stop-location {
  font-weight: 500;
}

.stop-action {
  color: #666;
  font-size: 0.8rem;
  padding: 0.1rem 0.3rem;
  background: #e9ecef;
  border-radius: 3px;
}

.payment-info {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.payment-status {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.payment-status.bekliyor {
  background: #fff3cd;
  color: #856404;
}

.payment-status.ödendi {
  background: #d4edda;
  color: #155724;
}

.payment-status.geciken {
  background: #f8d7da;
  color: #721c24;
}

@media (max-width: 768px) {
  .transfer-details {
    grid-template-columns: 1fr;
  }
  
  .assignment-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .vehicle-info {
    text-align: left;
  }
}

/* New transfer contact and account styles */
.transfer-contact,
.transfer-account {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #4c63d2;
}

.contact-info,
.account-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-name,
.account-name {
  font-weight: 600;
  color: #1f2937;
}

.contact-phone,
.contact-email,
.account-title {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-email {
  color: #4c63d2;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

/* Transfer passengers styles */
.transfer-passengers {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f0f9ff;
  border-radius: 8px;
  border-left: 4px solid #0ea5e9;
}

.passenger-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.passenger-name {
  font-weight: 600;
  color: #1f2937;
}

.passenger-phone,
.passenger-email,
.passenger-age,
.passenger-needs {
  font-size: 0.875rem;
  color: #6b7280;
}

.passenger-email {
  color: #0ea5e9;
  text-decoration: none;
}

.passenger-email:hover {
  text-decoration: underline;
}

.passenger-age {
  background: #e0f2fe;
  color: #0c4a6e;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  width: fit-content;
}

.passenger-needs {
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-style: italic;
}

/* Enhanced payment info */
.payment-info {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.payment-info > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 120px;
}

/* Authentication Section Styles */
.auth-info {
  background: rgba(76, 99, 210, 0.1);
  border: 1px solid rgba(76, 99, 210, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.auth-info p {
  margin: 0;
  color: #4c63d2;
  font-weight: 500;
}

.auth-info pre {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.auth-notes {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.auth-notes h3 {
  color: #4c63d2;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-notes ul {
  list-style: none;
  padding: 0;
}

.auth-notes li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.auth-notes li:before {
  content: "•";
  color: #4c63d2;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.auth-notes ul ul {
  margin-top: 0.5rem;
  margin-left: 1rem;
}

.auth-notes ul ul li {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Dashboard Login Styles */
.auth-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-status span {
  color: white;
  font-weight: 500;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-info {
  background: rgba(76, 99, 210, 0.1);
  border: 1px solid rgba(76, 99, 210, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.login-info p {
  margin: 0 0 0.5rem 0;
  color: #4c63d2;
  font-weight: 500;
}

.login-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-info li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}

.login-info li strong {
    color: #4c63d2;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #d63031;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.warning-box p {
    margin: 0;
    font-weight: 500;
}

.warning-box strong {
    color: #ffeaa7;
}

/* Tools Section */
.tools-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tools-section .tool-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tools-section .tool-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-section .tool-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tools-section .btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.tools-section .btn-danger:hover {
    background: linear-gradient(135deg, #ee5a52, #d63031);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.tools-section .btn-warning {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.tools-section .btn-warning:hover {
    background: linear-gradient(135deg, #e17055, #d63031);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 203, 110, 0.4);
}

.tools-section .btn-info {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.tools-section .btn-info:hover {
    background: linear-gradient(135deg, #0984e3, #6c5ce7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.4);
}

/* Bildirim Test Alanı */
.notification-test-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-test-section .form-group {
    margin-bottom: 1rem;
}

.notification-test-section .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.notification-test-section .form-input,
.notification-test-section .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.notification-test-section .form-input:focus,
.notification-test-section .form-textarea:focus {
    outline: none;
    border-color: #4c63d2;
    box-shadow: 0 0 0 3px rgba(76, 99, 210, 0.1);
}

.notification-test-section .form-textarea {
    resize: vertical;
    min-height: 80px;
}

.notification-result {
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.notification-result .result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.notification-result .result-body {
    padding: 1rem;
    background: white;
}

.notification-result .json-result {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.transfer-notification-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.transfer-notification-buttons .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.transfer-notification-buttons .btn-info {
    background: #17a2b8;
    color: white;
    border: 1px solid #17a2b8;
}

.transfer-notification-buttons .btn-info:hover {
    background: #138496;
    border-color: #138496;
}

.transfer-notification-buttons .btn-success {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.transfer-notification-buttons .btn-success:hover {
    background: #218838;
    border-color: #218838;
}

.transfer-notification-buttons .btn-warning {
    background: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.transfer-notification-buttons .btn-warning:hover {
    background: #e0a800;
    border-color: #e0a800;
}

.transfer-notification-buttons .btn-danger {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.transfer-notification-buttons .btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.api-test-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.api-test-buttons .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.api-test-buttons .btn-primary {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.api-test-buttons .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.api-test-buttons .btn-info {
    background: #17a2b8;
    color: white;
    border: 1px solid #17a2b8;
}

.api-test-buttons .btn-info:hover {
    background: #138496;
    border-color: #138496;
}

.api-test-buttons .btn-success {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.api-test-buttons .btn-success:hover {
    background: #218838;
    border-color: #218838;
}

/* Transfer Request Actions */
.request-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.request-actions .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.request-actions .btn-sm i {
    margin-right: 0.25rem;
}

/* Harita Stilleri */
.map-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.map-legend {
  background: rgba(76, 99, 210, 0.05);
  border: 1px solid rgba(76, 99, 210, 0.1);
  border-radius: 8px;
  padding: 1rem;
  min-width: 200px;
}

.map-legend h4 {
  margin: 0 0 0.75rem 0;
  color: #4c63d2;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.legend-color.driver-on-transfer {
  background: #22c55e;
}

.legend-color.driver-idle {
  background: #f59e0b;
}

.legend-color.driver-active {
  background: #3b82f6;
}

.map-stats {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 8px;
  padding: 1rem;
  min-width: 250px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

.stat-value {
  color: #333;
  font-weight: 600;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.driver-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Map specific loading overlay */
.map-wrapper .loading-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* beyaz şeffaf katman kaldırıldı */
  z-index: 10;
  pointer-events: none; /* tıklamayı engellemesin */
}

.leaflet-container {
  font-family: inherit;
}

/* Custom Marker Stilleri */
.driver-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  font-weight: bold;
}

.driver-marker.on-transfer {
  background: #22c55e;
}

.driver-marker.idle {
  background: #f59e0b;
}

.driver-marker.active {
  background: #3b82f6;
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-family: inherit;
}

.driver-popup {
  min-width: 250px;
}

.driver-popup h4 {
  margin: 0 0 8px 0;
  color: #1f2937;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.driver-popup .popup-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.driver-popup .info-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.driver-popup .info-label {
  color: #6b7280;
  font-weight: 500;
}

.driver-popup .info-value {
  color: #374151;
  font-weight: 600;
}

.driver-popup .transfer-info {
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 6px;
  padding: 8px;
  margin-top: 8px;
}

.driver-popup .transfer-info h5 {
  margin: 0 0 4px 0;
  color: #0369a1;
  font-size: 0.85rem;
}

.driver-popup .transfer-route {
  font-size: 0.8rem;
  color: #374151;
  margin: 2px 0;
}

.driver-popup .transfer-status {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
}

.driver-popup .transfer-status.yolda {
  background: #d1fae5;
  color: #065f46;
}

.driver-popup .transfer-status.atandi {
  background: #dbeafe;
  color: #1e40af;
}

.driver-popup .transfer-status.beklemede {
  background: #fef3c7;
  color: #92400e;
}

.driver-popup .last-update {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-test-section {
        gap: 0.75rem;
    }
    
    .request-actions {
        margin-top: 0.5rem;
        margin-left: 0;
    }
    
    .request-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .map-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .map-legend,
    .map-stats {
        min-width: auto;
    }
    
    .map-wrapper {
        height: 400px;
    }
    
    .driver-popup {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        height: 350px;
    }
    
    .map-controls {
        gap: 0.5rem;
    }
}

/* Driver Map Page Specific Styles */
.driver-map-card {
    margin-bottom: 2rem;
}

.driver-map-card .map-wrapper {
    height: 600px; /* Larger height for dedicated page */
}

/* Drivers List Styles */
.drivers-container {
    position: relative;
}

.drivers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.driver-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.driver-item.on-transfer {
    border-left-color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.driver-item.idle {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

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

.driver-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.driver-header h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.driver-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.driver-status.on-transfer {
    background: #d1fae5;
    color: #065f46;
}

.driver-status.idle {
    background: #fef3c7;
    color: #92400e;
}

.driver-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.driver-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
}

.detail-value {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
}

.driver-item .transfer-info {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
}

.driver-item .transfer-info h5 {
    margin: 0 0 0.5rem 0;
    color: #0369a1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.driver-item .transfer-info p {
    margin: 0 0 0.5rem 0;
    color: #374151;
    font-size: 0.85rem;
}

.driver-item .transfer-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dbeafe;
    color: #1e40af;
}

/* Enhanced Header Actions */
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

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

/* Auto-refresh button styling */
#toggle-auto-refresh-btn.btn-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
}

#toggle-auto-refresh-btn.btn-info:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Responsive adjustments for driver map page */
@media (max-width: 768px) {
    .driver-map-card .map-wrapper {
        height: 500px;
    }
    
    .drivers-list {
        grid-template-columns: 1fr;
    }
    
    .driver-details {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .driver-map-card .map-wrapper {
        height: 400px;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-actions .form-select,
    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}