﻿/* layout.css - All grid layout styles */
.page-layout {
    display: grid;
    grid-template-areas:
        "header header header"
        "nav main sidebar"
        "footer footer footer";
    grid-template-columns: 200px 1fr 250px;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background-color:#C0C0C0;
    gap: 20px;
    padding: 0 20px;
}

.header {
    grid-area: header;
    background: #C0C0C0;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items:flex-start;
}

.nav {
    grid-area: nav;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
}

.main {
    grid-area: main;
    padding: 20px;
}

.sidebar {
    grid-area: sidebar;
    background: #f8f9fa;
    padding: 20px;
}

.footer {
    grid-area: footer;
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Navigation grid */
.nav-menu {
    display: grid;
    grid-template-rows: repeat(auto-fit, 50px);
    gap: 5px;
}

.nav-item {
    display: grid;
    place-items: center;
}
