/* Healthcare Theme - Gulizar Polat ASM */

:root {
    --health-primary: #0d9488;
    --health-primary-dark: #0f766e;
    --health-primary-light: #ccfbf1;
    --health-accent: #06b6d4;
    --health-gradient: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
}

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

/* Topbar */
.topbar {
    background: var(--health-primary-dark) !important;
}
.topbar a:hover { opacity: 0.8; }

/* Navbar */
.navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.navbar .nav-link:hover {
    color: var(--health-primary);
    background: var(--health-primary-light);
}

/* Hero */
.hero-section {
    background: var(--health-gradient) !important;
}

/* Page Header */
.page-header {
    background: var(--health-gradient) !important;
}

/* Card Hover */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Health feature cards */
.health-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--health-primary-light);
    color: var(--health-primary);
}

/* Gallery */
.gallery-item {
    transition: transform 0.2s ease;
    cursor: pointer;
    border-radius: 12px;
}
.gallery-item:hover {
    transform: scale(1.03);
}

/* Calendar Table */
.table-health thead {
    background: var(--health-primary) !important;
    color: #fff;
}
.table-health thead th {
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
}
.table-health td {
    font-size: 0.85rem;
    vertical-align: middle;
}
.table-health .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* MHRS Float */
.mhrs-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--health-primary);
    color: #fff;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.mhrs-float:hover {
    background: var(--health-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}
.mhrs-float i { font-size: 20px; }
@media (max-width: 576px) {
    .mhrs-float {
        padding: 14px;
        border-radius: 50%;
    }
    .mhrs-float span { display: none; }
}

/* Footer */
footer { background: #134e4a !important; }
footer a:hover { color: #fff !important; }

/* Cards */
.card { border-radius: 12px; }

/* Section icon */
.section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--health-primary-light);
    color: var(--health-primary);
    flex-shrink: 0;
}

/* Employee - Doctor cards */
.employee-photo-wrap {
    width: 140px;
    min-height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--health-primary-light);
}
.employee-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Employee - Avatar (nurses, support) */
.employee-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--health-primary-light);
}
.employee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge subtle overrides */
.bg-success-subtle { background-color: #d1fae5 !important; }
.text-success { color: #059669 !important; }

/* Section spacing */
section { overflow: hidden; }
