/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- BODY ---------- */

html,
body {
    height: 100%;
}

body {
    background: #f5f7fa;
    font-family: Segoe UI, Arial, sans-serif;
    overflow-x: hidden;
}

/* ---------- HEADER ---------- */

.erp-header {
    height: 60px;
    background: #1E4F4A;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.erp-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.erp-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.erp-logo {
    font-weight: 700;
}

.erp-app-title {
    font-size: 20px;
    font-weight: 600;
}

/* ---------- MENU BUTTON ---------- */

.erp-menu-toggle {
    border: none;
    background: transparent;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* ---------- MAIN LAYOUT ---------- */

.erp-wrapper {
    display: flex;
    height: calc(100vh - 60px);
}

/* ---------- SIDEBAR ---------- */

.erp-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    flex-shrink: 0;
}

/* ---------- CONTENT ---------- */

.erp-content {
    flex: 1;
    padding: 20px;
}

.erp-page {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
}

/* ---------- FOOTER ---------- */

.erp-footer {
    display: none;
}

/* ---------- BRANCH ---------- */

.erp-branch-select {
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 10px;
}

/* ---------- DASHBOARD ---------- */

.dashboard-header {
    margin-bottom: 20px;
}

    .dashboard-header h2 {
        margin-bottom: 5px;
        color: #1E4F4A;
    }

    .dashboard-header p {
        color: #666;
    }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.kpi-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.kpi-title {
    font-size: 14px;
    color: #666;
}

.kpi-value {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #1E4F4A;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.dashboard-card-header {
    background: #CDEBE8;
    padding: 12px;
    font-weight: 600;
}

.dashboard-card-body {
    padding: 20px;
}
html,
body {
    height: 100%;
    overflow: hidden;
}

.erp-content {
    overflow-y: auto;
}
.page-title {
    margin-bottom: 20px;
    color: #1E4F4A;
    font-weight: 600;
}