/* =============================================
   HOSPITAL MANAGEMENT SYSTEM - CUSTOM STYLES
   Google Font: Poppins | Color Scheme: Medical
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #1B6CA8;
    --primary-dark: #154f7a;
    --primary-light: #e8f4fd;
    --secondary: #28A745;
    --secondary-dark: #1e7e34;
    --accent: #17A2B8;
    --danger: #dc3545;
    --warning: #ffc107;
    --white: #ffffff;
    --light-bg: #f8fbff;
    --gray: #6c757d;
    --light-gray: #f1f3f5;
    --border: #dee2e6;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --shadow-sm: 0 2px 8px rgba(27, 108, 168, 0.1);
    --shadow-md: 0 6px 24px rgba(27, 108, 168, 0.15);
    --shadow-lg: 0 12px 40px rgba(27, 108, 168, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img { max-width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(27, 108, 168, 0.1);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.navbar-brand span.brand-text { color: var(--text-dark); }
.navbar-brand span.brand-text span { color: var(--primary); }

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

.btn-nav-login {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white !important;
    border-radius: 50px !important;
    padding: 0.45rem 1.4rem !important;
    font-weight: 600 !important;
}

.btn-nav-login::after { display: none; }

.btn-nav-login:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(27, 108, 168, 0.4);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(27, 108, 168, 0.35);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 108, 168, 0.45);
    color: white;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-green-custom {
    background: linear-gradient(135deg, var(--secondary), #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.35);
}

.btn-green-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.45);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(27, 108, 168, 0.92) 0%, rgba(23, 162, 184, 0.85) 50%, rgba(40, 167, 69, 0.8) 100%),
        url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title span { color: #a8e6cf; }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 560px;
    animation: fadeInUp 1s ease;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-lg);
    padding: 2rem;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

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

/* =============================================
   SERVICES SECTION (Home)
   ============================================= */
.services-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), #d0e9f7);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   DOCTOR CARDS
   ============================================= */
.doctors-section {
    padding: 5rem 0;
    background: white;
}

.doctor-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.doctor-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), #d0e9f7);
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-img-wrapper img { transform: scale(1.07); }

.doctor-dept-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.availability-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.availability-badge.available {
    background: rgba(40, 167, 69, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.availability-badge.unavailable {
    background: rgba(220, 53, 69, 0.12);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.doctor-card-body {
    padding: 1.4rem;
}

.doctor-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.doctor-specialization {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.doctor-qualification {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.doctor-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.fee-label { font-size: 0.78rem; color: var(--text-muted); }

.fee-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.experience-tag {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.btn-book {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.65rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-book:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 108, 168, 0.4);
}

.btn-book:disabled,
.btn-book.disabled {
    background: var(--light-gray);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =============================================
   APPOINTMENT FORM
   ============================================= */
.appointment-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 108, 168, 0.12);
    outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger);
}

.input-group-icon {
    position: relative;
}

.input-group-icon .form-control {
    padding-left: 2.7rem;
}

.input-group-icon .icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.95rem;
    z-index: 1;
}

.info-panel {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    height: 100%;
}

.info-panel h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.info-item .icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.info-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.info-item strong { display: block; margin-bottom: 0.1rem; }

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo .logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(27, 108, 168, 0.4);
}

.login-logo h4 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.login-logo p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.demo-credentials {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary);
}

.demo-credentials h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-credentials p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.demo-credentials code {
    background: white;
    color: var(--primary);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.82rem;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.about-hero h1 { font-size: 2.8rem; font-weight: 800; }
.about-hero p { font-size: 1.1rem; opacity: 0.9; }

.mv-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    height: 100%;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mv-card.green-accent { border-top-color: var(--secondary); }
.mv-card.teal-accent { border-top-color: var(--accent); }

.mv-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
}

.mv-icon.blue { background: var(--primary-light); color: var(--primary); }
.mv-icon.green { background: rgba(40,167,69,0.1); color: var(--secondary); }
.mv-icon.teal { background: rgba(23,162,184,0.1); color: var(--accent); }

.contact-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-item .ci-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-box {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.stat-box .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-box .lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =============================================
   CONFIRMATION PAGE
   ============================================= */
.confirmation-section {
    padding: 5rem 0;
    background: var(--light-bg);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.confirmation-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary), #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.appointment-detail-table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}

.appointment-detail-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 45%;
}

.appointment-detail-table td:last-child { color: var(--text-dark); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 { font-size: 2rem; font-weight: 800; }
.cta-section p { opacity: 0.9; }

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #0d1b2e;
    color: rgba(255,255,255,0.8);
    padding: 3.5rem 0 0;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .fb-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

footer h6 {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

footer a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

footer a:hover { color: var(--accent); padding-left: 4px; }

footer p { font-size: 0.88rem; line-height: 1.8; }

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    transition: var(--transition);
    margin: 0;
    padding: 0;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-social { display: flex; gap: 0.6rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 0;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: var(--accent); display: inline; margin: 0; padding: 0; }
.footer-bottom a:hover { color: white; padding-left: 0; }

/* =============================================
   ALERTS / TOASTS
   ============================================= */
.alert-success-custom {
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: var(--secondary-dark);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.toast-container-custom {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
    .hero-title { font-size: 2rem; }
    .hero-image-card { display: none; }
    .hero-section { min-height: 80vh; }
    .form-card { padding: 1.5rem; }
    .login-card { padding: 2rem 1.5rem; margin: 1rem; }
    .confirmation-card { padding: 2rem 1.2rem; }
    .info-panel { margin-top: 2rem; }
}

@media (max-width: 576px) {
    .hero-section::after { display: none; }
    .doctor-img-wrapper { height: 200px; }
}
