/* GlobalLayout.css - Base layout and reset */

/* ===== BOX-SIZING RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

/* ===== BASE BODY ===== */
body {
    font-family: Arial, sans-serif;
    background-color: var(--beige);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.has-navbar {
    padding-top: 63px;
}

body.nav-open {
    overflow: hidden;
}

/* ===== NAVBAR POSITIONING ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-shrink: 0;
}

/* ===== MAIN LAYOUT ===== */
.container {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    padding: 20px;
}

.sidebar {
    flex-shrink: 0;
}

.content-area {
    flex: 1 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 999;
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .main-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 10px;
    }
}
