/**
 * Hastane360 - Ana Stil Dosyası
 * Türkiye'nin Sağlık Arama Motoru
 */

/* ============================================
   GENEL / GLOBAL STİLLER
   ============================================ */
:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #e8f0fe;
    --secondary: #5f6368;
    --success: #1e8e3e;
    --warning: #f9ab00;
    --danger: #d93025;
    --info: #1a73e8;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 2px 8px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all .2s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: #fff;
    line-height: 1.5;
    font-size: 14px;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }

/* ============================================
   HEADER / NAVBAR (YENİ TASARIM)
   ============================================ */
.header-navbar {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.brand-icon-new {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), #4285f4);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}

.brand-name-new {
    font-weight: 800; font-size: 18px;
    color: var(--dark); letter-spacing: -.5px;
}

.brand-tagline-new {
    font-size: 10px; color: var(--gray-500);
    margin-top: -2px; display: block;
}

.header-link {
    font-weight: 500; font-size: 13px; color: var(--gray-700) !important;
    padding: 8px 14px !important; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.header-link:hover, .header-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.header-actions { gap: 12px; }

.header-action {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gray-700); font-size: 12px; font-weight: 500;
    padding: 6px 10px; border-radius: var(--radius-sm);
}
.header-action:hover { background: var(--primary-light); color: var(--primary); }
.header-action i { font-size: 14px; }

.btn-login-new {
    border-radius: var(--radius);
    font-weight: 600; font-size: 12px; padding: 8px 16px;
}

/* ============================================
   HERO SECTION (YENİ TASARIM)
   ============================================ */
.hero-new {
    background: linear-gradient(135deg, #e8f4fd 0%, #d6eafc 100%);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(26,115,232,.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-text { position: relative; z-index: 2; }

.hero-title-new {
    font-size: 42px; font-weight: 800;
    color: var(--dark); line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle-new {
    font-size: 15px; color: var(--secondary);
    max-width: 520px; margin-bottom: 32px;
}

.hero-stats-row {
    display: flex; gap: 24px; flex-wrap: wrap;
}

.hero-stat {
    display: flex; align-items: center; gap: 10px;
}
.hero-stat i {
    width: 42px; height: 42px;
    background: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.hero-stat strong {
    display: block; font-size: 16px; font-weight: 800;
    color: var(--dark); line-height: 1.2;
}
.hero-stat span {
    font-size: 11px; color: var(--secondary); font-weight: 500;
}

.hero-image-wrap {
    position: relative; z-index: 2;
    display: flex; justify-content: center;
}
.hero-doctors-img {
    max-height: 420px; width: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ============================================
   ARAMA BÖLÜMÜ (YENİ TASARIM)
   ============================================ */
.search-section-new {
    margin-top: -50px;
    position: relative; z-index: 10;
    padding-bottom: 40px;
}

.search-box-new {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    max-width: 1000px; margin: 0 auto;
}

.search-tabs-new {
    display: flex; gap: 8px; list-style: none;
    padding: 0; margin: 0 0 20px 0;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 16px;
}
.search-tabs-new li { flex: 1; }
.search-tabs-new button {
    width: 100%;
    border: none; background: transparent;
    padding: 10px 8px;
    font-weight: 600; font-size: 13px; color: var(--secondary);
    border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition);
}
.search-tabs-new button i { font-size: 14px; }
.search-tabs-new button.active,
.search-tabs-new button:hover {
    background: var(--primary); color: #fff;
}

.search-form-new {
    display: flex; gap: 12px; align-items: stretch;
}
.search-input-wrap, .search-select-wrap {
    flex: 1;
    position: relative;
    display: flex; align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: #fff;
    padding: 0 14px;
    min-height: 50px;
}
.search-input-wrap i, .search-select-wrap i {
    color: var(--gray-500); font-size: 14px; margin-right: 10px;
}
.search-input-wrap input,
.search-select-wrap select {
    border: none; background: transparent; outline: none;
    width: 100%; font-size: 13px; color: var(--gray-700);
    appearance: none;
}
.search-select-wrap select { cursor: pointer; }

.btn-search-new {
    background: var(--primary); color: #fff; border: none;
    border-radius: var(--radius); padding: 0 32px;
    font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition);
    min-height: 50px;
}
.btn-search-new:hover { background: var(--primary-dark); }
.btn-search-new i { font-size: 14px; }

/* ============================================
   FEATURE CARDS (YENİ TASARIM)
   ============================================ */
.features-section { padding: 20px 0 50px; }

.feature-card-new {
    display: flex; align-items: flex-start; gap: 14px;
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 20px;
    height: 100%;
    transition: var(--transition);
}
.feature-card-new:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow); transform: translateY(-3px);
}
.feature-card-new h6 {
    font-weight: 700; font-size: 13px; color: var(--dark);
    margin-bottom: 4px;
}
.feature-card-new p {
    font-size: 11px; color: var(--secondary); margin: 0;
    line-height: 1.4;
}

.feature-icon-new {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--primary-light); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--primary);
}

/* ============================================
   POPÜLER ARAMALAR (YENİ TASARIM)
   ============================================ */
.popular-section { padding: 20px 0 50px; }

.section-header-new {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.section-header-new.text-center { justify-content: center; }
.section-header-new h2 {
    font-size: 22px; font-weight: 800; color: var(--dark); margin: 0;
}
.section-header-new a {
    font-size: 12px; font-weight: 600; color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
}
.section-header-new a i { font-size: 10px; }

.popular-tags {
    display: flex; gap: 10px; flex-wrap: wrap;
    align-items: center;
}
.popular-tags a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border: 1px solid var(--gray-200);
    border-radius: 30px; background: #fff;
    color: var(--gray-700); font-size: 12px; font-weight: 500;
    transition: var(--transition);
}
.popular-tags a:hover {
    border-color: var(--primary); background: var(--primary-light); color: var(--primary);
}
.popular-tags a i { font-size: 12px; color: var(--primary); }
.popular-tags .popular-more {
    border-color: transparent; background: transparent;
    color: var(--primary); font-weight: 600;
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.section-light { background: #f8fafc; padding: 50px 0; }
.section-white { background: #fff; padding: 50px 0; }

/* ============================================
   CAROUSEL (HASTANE / DOKTOR)
   ============================================ */
.carousel-wrapper {
    position: relative;
    padding: 0 44px;
}
.carousel-track {
    display: flex; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
    flex: 0 0 calc(20% - 16px);
    scroll-snap-align: start;
}
@media (max-width: 1399px) { .carousel-item { flex: 0 0 calc(25% - 15px); } }
@media (max-width: 991px) { .carousel-item { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 767px) { .carousel-item { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 480px) { .carousel-item { flex: 0 0 85%; } }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%; border: 1px solid var(--gray-200);
    background: #fff; color: var(--gray-700);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); z-index: 5; cursor: pointer;
    transition: var(--transition);
}
.carousel-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ============================================
   HASTANE KARTI (YENİ TASARIM)
   ============================================ */
.hospital-card-new {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition); height: 100%;
}
.hospital-card-new:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
}

.hospital-img-wrap {
    position: relative; height: 160px; overflow: hidden;
}
.hospital-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
}
.hospital-type-new {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 10px; font-weight: 700;
}
.hospital-type-new.type-ozel { background: #e8f0fe; color: var(--primary); }
.hospital-type-new.type-devlet { background: #e6f4ea; color: var(--success); }
.hospital-type-new.type-universite { background: #fef7e0; color: #e37400; }
.hospital-type-new.type-askeri { background: #fce8e6; color: var(--danger); }

.hospital-body-new { padding: 14px; }
.hospital-body-new h6 {
    font-weight: 700; font-size: 13px; color: var(--dark);
    margin-bottom: 6px; min-height: 36px;
}
.rating-line {
    display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.rating-line small { font-size: 11px; color: var(--secondary); }
.location-line {
    font-size: 11px; color: var(--secondary); margin-bottom: 10px;
}
.location-line i { margin-right: 4px; color: var(--primary); }
.feature-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
}
.feature-tags span {
    font-size: 10px; color: var(--secondary); font-weight: 500;
    background: var(--gray-100); padding: 3px 8px; border-radius: 20px;
}

/* ============================================
   DOKTOR KARTI (YENİ TASARIM)
   ============================================ */
.doctor-card-new {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition); height: 100%;
    text-align: center; padding: 20px 14px;
}
.doctor-card-new:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.doctor-img-new {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 14px;
    border: 3px solid var(--primary-light);
}
.doctor-body-new h6 {
    font-weight: 700; font-size: 13px; color: var(--dark);
    margin-bottom: 4px;
}
.doctor-spec-new {
    font-size: 11px; color: var(--primary); font-weight: 600;
    margin-bottom: 2px;
}
.doctor-hospital-new {
    font-size: 10px; color: var(--secondary); margin-bottom: 10px;
}
.profile-link {
    display: inline-block; margin-top: 8px;
    font-size: 12px; font-weight: 600; color: var(--primary);
}
.profile-link:hover { text-decoration: underline; }

/* ============================================
   BLOG KARTLARI (YENİ TASARIM)
   ============================================ */
.blog-card-new {
    display: block; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition); height: 100%;
}
.blog-card-new:hover {
    box-shadow: var(--shadow); transform: translateY(-3px);
}
.blog-img-wrap { height: 150px; overflow: hidden; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-body-new { padding: 16px; }
.blog-category-new {
    display: inline-block; padding: 3px 10px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 20px; font-size: 10px; font-weight: 700;
    margin-bottom: 8px;
}
.blog-body-new h6 {
    font-weight: 700; font-size: 13px; color: var(--dark);
    margin-bottom: 8px; line-height: 1.4;
    min-height: 36px;
}
.blog-body-new p {
    font-size: 11px; color: var(--secondary); margin-bottom: 12px;
    line-height: 1.5;
}
.blog-meta-new {
    font-size: 10px; color: var(--gray-500);
}

/* ============================================
   STATS BANNER (YENİ TASARIM)
   ============================================ */
.stats-section-new { padding: 30px 0 50px; }

.stats-banner-new {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
    border-radius: var(--radius-lg); padding: 36px 24px;
    display: flex; justify-content: space-around; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.stat-box {
    display: flex; align-items: center; gap: 12px;
    color: #fff;
}
.stat-box i {
    width: 46px; height: 46px;
    background: rgba(255,255,255,.15); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.stat-box strong {
    display: block; font-size: 20px; font-weight: 800; line-height: 1.2;
}
.stat-box span {
    font-size: 12px; opacity: .85;
}

/* ============================================
   TESTIMONIALS (YENİ TASARIM)
   ============================================ */
.testimonials-section { padding: 50px 0; background: #fff; }

.testimonial-card-new {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 24px;
    height: 100%; position: relative; box-shadow: var(--shadow-sm);
}
.quote-icon {
    color: var(--primary); font-size: 24px;
    margin-bottom: 12px; opacity: .3;
}
.testimonial-card-new > p {
    font-size: 13px; color: var(--gray-700); line-height: 1.6;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
}
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.testimonial-author strong {
    display: block; font-size: 13px; color: var(--dark); margin-bottom: 2px;
}

/* ============================================
   MOBİL UYGULAMA (YENİ TASARIM)
   ============================================ */
.app-section-new { padding: 30px 0 50px; }

.app-promo-new {
    background: linear-gradient(135deg, #e8f4fd 0%, #d6eafc 100%);
    border-radius: var(--radius-lg); padding: 50px;
    position: relative; overflow: hidden;
}
.app-text { position: relative; z-index: 2; }
.app-text h2 {
    font-size: 28px; font-weight: 800; color: var(--dark);
    margin-bottom: 14px;
}
.app-text p {
    font-size: 14px; color: var(--secondary); margin-bottom: 24px;
    max-width: 420px;
}
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.app-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #000; color: #fff;
    padding: 10px 18px; border-radius: 10px;
    transition: var(--transition);
}
.app-btn:hover { background: #333; color: #fff; }
.app-btn i { font-size: 22px; }
.app-btn small { display: block; font-size: 9px; opacity: .8; }
.app-btn strong { font-size: 13px; }

.app-mockups {
    justify-content: center; align-items: flex-end;
    gap: 20px; position: relative; z-index: 2;
}
.phone-mockup {
    width: 180px; height: 360px; border-radius: 28px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 48px;
    transform: rotate(-8deg);
}
.phone-mockup.second {
    width: 160px; height: 320px;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    transform: rotate(8deg); margin-left: -40px;
}

/* ============================================
   FOOTER (YENİ TASARIM)
   ============================================ */
.site-footer-new {
    background: #0c1a3c; color: #fff; padding: 50px 0 0;
}
.footer-main { padding-bottom: 40px; }

.brand-icon-footer-new {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.1); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
}
.footer-logo { font-size: 18px; font-weight: 800; }
.footer-tagline { font-size: 9px; opacity: .7; }

.footer-desc {
    font-size: 12px; color: rgba(255,255,255,.6);
    line-height: 1.6; margin-bottom: 16px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-title {
    font-size: 13px; font-weight: 700; color: #fff;
    margin-bottom: 16px;
}
.footer-links-new {
    list-style: none; padding: 0; margin: 0;
}
.footer-links-new li { margin-bottom: 8px; }
.footer-links-new a {
    color: rgba(255,255,255,.6); font-size: 12px;
    transition: var(--transition);
}
.footer-links-new a:hover { color: #fff; padding-left: 4px; }

.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input {
    flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm); padding: 10px 12px;
    color: #fff; font-size: 12px; outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter button {
    background: var(--primary); color: #fff; border: none;
    border-radius: var(--radius-sm); padding: 0 16px;
    font-size: 12px; font-weight: 600;
    transition: var(--transition);
}
.footer-newsletter button:hover { background: var(--primary-dark); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    font-size: 11px; color: rgba(255,255,255,.5);
}
.footer-bottom a {
    color: rgba(255,255,255,.5); margin-right: 16px;
}
.footer-bottom a:hover { color: #fff; }
.footer-slogan { color: rgba(255,255,255,.7); }
.footer-slogan i { color: #e91e63; margin-right: 4px; }

/* ============================================
   HOMEPAGE TWEAKS
   ============================================ */
.blog-category-new.cat-beslenme { background: #e6f4ea; color: #1e8e3e; }
.blog-category-new.cat-saglikli-yasam { background: #e8f0fe; color: #1967d2; }
.blog-category-new.cat-hastaliklar { background: #fce8e6; color: #d93025; }
.blog-category-new.cat-cocuk-sagligi { background: #fef7e0; color: #b06000; }
.blog-category-new.cat-kadin-sagligi { background: #f3e8fd; color: #9334e6; }
.blog-category-new.cat-genel { background: var(--primary-light); color: var(--primary); }

.testimonial-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gray-300); display: inline-block;
    margin: 0 4px; cursor: pointer; transition: var(--transition);
}
.testimonial-dots .dot.active,
.testimonial-dots .dot:hover { background: var(--primary); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title-new { font-size: 32px; }
    .hero-new { padding: 40px 0 80px; }
    .search-form-new { flex-direction: column; }
    .search-input-wrap, .search-select-wrap, .btn-search-new { width: 100%; }
    .stats-banner-new { flex-direction: column; text-align: center; }
    .app-promo-new { padding: 30px; }
    .header-navbar .navbar-collapse { padding-top: 16px; }
}

@media (max-width: 767px) {
    .hero-title-new { font-size: 28px; }
    .hero-stats-row { gap: 14px; }
    .hero-stat strong { font-size: 14px; }
    .section-header-new { flex-direction: column; align-items: flex-start; gap: 8px; }
    .carousel-wrapper { padding: 0 36px; }
}

/* ============================================
   ADMIN PANEL STİLLERİ
   ============================================ */
.admin-body { background: #f0f2f5; margin: 0; overflow-x: hidden; }

.admin-wrapper {
    display: flex; min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: #fff;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-nav .nav-link {
    color: rgba(255,255,255,.6) !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.sidebar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,.08);
}
.sidebar-nav .nav-link.active {
    color: #fff !important;
    background: var(--primary) !important;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    margin-right: 8px;
}
.sidebar-nav .nav-link i {
    width: 20px; text-align: center; font-size: 16px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.avatar-sm {
    width: 36px; height: 36px;
    font-size: 14px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.admin-header {
    background: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0; z-index: 100;
}

.admin-content {
    padding: 24px;
}

/* Admin KPI Cards */
.kpi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}
.kpi-card .kpi-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.kpi-card .kpi-value {
    font-size: 22px; font-weight: 800; color: var(--dark);
}
.kpi-card .kpi-label {
    font-size: 13px; color: var(--secondary); font-weight: 500;
}
.kpi-card .kpi-change {
    font-size: 12px; font-weight: 600;
}
.kpi-change-up { color: var(--success); }
.kpi-change-down { color: var(--danger); }

/* Admin Table */
.admin-table {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.admin-table .table {
    margin: 0;
}
.admin-table .table th {
    background: var(--gray-100);
    font-weight: 600;
    font-size: 13px;
    color: var(--secondary);
    border: none;
    padding: 12px 16px;
}
.admin-table .table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 14px;
}

/* Status Badges */
.badge-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.status-active { background: #e6f4ea; color: var(--success); }
.status-pending { background: #fef7e0; color: #e37400; }
.status-inactive { background: #fce8e6; color: var(--danger); }
.status-confirmed { background: #e6f4ea; color: var(--success); }
.status-cancelled { background: #fce8e6; color: var(--danger); }
.status-completed { background: #e8f0fe; color: var(--primary); }

@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
}

/* ============================================
   BACKWARD COMPATIBILITY - LEGACY STYLES
   ============================================ */

/* Legacy Header / Brand (used by auth layouts) */
.top-bar { font-size: 12px; }
.top-bar small { font-size: 12px; }
.brand-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), #4285f4);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.brand-name {
    font-weight: 800; font-size: 18px;
    color: var(--dark); letter-spacing: -.5px;
}
.brand-tagline {
    font-size: 10px; color: var(--gray-500);
    margin-top: -2px; display: block;
}

/* Legacy Section Title */
.section-title {
    font-size: 22px; font-weight: 800; color: var(--dark);
}

/* Legacy Hospital Card (search.php) */
.hospital-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: var(--transition);
}
.hospital-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.hospital-name {
    font-weight: 700; font-size: 15px; color: var(--dark);
}
.hospital-type {
    padding: 4px 10px; border-radius: 20px;
    font-size: 10px; font-weight: 700;
}
.hospital-type.type-ozel { background: #e8f0fe; color: var(--primary); }
.hospital-type.type-devlet { background: #e6f4ea; color: var(--success); }
.hospital-type.type-universite { background: #fef7e0; color: #e37400; }
.hospital-type.type-askeri { background: #fce8e6; color: var(--danger); }

/* Legacy Doctor Card (search.php) */
.doctor-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: var(--transition);
}
.doctor-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
}

/* Legacy Blog Card (list.php) */
.blog-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow); transform: translateY(-3px);
}

/* Auth Pages */
.auth-body {
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.auth-top-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}
.auth-container { padding: 40px 0 60px; }
.auth-info-panel h2 { font-size: 28px; }
.auth-feature-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 16px;
    transition: var(--transition);
}
.auth-feature-card:hover {
    box-shadow: var(--shadow); transform: translateY(-3px);
}
.auth-feature-card h6 {
    font-weight: 700; font-size: 13px; color: var(--dark); margin-bottom: 4px;
}
.auth-feature-card small { font-size: 11px; }
.auth-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; margin-bottom: 10px;
}
.auth-form-panel {
    background: #fff; border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-lg);
}
.auth-help { font-size: 13px; }

.btn-auth {
    width: 100%; background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius); padding: 10px;
    font-weight: 600; font-size: 13px; transition: var(--transition);
}
.btn-auth:hover { background: var(--primary-dark); color: #fff; }

.btn-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; background: #fff; color: var(--gray-700);
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 10px; font-weight: 500; transition: var(--transition);
}
.btn-social:hover { background: var(--gray-100); border-color: var(--gray-300); }

/* Multi-step Registration */
.step-wizard {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
}
.step-item {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gray-200); color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.step-item.active .step-circle {
    background: var(--primary); color: #fff;
}
.step-label {
    font-size: 10px; color: var(--secondary); font-weight: 500;
}
.step-item.active .step-label { color: var(--primary); }
.step-line {
    flex: 1; height: 2px; max-width: 60px;
    background: var(--gray-200);
}

.register-step { display: none; }
.register-step.active { display: block; }

.role-cards { display: flex; flex-direction: column; gap: 10px; }
.role-card {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 2px solid var(--gray-200);
    border-radius: var(--radius); padding: 14px;
    cursor: pointer; transition: var(--transition); position: relative;
}
.role-card:hover { border-color: var(--primary-light); }
.role-card.selected {
    border-color: var(--primary); background: var(--primary-light);
}
.role-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.role-body { flex: 1; }
.role-check {
    position: absolute; top: 14px; right: 14px;
    color: var(--gray-300); font-size: 18px;
}
.role-card.selected .role-check { color: var(--primary); }

.role-fields { display: none; }

/* Legacy Footer */
.site-footer {
    background: #0c1a3c; color: #fff; padding: 50px 0 0;
}

/* Utility */
.min-vh-60 { min-height: 60vh; }
