:root {
    --sidebar-width: 260px;
}
body {
    background: #f5f7fb;
    font-family: Inter, Arial, sans-serif;
}
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}
.nav-link {
    border-radius: 10px;
}
.nav-link:hover {
    background: rgba(255,255,255,.08);
}
.card-soft {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.stat-card {
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827, #1f2937 50%, #334155);
}
.login-card {
    width: 100%;
    max-width: 460px;
    border-radius: 22px;
}
.table thead th {
    white-space: nowrap;
}
.report-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    padding: 24px;
}
@media (max-width: 992px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }
    .main-content {
        margin-left: 0;
    }
}


.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.calendar-head {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-align: center;
    padding: 6px 0;
}
.calendar-day {
    min-height: 140px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
}
.calendar-day.empty {
    background: transparent;
    border-style: dashed;
}
.calendar-day.today {
    border-color: #0d6efd;
    box-shadow: inset 0 0 0 1px rgba(13,110,253,.15);
}
.calendar-day-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.calendar-date {
    font-weight: 700;
}
.calendar-link {
    font-size: 0.75rem;
    text-decoration: none;
}
.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calendar-event {
    background: #eff6ff;
    border-radius: 10px;
    padding: 7px 8px;
    border: 1px solid #dbeafe;
}
@media (max-width: 992px) {
    .calendar-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .calendar-head {
        display: none;
    }
    .calendar-day.empty {
        display: none;
    }
    .calendar-day {
        min-height: auto;
    }
}
