.app-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.app-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #123047;
    text-decoration: none;
    white-space: nowrap;
}
.app-brand > i {
    font-size: 26px;
}
.app-brand > span {
    font-size: 20px;
    font-weight: 700;
}
.app-brand > small {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}
.app-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 2;
    justify-self: center;
}
.app-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.app-nav a:hover {
    background: #f1f5f9;
    color: #123047;
}
.app-nav a.active {
    background: #123047;
    color: #ffffff;
}
.app-logout-form {
    grid-column: 3;
    justify-self: end;
    margin: 0;
}
.app-logout-button {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.app-logout-button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
@media (max-width: 1050px) {
    .app-header-inner {
        grid-template-columns: 1fr auto;
        row-gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .app-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .app-logout-form {
        grid-column: 2;
        grid-row: 1;
    }
}
