
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #173d32;
    --green-light: #245746;
    --gold: #c6a15b;
    --background: #f4f6f5;
    --white: #ffffff;
    --text: #26352f;
    --muted: #87918b;
    --border: #e7ebe8;
}

body {
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

#app {
    min-height: 100vh;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 255px;
    background: var(--green);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 22px 14px;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
}

.brand h2 {
    font-size: 15px;
    letter-spacing: 1px;
}

.brand small {
    color: #bdcec5;
    font-size: 11px;
}

.sidebar-label {
    color: #a9beb4;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    padding: 25px 12px 12px;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #d5e0da;
    text-align: left;
    font-size: 13px;
    width: 100%;
    transition: 0.2s;
}

.nav-item:hover {
    background: var(--green-light);
    color: white;
}

.nav-item.active {
    background: var(--gold);
    color: var(--green);
    font-weight: bold;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 10px 5px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #a9beb4;
    font-size: 10px;
}

/* MAIN CONTENT */

.main-content {
    flex: 1;
    min-width: 0;
}

.topbar {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.topbar h2 {
    font-size: 21px;
    margin-bottom: 5px;
}

.topbar p {
    font-size: 12px;
    color: var(--muted);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.page-content {
    padding: 30px;
}

.welcome-section {
    margin-bottom: 25px;
}

.welcome-section h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.welcome-section p {
    color: var(--muted);
    font-size: 13px;
}

/* SUMMARY CARDS */

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.summary-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.03);
}

.summary-card span {
    color: var(--muted);
    font-size: 12px;
}

.summary-card h2 {
    font-size: 28px;
    color: var(--green);
    margin: 12px 0 8px;
}

.summary-card small {
    color: var(--gold);
    font-size: 11px;
}

/* DASHBOARD PANEL */

.dashboard-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
    min-height: 150px;
}

.dashboard-panel h3,
.dashboard-panel h2 {
    margin-bottom: 12px;
    font-size: 17px;
}

.dashboard-panel p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .sidebar {
        width: 190px;
    }

    .topbar {
        padding: 16px;
    }

    .page-content {
        padding: 16px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}
