/* ===========================================
   Hidden Places Design System
   Layout
=========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--hp-background);
    font-family: var(--hp-font-body);
    color: var(--hp-grey-700);
}

body {
    overflow-x: hidden;
}

.app-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

/* Sidebar */

.sidebar {
    background: var(--hp-forest-dark);
    color: white;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    width: 185px;
    display: block;
    margin: 0 auto 40px auto;
}

/* Main Content */

.content-area {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Top Bar */

.topbar {
    height: 74px;
    background: white;
    border-bottom: 1px solid var(--hp-grey-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 36px;
}

    .topbar strong {
        font-size: 18px;
        color: var(--hp-forest);
    }

.topbar-status {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--hp-cream);
    color: var(--hp-forest);
    font-size: 13px;
    border: 1px solid var(--hp-grey-200);
}

/* Page */

.main-content {
    padding: 40px;
}

.page-title {
    font-family: var(--hp-font-heading);
    font-size: 52px;
    color: var(--hp-forest);
    margin: 0;
    font-weight: 600;
}

.page-subtitle {
    margin-top: 10px;
    color: var(--hp-grey-600);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Responsive */

@media (max-width: 992px) {

    .app-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding: 24px;
    }

    .main-content {
        padding: 24px;
    }
}
