﻿/* ================= MODERN DASHBOARD ================= */

document.head.insertAdjacentHTML('beforeend', additionalStyles);

.modern-dashboard {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

/* Welcome Header */
.dashboard-header {
    margin-bottom: 32px;
}

.welcome-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.welcome-content {
    flex: 1;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
}

    .welcome-title .highlight {
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.welcome-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.welcome-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--surface-2);
    border-radius: var(--radius-full);
    font-size: 14px;
}

.profile-indicator {
    display: flex;
    align-items: center;
}

.profile-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-status {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.profile-plan {
    font-size: 12px;
    color: var(--text-muted);
}

/* Modern Stats Grid */
.modern-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.modern-stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 160px;
    display: flex;
    flex-direction: column;
}

    .modern-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.stat-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 1;
}

.card-dependents .stat-background {
    background: var(--primary);
}

.card-refunds .stat-background {
    background: var(--secondary);
}

.card-appointments .stat-background {
    background: var(--tertiary);
}

.card-complaints .stat-background {
    background: var(--accent);
}

.stat-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-dependents .stat-icon-wrapper {
    background: rgba(58, 118, 122, 0.1);
    color: var(--primary);
}

.card-refunds .stat-icon-wrapper {
    background: rgba(63, 172, 114, 0.1);
    color: var(--secondary);
}

.card-appointments .stat-icon-wrapper {
    background: rgba(224, 72, 82, 0.1);
    color: var(--tertiary);
}

.card-complaints .stat-icon-wrapper {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.stat-actions {
    display: flex;
    gap: 8px;
}

.stat-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
}

    .stat-action-btn:hover {
        background: var(--surface-3);
        color: var(--text);
        transform: translateY(-1px);
    }

.stat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-main {
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

    .stat-trend.positive {
        background: rgba(63, 172, 114, 0.1);
        color: var(--secondary);
    }

    .stat-trend.neutral {
        background: rgba(100, 116, 139, 0.1);
        color: var(--text-muted);
    }

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-resolved {
    background: rgba(63, 172, 114, 0.1);
    color: var(--secondary);
}

/* Dashboard Content Grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 1200px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Modern Policy Card */
.modern-policy-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.policy-header {
    background: var(--primary-gradient);
    padding: 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.policy-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.policy-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.policy-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.policy-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .policy-status.active .status-dot {
        background: #10b981;
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
}

.policy-body {
    padding: 32px;
}

.policy-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .policy-details-grid {
        grid-template-columns: 1fr;
    }
}

.policy-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

.policy-actions {
    display: flex;
    gap: 16px;
}

.policy-btn {
    flex: 1;
    justify-content: center;
}

/* Modern Data Card */
.modern-data-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.data-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.header-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

    .header-link:hover {
        color: var(--primary-600);
        gap: 12px;
    }

.data-card-body {
    padding: 24px;
}

/* Appointments List */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.appointment-item {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .appointment-item:hover {
        background: var(--surface);
        border-color: var(--primary-light);
        transform: translateX(4px);
    }

.appointment-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.appointment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.date-day {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.date-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.appointment-info {
    flex: 1;
}

.appointment-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.appointment-provider {
    font-size: 14px;
    color: var(--text-muted);
}

.appointment-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-confirmed {
    background: rgba(63, 172, 114, 0.1);
    color: var(--secondary);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.appointment-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.btn-reschedule:hover {
    background: var(--warning);
    color: white;
    border-color: var(--warning);
}

.btn-confirm:hover {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
}

    .timeline-item:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 11px;
        top: 32px;
        bottom: -24px;
        width: 2px;
        background: var(--border);
    }

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.timeline-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-description {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.timeline-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 8px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Utilization Chart */
.utilization-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.utilization-item {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
}

.utilization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.utilization-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utilization-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.utilization-percentage {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.utilization-stats {
    font-size: 12px;
    color: var(--text-muted);
}

.progress-bar {
    height: 8px;
    background: var(--surface-3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-low {
    background: var(--primary);
}

.progress-medium {
    background: var(--secondary);
}

/* ================= COMPACT QUICK ACTIONS ================= */
.quick-actions-section {
    margin-top: 24px;
}

.compact-quick-actions {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: auto;
    display: flex;
    flex-direction: column;
}

.compact-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-2);
}

    .compact-header .header-icon {
        width: 40px;
        height: 40px;
        background: var(--primary-gradient);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
    }

    .compact-header .header-info {
        flex: 1;
    }

    .compact-header .header-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 2px;
    }

    .compact-header .header-subtitle {
        font-size: 13px;
        color: var(--text-muted);
    }

/* Compact Grid - 2 columns */
.compact-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    flex: 1;
}

@media (max-width: 768px) {
    .compact-actions-grid {
        grid-template-columns: 1fr;
    }
}

.compact-action-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: all var(--transition) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: left;
    border: none;
    width: 100%;
    min-height: 80px;
}

    .compact-action-card:hover {
        transform: translateY(-2px);
        border-color: var(--primary-light);
        box-shadow: var(--shadow-md);
        background: var(--surface-2);
    }

.compact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.compact-action-card .action-info {
    flex: 1;
    min-width: 0;
}

.compact-action-card .action-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.compact-action-card .action-description {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

.compact-action-card .action-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 60px;
}

.compact-action-card .indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: blink 1.5s infinite;
}

.compact-action-card .indicator-badge {
    padding: 3px 8px;
    background: var(--surface-2);
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.compact-action-card .indicator-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.compact-action-card .action-arrow {
    color: var(--text-light);
    font-size: 12px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.compact-action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

/* New styles for appointment-related elements */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.past-appointment {
    opacity: 0.7;
    background: var(--surface-3);
}

    .past-appointment .appointment-title {
        color: var(--text-muted);
    }

.appointment-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
}

    .meta-item i {
        font-size: 11px;
        width: 14px;
        text-align: center;
    }

.error-state {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 48px;
    color: var(--tertiary);
    margin-bottom: 16px;
    opacity: 0.8;
}

.error-title {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.error-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Additional status styles */
.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Additional action button styles */
.btn-details {
    background: var(--surface);
    color: var(--text-muted);
}

    .btn-details:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

.appointment-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.empty-icon {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-title {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.empty-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Remove conflicting styles */
.modern-quick-actions {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-dashboard {
        padding: 20px;
    }

    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .profile-badge {
        align-self: stretch;
        justify-content: center;
    }

    .modern-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compact-actions-grid {
        padding: 20px;
    }

    .compact-header {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .modern-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content-grid {
        gap: 24px;
    }

    .policy-actions {
        flex-direction: column;
    }

    .policy-btn {
        width: 100%;
    }

    .appointment-main {
        flex-wrap: wrap;
    }

    .appointment-status {
        margin-left: 86px;
        margin-top: 8px;
    }

    .appointment-actions {
        margin-top: 12px;
        width: 100%;
        justify-content: flex-end;
    }

    .compact-quick-actions {
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .modern-dashboard {
        padding: 16px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .welcome-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .policy-details-grid {
        gap: 16px;
    }

    .compact-quick-actions {
        min-height: auto;
    }

    .compact-actions-grid {
        padding: 16px;
        gap: 12px;
    }

    .compact-action-card {
        padding: 14px;
        min-height: 72px;
    }

    .compact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .compact-action-card .action-title {
        font-size: 14px;
    }

    .compact-action-card .action-description {
        font-size: 11px;
    }
}



@keyframes blink {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

const additionalStyles = `

.progress-high {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.utilization-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.utilization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.utilization-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.utilization-title {
    font-weight: 600;
    color: #1f2937;
}

.utilization-percentage {
    font-weight: 700;
    color: #2563eb;
}

.utilization-stats {
    font-size: 0.875rem;
    color: #6b7280;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-low {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.progress-medium {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}


.progress-fill.progress-high {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.progress-fill.progress-medium {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.progress-fill.progress-low {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

.loading-pulse {
    position: relative;
    color: transparent !important;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.error-text {
    color: #dc3545 !important;
    font-weight: 500;
}

.clickable-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

    .clickable-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    }

    .clickable-card:active {
        transform: translateY(0);
    }

/* Ensure buttons inside cards don't trigger card click */
.stat-action-btn {
    position: relative;
    z-index: 10;
}



