body {
    background: radial-gradient(circle at 10% 10%, #dff3ff 0, transparent 35%), linear-gradient(135deg, #eef4fb 0%, #c4d3e8 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 10px; }
.glass-alert { border: 0; box-shadow: 0 8px 20px rgba(31, 38, 135, .12); }
.stat-card { min-height: 150px; transition: transform .2s ease, box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(31, 38, 135, .2); }
.table.glass-table { --bs-table-bg: transparent; --bs-table-hover-bg: rgba(255,255,255,.22); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.glass-panel {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 16px;
    padding: 2rem;
}
.login-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(34, 76, 155, 0.18), 0 0 0 1px rgba(255,255,255,0.28), 0 0 25px rgba(96, 165, 250, 0.22);
}
.login-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.9), rgba(168, 85, 247, 0.72), rgba(34, 211, 238, 0.75), rgba(96, 165, 250, 0.9));
    z-index: -1;
    filter: blur(10px);
    opacity: 0.9;
}
.login-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-input {
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 8px !important;
}
.glass-input:focus {
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2) !important;
}
.dashboard-brand-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 22px rgba(31, 38, 135, .14);
    color: #0d6efd;
    font-size: 2rem;
}
.dashboard-brand-logo img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}
.dashboard-hospital-name {
    color: #17365d;
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .3rem;
}
.dashboard-period-switch {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    max-width: 560px;
    padding: .35rem;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
    background: rgba(255, 255, 255, .22);
    box-shadow: 0 5px 16px rgba(31, 38, 135, .08);
}
.dashboard-period-button {
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, .42);
    color: #315477;
    font-weight: 600;
    padding: .55rem .8rem;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.dashboard-period-button:hover,
.dashboard-period-button:focus-visible {
    border-color: rgba(13, 110, 253, .35);
    color: #084298;
    outline: none;
}
.dashboard-period-button.active {
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: #fff;
    box-shadow: 0 5px 12px rgba(13, 110, 253, .24);
}
@media (max-width: 576px) {
    .dashboard-heading > .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }
    .dashboard-heading .text-end {
        text-align: left !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-period-button { transition: none; }
}