/* ============================================
   CareConnect Healthcare Theme
   Modern & Warm Design for Healthcare
   ============================================ */

:root {
    /* Healthcare Primary Colors - Soft & Caring */
    --bs-primary: #2D3E50;
    --bs-primary-rgb: 45, 62, 80;
    --bs-primary-light: #ECF4F9;
    --bs-primary-dark: #1A2633;

    /* Healthcare Accent - Teal/Turquoise (Trust & Care) */
    --bs-accent: #14B8A6;
    --bs-accent-light: #E6F7F5;
    --bs-accent-dark: #0D9488;

    /* Healthcare Secondary - Soft Purple (Compassion) */
    --bs-secondary: #8B5CF6;
    --bs-secondary-light: #F3EEFF;

    /* Success - Fresh Green (Health & Vitality) */
    --bs-success: #10B981;
    --bs-success-light: #D1FAE5;
    --bs-success-dark: #059669;

    /* Info - Calm Blue (Trust & Professionalism) */
    --bs-info: #3B82F6;
    --bs-info-light: #DBEAFE;

    /* Warning - Warm Orange (Attention) */
    --bs-warning: #F59E0B;
    --bs-warning-light: #FEF3C7;

    /* Danger - Soft Red (Urgent but not alarming) */
    --bs-danger: #EF4444;
    --bs-danger-light: #FEE2E2;

    /* Healthcare Pastels */
    --bs-pastel-pink: #FDE2E4;
    --bs-pastel-blue: #E3F2FD;
    --bs-pastel-green: #E8F5E9;
    --bs-pastel-purple: #F3E5F5;

    /* Warm Gray Scale - Softer and friendlier */
    --bs-gray-50: #FAFAFA;
    --bs-gray-100: #F5F5F5;
    --bs-gray-200: #EEEEEE;
    --bs-gray-300: #E0E0E0;
    --bs-gray-400: #BDBDBD;
    --bs-gray-500: #9E9E9E;
    --bs-gray-600: #757575;
    --bs-gray-700: #616161;
    --bs-gray-800: #424242;
    --bs-gray-900: #212121;

    /* Layout - More spacious and comfortable */
    --bs-sidebar-width: 280px;
    --bs-header-height: 75px;
    --bs-border-radius: 12px;
    --bs-border-radius-sm: 8px;
    --bs-border-radius-lg: 16px;
    --bs-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --bs-box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --bs-box-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Global Styles - Warm & Welcoming
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    color: var(--bs-gray-700);
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   App Container
   ============================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   Sidebar - Light & Fresh
   ============================================ */
.app-sidebar {
    width: var(--bs-sidebar-width);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 4px 0 20px rgba(20, 184, 166, 0.08);
}

.app-sidebar::-webkit-scrollbar {
    width: 6px;
}

.app-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.app-sidebar::-webkit-scrollbar-thumb {
    background: var(--bs-accent);
    border-radius: 10px;
    opacity: 0.3;
}

.app-sidebar::-webkit-scrollbar-thumb:hover {
    opacity: 0.6;
}

/* Sidebar Logo */
.sidebar-logo {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--bs-accent-light);
    background: linear-gradient(135deg, var(--bs-accent-light) 0%, transparent 100%);
}

.sidebar-logo img {
    height: 45px;
    filter: drop-shadow(0 2px 8px rgba(20, 184, 166, 0.2));
}

.sidebar-logo-text {
    margin-left: 14px;
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Sidebar Menu */
.sidebar-menu {
    padding: 24px 18px;
}

.menu-section {
    margin-bottom: 28px;
}

.menu-section-title {
    color: var(--bs-gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    padding: 0 16px 12px;
}

.menu-item {
    margin-bottom: 6px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--bs-gray-700);
    text-decoration: none;
    border-radius: var(--bs-border-radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: var(--bs-accent);
    border-radius: 0 8px 8px 0;
    transition: width 0.3s ease;
}

.menu-link:hover {
    background: var(--bs-accent-light);
    color: var(--bs-accent-dark);
    transform: translateX(4px);
}

.menu-link:hover::before {
    width: 4px;
}

.menu-link.active {
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    transform: translateX(4px);
}

.menu-link.active::before {
    width: 0;
}

.menu-icon {
    width: 22px;
    margin-right: 14px;
    font-size: 20px;
    text-align: center;
}

.menu-title {
    flex: 1;
}

.menu-badge {
    margin-left: auto;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--bs-danger) 0%, #DC2626 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* ============================================
   Main Content
   ============================================ */
.app-main {
    margin-left: var(--bs-sidebar-width);
    width: calc(100% - var(--bs-sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Header - Clean & Professional
   ============================================ */
.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--bs-header-height);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 15px rgba(20, 184, 166, 0.08);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Page Title */
.page-title {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.page-breadcrumb {
    font-size: 13px;
    color: var(--bs-gray-500);
    margin-top: 4px;
    font-weight: 500;
}

/* Header Search */
.header-search {
    position: relative;
    width: 320px;
}

.header-search input {
    width: 100%;
    padding: 10px 18px 10px 44px;
    border: 2px solid var(--bs-gray-200);
    border-radius: var(--bs-border-radius);
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bs-gray-50);
}

.header-search input:focus {
    outline: none;
    border-color: var(--bs-accent);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    background: #fff;
}

.header-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-accent);
    font-size: 18px;
}

/* Header Icons */
.header-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--bs-accent-light);
    color: var(--bs-accent);
    border-radius: var(--bs-border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.header-icon-btn:hover {
    background: var(--bs-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.header-icon-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 4px 7px;
    background: linear-gradient(135deg, var(--bs-danger) 0%, #DC2626 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid #fff;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: var(--bs-accent-light);
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-menu:hover {
    background: var(--bs-accent);
    border-color: var(--bs-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.user-menu:hover .user-name,
.user-menu:hover .user-role {
    color: #fff;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bs-accent);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bs-accent-dark);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.user-role {
    font-size: 12px;
    color: var(--bs-gray-500);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ============================================
   Content Area
   ============================================ */
.app-content {
    flex: 1;
    padding: 20px;
    max-height: calc(100vh - var(--bs-header-height));
    overflow-y: auto;
}

/* Card Styles - Modern & Clean */
.modern-card {
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow);
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: var(--bs-box-shadow-lg);
    transform: translateY(-2px);
}

.modern-card-header {
    padding: 16px 20px;
    border-bottom: 2px solid var(--bs-accent-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--bs-accent-light) 0%, transparent 100%);
}

.modern-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-accent-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-card-body {
    padding: 20px;
}

/* Stats Cards - Fresh & Vibrant */
.stats-card {
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-dark) 100%);
    border-radius: var(--bs-border-radius-lg);
    padding: 18px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.35);
}

.stats-card.success {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-success-dark) 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.stats-card.success:hover {
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.stats-card.warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #D97706 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.stats-card.warning:hover {
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.stats-card.danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, #DC2626 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

.stats-card.danger:hover {
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.stats-card.info {
    background: linear-gradient(135deg, var(--bs-info) 0%, #2563EB 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.stats-card.info:hover {
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.stats-icon {
    font-size: 32px;
    opacity: 0.9;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.stats-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-label {
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
}

/* ============================================
   Table Styles - Clean & Modern
   ============================================ */
.modern-table {
    width: 100%;
    margin-bottom: 0;
}

.modern-table thead th {
    background: var(--bs-accent-light);
    color: var(--bs-accent-dark);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 22px;
    border: none;
}

.modern-table tbody td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--bs-gray-200);
    font-size: 14px;
    color: var(--bs-gray-700);
    vertical-align: middle;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background: var(--bs-accent-light);
    transform: scale(1.01);
}

/* ============================================
   Buttons - Soft & Friendly
   ============================================ */
.btn-modern {
    padding: 11px 22px;
    border-radius: var(--bs-border-radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}

.btn-modern-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-success-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-modern-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-modern-danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, #DC2626 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-modern-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-modern-light {
    background: var(--bs-gray-100);
    color: var(--bs-gray-700);
    border: 2px solid var(--bs-gray-200);
}

.btn-modern-light:hover {
    background: var(--bs-gray-200);
    border-color: var(--bs-accent);
    color: var(--bs-accent);
}

/* ============================================
   Badges & Tags - Soft Colors
   ============================================ */
.badge-modern {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.badge-modern-success {
    background: var(--bs-success-light);
    color: var(--bs-success-dark);
    border: 2px solid var(--bs-success);
}

.badge-modern-warning {
    background: var(--bs-warning-light);
    color: #D97706;
    border: 2px solid var(--bs-warning);
}

.badge-modern-danger {
    background: var(--bs-danger-light);
    color: #DC2626;
    border: 2px solid var(--bs-danger);
}

.badge-modern-info {
    background: var(--bs-info-light);
    color: #2563EB;
    border: 2px solid var(--bs-info);
}

/* ============================================
   Footer
   ============================================ */
.app-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--bs-accent-light);
    padding: 22px 35px;
    text-align: center;
    color: var(--bs-gray-600);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
        box-shadow: 8px 0 30px rgba(20, 184, 166, 0.15);
    }

    .app-main {
        margin-left: 0;
        width: 100%;
    }

    .header-search {
        display: none;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 184, 166, 0.2);
        backdrop-filter: blur(4px);
        z-index: 1029;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 767px) {
    .app-header {
        padding: 0 18px;
    }

    .app-content {
        padding: 15px 10px;
    }

    .user-info {
        display: none;
    }

    .stats-card {
        padding: 16px;
    }

    .modern-card-header,
    .modern-card-body {
        padding: 15px;
    }
}

/* ============================================
   Admin Dashboard Specific Styles
   ============================================ */
.admin-dashboard .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.admin-dashboard .admin-header {
    background: linear-gradient(135deg, var(--bs-accent-light) 0%, var(--bs-info-light) 100%);
    padding: 10px 0;
    margin-bottom: 12px;
    border-radius: var(--bs-border-radius);
}

.admin-dashboard .admin-header .container {
    padding-left: 15px;
    padding-right: 15px;
}

.admin-dashboard .admin-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-accent-dark);
    margin-bottom: 4px;
}

.admin-dashboard .admin-subtitle {
    font-size: 12px;
    color: var(--bs-gray-600);
    margin: 0;
}

.admin-dashboard .admin-card {
    background: #fff;
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 12px;
}

.admin-dashboard .admin-card:hover {
    box-shadow: var(--bs-box-shadow);
    transform: translateY(-2px);
}

.admin-dashboard .admin-card .card-body {
    padding: 12px;
}

.admin-dashboard .admin-card .card-header {
    padding: 10px 12px;
    background: var(--bs-accent-light);
    border-bottom: 1px solid var(--bs-accent);
}

.admin-dashboard .admin-card .card-header h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bs-accent-dark);
    margin: 0;
}

.admin-dashboard .admin-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-dashboard .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--bs-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.admin-dashboard .stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-accent-dark) 100%);
}

.admin-dashboard .stat-icon.bg-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-success-dark) 100%);
}

.admin-dashboard .stat-icon.bg-info {
    background: linear-gradient(135deg, var(--bs-info) 0%, #2563EB 100%);
}

.admin-dashboard .stat-icon.bg-warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #D97706 100%);
}

.admin-dashboard .stat-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--bs-gray-800);
    margin-bottom: 2px;
}

.admin-dashboard .stat-content p {
    font-size: 11px;
    color: var(--bs-gray-600);
    margin: 0;
}

.admin-dashboard .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 12px;
}

.admin-dashboard .info-item i {
    font-size: 16px;
}

.admin-dashboard .admin-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-dashboard .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bs-accent-light);
    color: var(--bs-accent-dark);
    text-decoration: none;
    border-radius: var(--bs-border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-dashboard .action-btn:hover {
    background: var(--bs-accent);
    color: #fff;
    transform: translateX(4px);
}

.admin-dashboard .action-btn i {
    font-size: 14px;
}

.admin-dashboard .row {
    margin-bottom: 12px;
}

.admin-dashboard .row:last-child {
    margin-bottom: 0;
}

.admin-dashboard .col-lg-3,
.admin-dashboard .col-md-6 {
    margin-bottom: 12px;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-modern-primary { color: var(--bs-accent) !important; }
.text-modern-gray { color: var(--bs-gray-600) !important; }
.bg-modern-light { background: var(--bs-gray-100) !important; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--bs-accent-light);
    border: none;
    border-radius: var(--bs-border-radius-sm);
    cursor: pointer;
    color: var(--bs-accent);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--bs-accent);
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Loading Spinner */
.modern-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(20, 184, 166, 0.2);
    border-top-color: var(--bs-accent);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Additional Healthcare Elements */
.healthcare-accent {
    background: linear-gradient(135deg, var(--bs-accent-light) 0%, var(--bs-info-light) 100%);
    border-left: 4px solid var(--bs-accent);
    padding: 16px 20px;
    border-radius: var(--bs-border-radius);
    margin: 16px 0;
}

/* Floating Animation for Stats Cards */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stats-card:nth-child(1) {
    animation: floating 6s ease-in-out infinite;
}

.stats-card:nth-child(2) {
    animation: floating 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

.stats-card:nth-child(3) {
    animation: floating 8s ease-in-out infinite;
    animation-delay: 1s;
}

.stats-card:nth-child(4) {
    animation: floating 7.5s ease-in-out infinite;
    animation-delay: 1.5s;
}
