/* Genel Stil Ayarlamaları */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Açık gri/beyaz tonu */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: #ffffff; /* Beyaz navbar */
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.navbar-brand {
    font-weight: 700;
    color: #007bff !important; /* Mavi logo */
    display: flex;
    align-items: center;
}
.navbar-brand img {
    /* border-radius: 50%; */ /* Logo yuvarlaklığını kaldırdık, PNG'nin kendi şekli geçerli olacak */
}
.nav-link {
    color: #343a40 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #007bff !important;
}
.hotline-btn {
    background-color: #007bff; /* Mavi renk tonu */
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.hotline-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Header Section (Banner Alanı) */
.header-section {
    /* Daha dar ve düz bir banner için güncellendi */
    background: url('/themes/randevu_ve_sonuc_takip/images/banner_bg.png') no-repeat center center; /* Arka plan resmi */
    background-size: cover; /* Resmi tam kapla */
    height: 200px; /* Daha dar yükseklik */
    padding: 30px 0; /* Daha az padding */
    color: #fff; /* Yazı rengi beyaza çevrildi */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Eğri kenar ve gölge kaldırıldı */
    /* border-bottom-left-radius: 0; */
    /* border-bottom-right-radius: 0; */
    /* box-shadow: none; */
}
.header-section h1 {
    font-weight: 700;
    font-size: 2.8rem; /* Başlık boyutunu biraz küçülttük */
    color: #fff; /* Yazı rengi beyaza çevrildi */
    margin-bottom: 10px;
    z-index: 1; /* İçeriğin resmin üzerinde kalmasını sağlar */
    position: relative;
}
.header-section p {
    font-size: 1rem; /* Paragraf boyutunu biraz küçülttük */
    color: #fff; /* Yazı rengi beyaza çevrildi */
    max-width: 600px;
    margin: 0 auto 15px;
    z-index: 1;
    position: relative;
}
/* Stethoscope görseli kaldırıldığı için ilgili CSS kaldırıldı */
/* .stethoscope-img { display: none; } */


/* İçerik Bölümü (Beyaz Kartın Olduğu Kısım) - Genel */
.content-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Genel içerik arka planı */
    flex-grow: 1; /* İçeriğin dikeyde büyümesine izin verir */
}
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card h2 {
    color: #007bff;
    font-weight: 600;
}

/* Form Kontrolleri (SMS Doğrulama ve Login için Ortak) */
.form-control-lg {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 5px; /* Kod girişinde boşluklu görünüm */
}
.form-control-lg:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Butonlar (SMS Doğrulama ve Login için Ortak) */
.btn-sms-verify {
    background-color: #28a745; /* Yeşil renk tonu */
    border-color: #28a745;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}
.btn-sms-verify:hover {
    background-color: #218838;
    border-color: #1e7e34;
}
.btn-resend {
    color: #007bff;
    border-color: #007bff;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.btn-resend:hover {
    background-color: #007bff;
    color: #fff;
}
.btn-resend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef; /* Disabled rengi */
    color: #6c757d; /* Disabled text rengi */
    border-color: #ced4da; /* Disabled border rengi */
}

/* Timer Stilleri (SMS Doğrulama için) */
#timer {
    font-size: 1.1em;
    font-weight: 600;
    color: #6c757d; /* Gri tonu */
    margin-top: 10px;
    margin-bottom: 15px;
}
#timer.time-critical {
    color: #dc3545; /* Kırmızı tonu süre azaldığında */
}

/* Hata Mesajı Stilleri */
.error-section {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8d7da; /* Açık kırmızı arka plan */
    color: #721c24; /* Koyu kırmızı yazı */
    border: 1px solid #f5c6cb;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #343a40 !important; /* Koyu gri/siyah arka plan */
    color: #fff;
    flex-shrink: 0; /* Footer'ın alta sabitlenmesine yardımcı olur */
}
footer p {
    color: #ccc !important; /* Daha açık gri yazı rengi */
}

/* Dashboard Özel Stilleri */
.appointment-table { margin-top: 30px; }
.appointment-table th, .appointment-table td { text-align: center; vertical-align: middle; }
.appointment-table th { background-color: #e0f7fa; color: #007bff; }
.table-responsive { overflow-x: auto; }
.no-appointments-message {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    padding: 30px;
    background-color: #f0f8ff;
    border-radius: 10px;
    margin-top: 20px;
}
.logout-link { margin-top: 30px; text-align: center; }
.logout-link a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #dc3545;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.logout-link a:hover { background-color: #c82333; }
.welcome-message {
    font-size: 1.8rem;
    color: #fff; /* Header'daki yazı rengi beyaz oldu */
    margin-bottom: 15px;
}

/* Detay Sayfası Özel Stilleri */
.card-header { background-color: #007bff; color: white; border-top-left-radius: 15px; border-top-right-radius: 15px; }
.detail-item { padding: 10px 0; border-bottom: 1px solid #eee; }
.detail-item:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: #555; }
.detail-value { color: #333; }
.section-title { color: #007bff; margin-top: 25px; margin-bottom: 15px; border-bottom: 1px solid #007bff; padding-bottom: 5px; }
.btn-back { margin-top: 20px; } /* Randevularıma Geri Dön butonu */