```css
/* =========================================================
   HOUSEKEEPING MANAGEMENT SYSTEM
   Main Stylesheet
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --navbar-height: 60px;
    --sidebar-width: 250px;

    --primary: #0d6efd;
    --primary-dark: #0b5ed7;

    --dark: #212529;
    --dark-light: #343a40;

    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --sidebar-active: #0d6efd;

    --body-bg: #f4f6f9;
    --card-bg: #ffffff;

    --text-dark: #212529;
    --text-muted: #6c757d;

    --border-color: #e5e7eb;

    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;

    --transition: 0.25s ease;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background-color: var(--body-bg);

    color: var(--text-dark);

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 15px;

    min-height: 100vh;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    text-decoration: none;
}


a:hover {
    text-decoration: none;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    height: var(--navbar-height);

    z-index: 1050;

    padding-left: 15px;
    padding-right: 15px;
}


.navbar-brand {
    font-size: 20px;
    letter-spacing: 0.2px;
}


.navbar-brand i {
    font-size: 22px;
}


.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
}


.navbar .nav-link:hover {
    color: #ffffff;
}


.navbar .dropdown-menu {
    margin-top: 8px;

    border: 0;

    border-radius: 10px;

    min-width: 210px;
}


.navbar .dropdown-item {
    padding: 9px 15px;
}


.navbar .dropdown-item:hover {
    background-color: #f1f5f9;
}


/* =========================================================
   APPLICATION WRAPPER
   ========================================================= */

.app-wrapper {
    min-height: 100vh;

    padding-top: var(--navbar-height);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: var(--navbar-height);
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    background-color: var(--sidebar-bg);

    color: #ffffff;

    z-index: 1040;

    display: flex;
    flex-direction: column;

    overflow-y: auto;

    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);

    transition:
        transform var(--transition);
}


/* Sidebar scrollbar */

.sidebar::-webkit-scrollbar {
    width: 5px;
}


.sidebar::-webkit-scrollbar-track {
    background: transparent;
}


.sidebar::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}


/* =========================================================
   SIDEBAR HEADER
   ========================================================= */

.sidebar-header {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.sidebar-logo {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: var(--primary);

    border-radius: 10px;

    font-size: 20px;
}


.sidebar-title {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.sidebar-title strong {
    font-size: 14px;

    color: #ffffff;

    white-space: nowrap;
}


.sidebar-title small {
    margin-top: 3px;

    font-size: 11px;

    color: #94a3b8;
}


/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.sidebar-nav {
    flex: 1;

    padding: 12px 10px 20px;
}


.sidebar-section-title {
    padding: 15px 10px 7px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.sidebar-link {
    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 11px 12px;

    margin-bottom: 3px;

    color: #cbd5e1;

    border-radius: 8px;

    font-size: 14px;

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}


.sidebar-link i {
    width: 20px;

    text-align: center;

    font-size: 17px;
}


.sidebar-link:hover {
    color: #ffffff;

    background-color: var(--sidebar-hover);

    transform: translateX(2px);
}


.sidebar-link.active {
    color: #ffffff;

    background-color: var(--sidebar-active);

    box-shadow:
        0 3px 8px rgba(13, 110, 253, 0.25);
}


.sidebar-link.active:hover {
    background-color: var(--primary-dark);
}


.sidebar-link.sidebar-logout {
    color: #fca5a5;

    margin-top: 5px;
}


.sidebar-link.sidebar-logout:hover {
    color: #ffffff;

    background-color: rgba(220, 53, 69, 0.2);
}


/* =========================================================
   SIDEBAR FOOTER
   ========================================================= */

.sidebar-footer {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 15px;

    margin: 10px;

    background-color: rgba(255, 255, 255, 0.05);

    border-radius: 10px;

    color: #cbd5e1;
}


.sidebar-footer-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background-color: rgba(25, 135, 84, 0.2);

    color: #86efac;
}


.sidebar-footer div:last-child {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.sidebar-footer small {
    font-weight: 600;

    color: #e2e8f0;
}


.sidebar-footer span {
    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {
    min-height: calc(100vh - var(--navbar-height));

    margin-left: var(--sidebar-width);

    padding: 25px;

    transition:
        margin-left var(--transition);
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}


.page-header h1,
.page-header h2,
.page-header h3 {
    margin: 0;

    font-weight: 700;
}


.page-header p {
    margin: 5px 0 0;

    color: var(--text-muted);
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    border: 1px solid var(--border-color);

    border-radius: 12px;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04);
}


.card-header {
    background-color: #ffffff;

    border-bottom: 1px solid var(--border-color);

    padding: 15px 18px;

    font-weight: 600;
}


.card-body {
    padding: 20px;
}


/* =========================================================
   DASHBOARD STAT CARDS
   ========================================================= */

.stat-card {
    position: relative;

    overflow: hidden;

    border: 0;

    min-height: 145px;
}


.stat-card .card-body {
    position: relative;

    z-index: 2;
}


.stat-card .stat-title {
    color: var(--text-muted);

    font-size: 13px;

    font-weight: 600;
}


.stat-card .stat-number {
    margin-top: 5px;

    font-size: 30px;

    font-weight: 700;
}


.stat-card .stat-icon {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 24px;

    opacity: 0.15;
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

.status-badge {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}


.status-pending {
    background-color: #fff3cd;

    color: #856404;
}


.status-working {
    background-color: #cff4fc;

    color: #055160;
}


.status-completed {
    background-color: #d1e7dd;

    color: #0f5132;
}


.status-approved {
    background-color: #cfe2ff;

    color: #084298;
}


/* =========================================================
   TABLES
   ========================================================= */

.table-responsive {
    border-radius: 10px;
}


.table {
    margin-bottom: 0;

    vertical-align: middle;
}


.table thead th {
    padding: 12px 14px;

    background-color: #f8fafc;

    border-bottom: 1px solid var(--border-color);

    color: #475569;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    white-space: nowrap;
}


.table tbody td {
    padding: 13px 14px;

    border-color: var(--border-color);

    font-size: 14px;
}


.table tbody tr:hover {
    background-color: #f8fafc;
}


/* =========================================================
   USER AVATAR
   ========================================================= */

.user-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #ffffff;

    box-shadow:
        0 1px 5px rgba(0, 0, 0, 0.15);
}


.user-avatar-lg {
    width: 100px;
    height: 100px;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid #ffffff;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FORMS
   ========================================================= */

.form-label {
    margin-bottom: 6px;

    font-weight: 600;

    font-size: 13px;
}


.form-control,
.form-select {
    min-height: 42px;

    border-color: #d1d5db;

    border-radius: 8px;

    font-size: 14px;
}


.form-control:focus,
.form-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}


textarea.form-control {
    min-height: 100px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;

    padding: 8px 14px;
}


.btn-sm {
    padding: 6px 10px;

    font-size: 12px;
}


.btn-icon {
    width: 36px;
    height: 36px;

    padding: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.search-box {
    position: relative;
}


.search-box i {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;
}


.search-box input {
    padding-left: 38px;
}


/* =========================================================
   ALERTS
   ========================================================= */

.alert {
    border: 0;

    border-radius: 10px;

    font-size: 14px;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-card {
    overflow: hidden;
}


.profile-cover {
    height: 130px;

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #334155
        );
}


.profile-info {
    position: relative;

    padding: 0 25px 25px;
}


.profile-image-wrapper {
    margin-top: -55px;

    margin-bottom: 15px;
}


.profile-image-wrapper img {
    width: 110px;
    height: 110px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #ffffff;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   LOGIN PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #e0f2fe,
            #f8fafc
        );
}


.login-card {
    width: 100%;

    max-width: 430px;

    background: #ffffff;

    border-radius: 15px;

    border: 1px solid var(--border-color);

    box-shadow:
        0 10px 40px rgba(15, 23, 42, 0.10);

    overflow: hidden;
}


.login-header {
    padding: 30px 25px;

    text-align: center;

    background-color: #ffffff;
}


.login-logo {
    width: 65px;
    height: 65px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background-color: var(--primary);

    color: #ffffff;

    font-size: 30px;
}


.login-header h2 {
    margin: 0;

    font-size: 22px;

    font-weight: 700;
}


.login-header p {
    margin: 6px 0 0;

    color: var(--text-muted);

    font-size: 13px;
}


.login-body {
    padding: 0 25px 30px;
}


/* =========================================================
   CALL DETAILS
   ========================================================= */

.call-timeline {
    position: relative;

    padding-left: 35px;
}


.call-timeline::before {
    content: "";

    position: absolute;

    left: 10px;
    top: 8px;
    bottom: 8px;

    width: 2px;

    background-color: #dee2e6;
}


.timeline-item {
    position: relative;

    margin-bottom: 25px;
}


.timeline-item:last-child {
    margin-bottom: 0;
}


.timeline-dot {
    position: absolute;

    left: -31px;
    top: 3px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background-color: #adb5bd;

    border: 3px solid #ffffff;

    box-shadow:
        0 0 0 1px #adb5bd;
}


.timeline-item.active .timeline-dot {
    background-color: var(--primary);

    box-shadow:
        0 0 0 1px var(--primary);
}


.timeline-title {
    font-weight: 700;

    font-size: 14px;
}


.timeline-date {
    color: var(--text-muted);

    font-size: 12px;

    margin-top: 3px;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 50px 20px;

    text-align: center;

    color: var(--text-muted);
}


.empty-state i {
    display: block;

    margin-bottom: 12px;

    font-size: 45px;

    color: #cbd5e1;
}


.empty-state h5 {
    color: #475569;

    font-weight: 600;
}


/* =========================================================
   FOOTER
   ========================================================= */

.app-footer {
    margin-left: var(--sidebar-width);

    padding: 18px 25px;

    background-color: #ffffff;

    border-top: 1px solid var(--border-color);

    color: var(--text-muted);

    font-size: 12px;
}


.app-footer strong {
    color: #475569;
}


.footer-status {
    color: #64748b;
}


/* =========================================================
   SIDEBAR MOBILE OVERLAY
   ========================================================= */

.sidebar-overlay {
    display: none;

    position: fixed;

    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.45);

    z-index: 1035;
}


.sidebar-overlay.show {
    display: block;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    padding: 0;

    display: none;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    z-index: 1000;
}


.back-to-top.show {
    display: flex;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination .page-link {
    border-radius: 7px;

    margin: 0 2px;

    font-size: 13px;
}


.pagination .page-item.active .page-link {
    background-color: var(--primary);

    border-color: var(--primary);
}


/* =========================================================
   MODAL
   ========================================================= */

.modal-content {
    border: 0;

    border-radius: 12px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.15);
}


.modal-header {
    border-bottom-color: var(--border-color);
}


.modal-footer {
    border-top-color: var(--border-color);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .sidebar {
        transform: translateX(-100%);
    }


    .sidebar.show {
        transform: translateX(0);
    }


    .main-content {
        margin-left: 0;

        padding: 20px;
    }


    .app-footer {
        margin-left: 0;

        padding: 15px 20px;
    }


    .navbar-brand {
        font-size: 18px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767.98px) {

    .main-content {
        padding: 15px;
    }


    .page-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .page-header .btn {
        width: 100%;
    }


    .card-body {
        padding: 15px;
    }


    .stat-card {
        min-height: 125px;
    }


    .stat-card .stat-number {
        font-size: 25px;
    }


    .table thead th,
    .table tbody td {
        padding: 10px;

        font-size: 12px;
    }


    .app-footer {
        font-size: 11px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .navbar {
        padding-left: 8px;

        padding-right: 8px;
    }


    .navbar-brand {
        font-size: 16px;
    }


    .navbar-brand i {
        font-size: 18px;
    }


    .main-content {
        padding: 12px;
    }


    .page-header h1 {
        font-size: 22px;
    }


    .page-header h2 {
        font-size: 20px;
    }


    .login-page {
        padding: 12px;
    }


    .login-header {
        padding: 25px 20px;
    }


    .login-body {
        padding: 0 20px 25px;
    }


    .profile-cover {
        height: 100px;
    }


    .profile-info {
        padding: 0 15px 20px;
    }


    .app-footer {
        padding: 15px;

        text-align: center;
    }


    .app-footer .text-md-end {
        text-align: center !important;
    }
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    .navbar,
    .sidebar,
    .sidebar-overlay,
    .app-footer,
    .back-to-top,
    .btn {
        display: none !important;
    }


    .main-content {
        margin-left: 0 !important;

        padding: 0 !important;
    }


    body {
        background: #ffffff;
    }


    .card {
        box-shadow: none;

        border: 1px solid #ddd;
    }
}
```
