:root {
  /* Renk Paleti */
  --primary-color: #4E709D;  /* Ana mavi renk */
  --secondary-color: #F5B17B; /* Şeftali rengi tonları */
  --light-blue: #89A4C7;     /* Açık mavi */
  --lightest-blue: #CDD5E0;  /* En açık mavi */
  
  --primary-hover: #45648C;  /* Ana renk hover durumu */
  --primary-light: rgba(78, 112, 157, 0.1); /* Ana renk ışık versiyonu */
  --text-dark: #333;
  --text-muted: #64748b;
  --white: #ffffff;
  --black: #000000;
}

html {
  font-size: 14px;
  height: 100%;
}

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

.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;
  min-height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  min-height: 100%;
  overflow-y: visible;
  padding-bottom: 60px; /* Footer yüksekliği kadar bottom padding */
  background-color: #f8fafc;
  margin: 0;
  position: relative;
}

.container-fluid {
  width: 100%;
  min-height: 100%;
  position: relative;
  overflow: visible;
}

main {
  overflow-y: auto;
}

/* Navbar ve Footer Stilleri */
.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer {
  width: 100%;
  position: relative;
  bottom: 0;
  padding: 1.5rem 0;
}

/* Modern UI components */
.btn {
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 112, 157, 0.2);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 112, 157, 0.15);
}

.btn-outline-light:hover,
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-light {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-color);
}

/* Ana sayfa stilleri */
.hero-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--lightest-blue) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero butonları */
.hero-section .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-section .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 8px 15px rgba(78, 112, 157, 0.2);
}

.hero-section .btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(78, 112, 157, 0.3);
}

.hero-section .btn-light {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.3);
}

.hero-section .btn-light:hover {
  background-color: var(--lightest-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(255, 255, 255, 0.4);
}

/* Features Section */
.features-section {
  background-color: #fff;
  padding: 6rem 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
  z-index: 2;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 1.2rem;
  background-color: rgba(13, 110, 253, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.feature-text {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Doktor Listesi Bölümü */
.doctors-section {
  background-color: #f8fafc;
  padding: 6rem 0;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.doctors-table {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.doctors-table .table-responsive {
  flex: 1;
}

.doctors-table thead {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 3;
}

.doctors-table th {
  color: var(--white);
  font-weight: 600;
  padding: 1rem 1.25rem;
  border: none;
  background-color: var(--primary-color);
  font-size: 1rem;
}

.doctors-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.doctors-table tbody tr:hover {
  background-color: #f1f5f9;
}

.doctors-table tbody tr:last-child td {
  border-bottom: none;
}

.doctor-avatar {
  transition: all 0.3s ease;
}

tr:hover .doctor-avatar {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.15);
}

.rounded-4 {
  border-radius: 1rem;
}

.rounded-pill {
  border-radius: 50rem;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

/* Navbar styles */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--white) !important;
}

.navbar-brand {
  font-weight: bold;
  color: var(--primary-color) !important;
}

/* Doktor paneli özel stilleri */
.navbar-dark {
  background-color: var(--primary-color) !important;
}

.navbar-dark .navbar-brand {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.2s ease;
}

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

.navbar-dark .btn-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  padding: 0.5rem 0;
}

.navbar-dark .btn-link:hover {
  color: #ffffff !important;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.badge.bg-warning {
  color: #212529;
  font-weight: 500;
}

/* Welcome message ve diğer içerik stilleri */
.welcome-message h2 {
  color: #212529;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.welcome-message p.text-muted {
  color: #6c757d !important;
}

/* Doctor paneli için kartlar ve içerik */
.doctor-area .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.doctor-area .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doctor-area .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: bold;
  padding: 1rem 1.25rem;
}

.doctor-area .card-body {
  padding: 1.5rem;
}

.doctor-area .card-title {
  color: #212529;
  font-weight: 600;
  margin-bottom: 1rem;
}

.doctor-area .text-primary {
  color: var(--primary-color) !important;
}

.doctor-area .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.doctor-area .btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Features Section */
.features-section {
  background-color: #fff;
}

/* Call to Action Section */
.cta-section {
  background-color: #f8f9fa;
}

.cta-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

/* Media Queries */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-section .col-md-6:first-child {
    margin-bottom: 2rem;
  }
  
  .features-section .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hastane Otomasyon Sistemi Özel Stiller */
.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
  border-left: 0.25rem solid #e74a3b !important;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.text-gray-800 {
  color: #5a5c69 !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.text-xs {
  font-size: .7rem;
}

.bg-gradient-primary {
  background-color: #4e73df;
  background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background-size: cover;
}

.shadow {
  box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important;
}

.shadow-sm {
  box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .075) !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

/* Randevu zaman aralığı stilleri */
.time-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 80px;
}

.time-slot:hover {
    background-color: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5;
}

.time-slot.selected {
    background-color: #4f46e5;
    color: white;
    border-color: #4338ca;
    font-weight: 500;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e5e7eb;
}

/* Randevu özeti için stiller */
.appointment-summary {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border-left: 4px solid #4f46e5;
}

.appointment-summary h4 {
    color: #111827;
    margin-bottom: 10px;
}

.appointment-summary p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.appointment-summary p span:first-child {
    font-weight: 500;
}

/* Sabah ve Öğleden Sonra Zaman Bölümleri */
.time-slot-section {
    margin-bottom: 20px;
    width: 100%;
}

.time-slot-section h6 {
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.time-slot-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

/* Özel durumlar için ek stiller */
.time-slot.unavailable {
    background-color: #fee2e2;
    color: #b91c1c;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #ef4444;
}

.time-slot.past {
    background-color: #6b7280;
    color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #4b5563;
}

/* Yan Yana Hizmetler ve Doktorlar Bölümü */
.services-doctors-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f1ff 100%);
  padding: 6rem 0;
  position: relative;
}

.section-header {
  position: relative;
}

.section-header:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #0d6efd;
  margin: 0.75rem auto 0;
}

@media (min-width: 992px) {
  .services-doctors-section .col-lg-6:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* Modern Ana Sayfa Stilleri */
.main-sections {
  background-color: #ffffff;
  padding: 4rem 0 5rem;
  position: relative;
}

.section-divider {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--white), var(--primary-color), var(--white));
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.section-container {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  overflow: hidden;
}

.section-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0;
}

.section-header:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.75rem auto 0;
}

/* Hizmetler Listesi Stilleri */
.service-list {
  padding: 1rem 0;
}

.service-item {
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.service-content {
  flex: 1;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.3rem;
}

.service-text {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Doktorlar Tablosu Stilleri */
.doctors-table-container {
  max-height: 380px;
  overflow-y: auto;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctors-table {
  display: flex;
  flex-direction: column;
}

.table-header {
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-body {
  background-color: #fff;
}

.table-row {
  transition: all 0.2s ease;
}

.table-row:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.table-row:last-child {
  border-bottom: none !important;
}

.specialty-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-color) !important;
  background-color: var(--primary-light) !important;
}

/* Ekran boyutu düzenlemeleri */
@media (max-width: 991.98px) {
  .section-container {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .main-sections {
    padding: 3rem 0;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.2rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
}

.section-wave {
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

/* Navbar butonları */
.navbar-dark .btn-light {
  background-color: #ffffff;
  color: #0d6efd;
  border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Kayıt Ol Dropdown Stilleri */
.dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.dropdown-item i {
  color: var(--primary-color);
}

.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Hero section dropdown stilleri */
.hero-section .dropdown-menu {
  min-width: 200px;
}

.bg-primary {
  background-color: #4E709D !important;
}

.text-primary {
  color: #4E709D !important;
}