* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;

    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
}

.layout {
    display: flex;

    width: 100%;
    height: 100vh;

    overflow: hidden;
}

.context-switcher {
    margin-bottom: 24px;
}

.context-label {
    display: block;

    margin-bottom: 6px;

    color: #8f98a3;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .06em;
}

.context-select {
    width: 100%;

    padding: 9px 32px 9px 10px;

    border: 1px solid #3a424c;
    border-radius: 6px;

    background: #292f36;
    color: #fff;

    font: inherit;
    font-size: 14px;

    cursor: pointer;

    outline: none;
}

.context-select:hover {
    border-color: #59636f;
}

.context-select:focus {
    border-color: #7b8794;
}

.sidebar {
    width: 240px;
    height: 100vh;

    flex: 0 0 240px;

    display: flex;
    flex-direction: column;

    padding: 24px 16px;

    background: #20252b;
    color: white;

    overflow: hidden;
}

.sidebar-title {
    flex-shrink: 0;

    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 4px;
    color: #cfd4da;
    text-decoration: none;
    border-radius: 6px;
}

.sidebar a:hover,
.sidebar a.active {
    background: #343b44;
    color: white;
}

.content {
    flex: 1;
    min-width: 0;
    height: 100vh;

    padding: 32px;

    overflow-y: auto;
}

.sidebar {
    display: flex;
    flex-direction: column;

    height: 100vh;
}

.sidebar-nav {
    flex: 1;
    min-height: 0;

    overflow-y: auto;
}

.sidebar-footer {
    flex-shrink: 0;

    padding-top: 16px;
    margin-top: 16px;

    border-top: 1px solid #343b44;
}

.sidebar-footer form {
    margin: 0;
}

.logout-button {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 10px 12px;

    border: none;
    border-radius: 6px;

    background: transparent;
    color: #6b7280;

    font: inherit;
    font-size: 14px;

    cursor: pointer;
    text-align: left;
}

.logout-button:hover {
    background: #f3f4f6;
    color: #dc2626;
}

.logout-icon {
    font-size: 17px;
}