/* ===== HÜRRIYET DİŞ POLİKLİNİĞİ - ANA STİL DOSYASI ===== */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #00b4d8;
    --accent: #48cae4;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #198754;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-links a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-left: 5px;
    font-size: 0.8rem;
}
.top-bar .social-links a:hover { background: var(--primary); color: #fff; }

/* ===== NAVBAR ===== */
.navbar-main {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0;
    transition: var(--transition);
    z-index: 1030;
}
.navbar-main.scrolled {
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.navbar-main .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    padding: 12px 0;
}
.navbar-main .navbar-brand span { color: var(--secondary); }
.navbar-main .nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 20px 16px !important;
    font-size: 0.95rem;
    position: relative;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--primary);
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    width: 70%;
}
/* Randevu Al Butonu */
.btn-appointment {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 11px 24px !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(13,110,253,0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    width: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-appointment:hover::before { left: 100%; }
.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,110,253,0.4);
    color: #fff;
}
.btn-appointment:active { transform: translateY(0); }

/* Giriş Yap Butonu */
.nav-login-btn {
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: 2px solid rgba(13,110,253,0.2) !important;
    border-radius: 12px !important;
    padding: 9px 20px !important;
    transition: all 0.3s ease !important;
}
.nav-login-btn:hover {
    background: rgba(13,110,253,0.04) !important;
    border-color: var(--primary) !important;
}
.nav-login-btn::after { display: none !important; }

/* Kullanıcı Menüsü */
.nav-user-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px 6px 6px !important;
    border: 2px solid #e8ecf1 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}
.nav-user-btn:hover { border-color: var(--primary) !important; background: rgba(13,110,253,0.03) !important; }
.nav-user-btn::after { display: none !important; }
.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.nav-user-chevron { font-size: 0.55rem; color: #94a3b8; margin-left: 2px; }

/* Kullanıcı Dropdown */
.nav-user-dropdown {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    padding: 8px !important;
    min-width: 240px !important;
    margin-top: 8px !important;
}
.nav-user-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}
.nav-user-dropdown .dropdown-item:hover { background: #f1f5f9; color: #0d6efd; }
.nav-user-dropdown .dropdown-item i { width: 18px; text-align: center; color: #94a3b8; }
.nav-user-dropdown .dropdown-item:hover i { color: #0d6efd; }
.nav-user-dropdown-header {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}
.nav-user-dropdown-header strong { font-size: 0.92rem; color: #1e293b; }
.nav-user-dropdown-header span { font-size: 0.75rem; color: #94a3b8; }

/* ===== HERO / SLIDER ===== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230d6efd" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 550px;
}
.hero-buttons .btn {
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    margin-right: 10px;
    margin-bottom: 10px;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13,110,253,0.4);
    color: #fff;
}
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* ===== FEATURES BAR ===== */
.features-bar {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.feature-card .icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}
.section-title .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 15px auto 0;
}

/* ===== SERVICES ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.service-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,110,253,0.1), rgba(0,180,216,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.service-card .card-body { padding: 25px; }
.service-card h5 { font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.9rem; }

/* ===== DOCTORS ===== */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.doctor-card .doctor-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #e3f2fd, #e1f5fe);
}
.doctor-card .card-body { padding: 20px; }
.doctor-card h5 { font-weight: 700; margin-bottom: 4px; }
.doctor-card .specialty { color: var(--primary); font-size: 0.9rem; font-weight: 500; }
.doctor-card .title-text { color: var(--gray); font-size: 0.85rem; }

/* ===== ABOUT ===== */
.about-img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.about-img-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 30px;
    border-radius: var(--radius);
    text-align: center;
}
.about-stats h3 { font-size: 2rem; font-weight: 800; margin: 0; }
.about-stats p { margin: 0; font-size: 0.85rem; opacity: 0.9; }
.about-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}
.about-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

/* ===== APPOINTMENT FORM ===== */
.appointment-section {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: #fff;
    position: relative;
}
.appointment-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.appointment-form .form-control,
.appointment-form .form-select {
    border-radius: 8px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    font-size: 0.95rem;
}
.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}
.appointment-form .btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    width: 100%;
}
.appointment-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.4);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    right: 20px;
}
.testimonial-card .stars { color: #ffc107; margin-bottom: 10px; }
.testimonial-card p { font-style: italic; color: #555; }
.testimonial-card .author { font-weight: 600; color: var(--dark); }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; }
.cta-section .btn {
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: #adb5bd;
    padding: 60px 0 0;
}
.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer a { color: #adb5bd; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { padding: 5px 0; }
.footer ul li i { width: 20px; color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}
.footer .social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Footer Yasal Linkler */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
}
.footer-legal a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

/* Sağlık Bakanlığı Uyarı Şeridi */
.health-disclaimer {
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
    padding: 6px 0;
    font-size: 0.72rem;
    color: #795548;
    line-height: 1.5;
}
.health-disclaimer p { margin: 0; }
.health-disclaimer strong { color: #e65100; }

/* Google Yorum Bölümü */
.google-review-section {
    background: var(--light);
    padding: 30px 0;
}
.google-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.google-review-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.google-review-left h5 { margin: 0; font-weight: 700; font-size: 1rem; color: #333; }
.google-review-stars { display: flex; align-items: center; gap: 3px; margin-top: 4px; }
.google-review-stars .rating { font-weight: 800; font-size: 1.1rem; color: #333; margin-right: 4px; }
.google-review-stars i { color: #fbbc04; font-size: 0.85rem; }
.google-review-stars .count { font-size: 0.8rem; color: #888; margin-left: 6px; }
.google-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #1a73e8;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}
.google-review-btn:hover {
    background: #1557b0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    z-index: 99998;
    padding: 0;
    border-top: 1px solid #e2e8f0;
    animation: cookieSlideUp 0.5s ease;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}
.cookie-icon { font-size: 1.5rem; color: #f59e0b; margin-top: 2px; flex-shrink: 0; }
.cookie-consent-text strong { font-size: 0.9rem; color: #1e293b; display: block; margin-bottom: 2px; }
.cookie-consent-text p { font-size: 0.78rem; color: #64748b; margin: 0; line-height: 1.5; }
.cookie-consent-text a { color: #0d6efd; font-weight: 600; }
.cookie-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept {
    padding: 9px 20px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn-accept:hover { background: #0a58ca; }
.cookie-btn-essential {
    padding: 9px 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn-essential:hover { background: #e2e8f0; }

@media (max-width: 767px) {
    .cookie-consent-inner { flex-direction: column; text-align: center; }
    .cookie-consent-text { flex-direction: column; align-items: center; }
    .cookie-consent-actions { width: 100%; justify-content: center; }
    .google-review-card { flex-direction: column; text-align: center; }
    .google-review-left { flex-direction: column; }
    .health-disclaimer { font-size: 0.65rem; text-align: center; }
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-5px); }
.contact-info-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,110,253,0.1), rgba(0,180,216,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 15px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 80px 0 50px;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
}
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top.show { display: flex; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.2rem; }
    .navbar-main .nav-link { padding: 10px 16px !important; }
    .navbar-main .nav-link::after { display: none; }
    .features-bar { margin-top: -30px; }
    .section { padding: 50px 0; }
}

@media (max-width: 767px) {
    .hero-section { min-height: 450px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons .btn { padding: 10px 24px; font-size: 0.9rem; }
    .section-title h2 { font-size: 1.7rem; }
    .appointment-form { padding: 25px; }
    .top-bar .text-end { display: none; }
}

/* ===== APPOINTMENT PAGE - PROFESSIONAL ===== */
.appt-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%);
}

/* Sidebar */
.appt-sidebar {
    background: linear-gradient(160deg, #0f0c29 0%, #1a1a2e 60%, #16213e 100%);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 60px rgba(15,12,41,0.3);
}
.appt-sidebar-header {
    padding: 30px 28px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.appt-sidebar-header h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.appt-sidebar-header p {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin: 0;
}

/* Steps */
.appt-steps { padding: 20px 28px; }
.appt-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    position: relative;
    opacity: 0.45;
    transition: all 0.4s ease;
}
.appt-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 48px;
    width: 2px;
    height: calc(100% - 20px);
    background: rgba(255,255,255,0.12);
}
.appt-step.active { opacity: 1; }
.appt-step.completed { opacity: 0.7; }
.appt-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    background: #1a1a2e;
}
.appt-step.active .appt-step-number {
    background: linear-gradient(135deg, #0d6efd, #00b4d8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(13,110,253,0.4);
}
.appt-step.completed .appt-step-number {
    background: #198754;
    border-color: transparent;
    color: #fff;
}
.appt-step-content h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.appt-step-content p {
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    margin: 0;
}

/* Sidebar Contact */
.appt-sidebar-contact {
    padding: 22px 28px 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 5px;
}
.appt-sidebar-contact h6 {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.appt-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.appt-contact-link:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateX(4px);
}
.appt-contact-link.whatsapp:hover { background: rgba(37,211,102,0.2); }
.appt-contact-link i { font-size: 1rem; width: 20px; text-align: center; }

/* Form Card */
.appt-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Form Steps */
.appt-form-step {
    display: none;
    padding: 40px 40px 30px;
    animation: stepFadeIn 0.4s ease;
}
.appt-form-step.active { display: block; }

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.appt-form-step-header {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
}
.appt-form-step-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13,110,253,0.08), rgba(0,180,216,0.08));
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.appt-form-step-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.appt-form-step-header p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Inputs */
.appt-input-group { margin-bottom: 0; }
.appt-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 8px;
}
.appt-label i {
    color: var(--primary);
    margin-right: 4px;
    font-size: 0.8rem;
}
.appt-input {
    border: 2px solid #e8ecf1 !important;
    border-radius: 12px !important;
    padding: 13px 18px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    background: #fafbfc !important;
}
.appt-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(13,110,253,0.08) !important;
    background: #fff !important;
}
.appt-input::placeholder { color: #b0b8c4; }

/* Doctor Selection Cards */
.appt-doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.appt-doctor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e8ecf1;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
    position: relative;
}
.appt-doctor-card:hover {
    border-color: #b8d4fe;
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13,110,253,0.08);
}
.appt-doctor-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f4ff, #e8f4fd);
    box-shadow: 0 4px 20px rgba(13,110,253,0.15);
}
.appt-doctor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd, #e1f5fe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.appt-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.appt-doctor-avatar i {
    font-size: 1.2rem;
    color: rgba(13,110,253,0.4);
}
.appt-doctor-info h6 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1px;
    color: var(--dark);
}
.appt-doctor-title {
    display: block;
    font-size: 0.72rem;
    color: #888;
}
.appt-doctor-specialty {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}
.appt-doctor-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.5);
}
.appt-doctor-card.selected .appt-doctor-check {
    opacity: 1;
    transform: scale(1);
}

/* Time Slots */
.appt-timeslots-container {
    min-height: 80px;
    margin-top: 8px;
}
.appt-timeslot-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f4ff, #f8f9fa);
    border-radius: 12px;
    color: #7b8794;
    font-size: 0.88rem;
    border: 2px dashed #d4dde8;
}
.appt-timeslot-placeholder i { font-size: 1.2rem; color: var(--primary); opacity: 0.5; }

/* Time slot buttons */
.appt-timeslots-container .time-slot-btn {
    border-radius: 10px !important;
    padding: 10px 8px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    border-width: 2px !important;
    transition: all 0.25s ease !important;
}
.appt-timeslots-container .time-slot-btn:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13,110,253,0.2);
}
.appt-timeslots-container .time-slot-btn.active {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(13,110,253,0.35) !important;
    transform: translateY(-2px);
}

/* Form Actions */
.appt-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}
.appt-btn-next {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.appt-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,110,253,0.35);
    color: #fff;
}
.appt-btn-back {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.appt-btn-back:hover {
    border-color: #bbb;
    color: #333;
    background: #f8f8f8;
}
.appt-btn-submit {
    background: linear-gradient(135deg, #198754, #157347);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.appt-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25,135,84,0.35);
    color: #fff;
}

/* Summary */
.appt-summary { margin-bottom: 20px; }
.appt-summary-section {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 16px;
    border: 1px solid #eef0f4;
}
.appt-summary-section h6 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: var(--dark);
}
.appt-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.appt-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.appt-summary-item .label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}
.appt-summary-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

/* Disclaimer */
.appt-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(13,110,253,0.04), rgba(0,180,216,0.04));
    border-radius: 12px;
    border: 1px solid rgba(13,110,253,0.1);
}
.appt-disclaimer i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.appt-disclaimer p {
    font-size: 0.82rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Trust Badges */
.appt-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef0f4;
    transition: all 0.3s ease;
}
.appt-trust-badge:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.appt-trust-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}
.appt-trust-badge span {
    font-weight: 600;
    font-size: 0.88rem;
    color: #555;
}

/* Success Card */
.appt-success-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}
.appt-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.appt-success-icon i { font-size: 2.5rem; color: #fff; }
@keyframes successPop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.appt-success-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.appt-success-info {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 20px 24px;
    text-align: left;
    margin-top: 24px;
}
.appt-success-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(13,110,253,0.1), rgba(0,180,216,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 14px;
    flex-shrink: 0;
}

/* Appointment Responsive */
@media (max-width: 991px) {
    .appt-sidebar { position: static; border-radius: 16px; margin-bottom: 10px; }
    .appt-form-step { padding: 28px 24px 24px; }
    .appt-doctor-grid { grid-template-columns: 1fr 1fr; }
    .appt-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .appt-form-step { padding: 24px 18px 20px; }
    .appt-form-step-header h3 { font-size: 1.2rem; }
    .appt-doctor-grid { grid-template-columns: 1fr; }
    .appt-form-actions { flex-direction: column-reverse; gap: 10px; }
    .appt-form-actions .btn { width: 100%; }
    .appt-btn-next, .appt-btn-submit { width: 100%; }
    .appt-btn-back { width: 100%; }
    .appt-success-card { padding: 30px 20px; }
}

/* ===== LOADING ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
