body {
    background: #f4f7fb;
}

#sidebar,
#sidebar .sidebar-inner,
#sidebar .h-100 {
    min-height: 100vh;
    height: auto !important;
}

.content {
    background: #f4f7fb;
    min-height: 100vh;
}

.page-title {
    font-weight: 800;
    color: #111827;
}

.page-subtitle {
    color: #6b7280;
    font-size: 14px;
}

.premium-card {
    background: #fff;
    border-radius: 22px;
    border: 0;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.stat-card {
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
    height: 100%;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF4FB;
    color: #3473BA;
    font-size: 22px;
}

.stat-label {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.month-switcher {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
}

.month-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: #3473BA;
    color: #fff;
}

.filter-card {
    padding: 20px;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    min-height: 44px;
}

.btn-orange {
    background: #3473BA;
    color: #fff;
    border: 0;
    border-radius: 14px;
    min-height: 44px;
    font-weight: 600;
}

.btn-orange:hover {
    background: #d8451d;
    color: #fff;
}

.btn-soft {
    background: #f3f4f6;
    color: #111827;
    border: 0;
    border-radius: 14px;
    min-height: 44px;
    font-weight: 600;
}

.employee-card {
    position: relative;
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    height: 100%;
}

.employee-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3473BA, #ff9a6b);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.employee-name {
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.employee-login {
    color: #6b7280;
    font-size: 13px;
}

.employee-data {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.employee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 14px;
    font-size: 14px;
}

.employee-row span {
    color: #6b7280;
}

.employee-row strong {
    color: #111827;
}

.employee-amount {
    color: #3473BA !important;
    font-weight: 900;
}

.calendar-wrapper {
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 28px;
    font-weight: 900;
    color: #111827;
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #eef2f7;
    border-radius: 18px;
    overflow: hidden;
}

.calendar-day-name {
    background: #f8fafc;
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
}

.calendar-cell {
    min-height: 120px;
    padding: 12px;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.calendar-cell:nth-child(7n) {
    border-right: 0;
}

.calendar-date {
    font-weight: 800;
    font-size: 13px;
    color: #111827;
    margin-bottom: 8px;
}

.calendar-date.muted {
    color: #c0c4cc;
}

.calendar-cell.today {
    background: #EEF4FB;
}

.day-pill {
    display: block;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: #eef6ff;
    color: #1d4ed8;
}

.day-pill.orange {
    background: #EEF4FB;
    color: #3473BA;
}

.day-pill.green {
    background: #ecfdf5;
    color: #059669;
}

.table-premium {
    overflow: hidden;
    border-radius: 18px;
}

.table-premium table {
    margin-bottom: 0;
}

.table-premium th {
    background: #f8fafc;
    font-size: 13px;
    color: #374151;
}

.table-premium td {
    vertical-align: middle;
    font-size: 14px;
}

@media (max-width: 768px) {
    .calendar-grid {
        display: block;
    }

    .calendar-day-name {
        display: none;
    }

    .calendar-cell {
        min-height: auto;
        border-right: 0;
    }

    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-title {
        font-size: 22px;
    }
}