.navbar,
.navbar * {
    box-sizing: border-box;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 8px clamp(12px, 3vw, 24px);
    border-bottom: 1px solid #ffb780;
    background: #f3f3df;
}

.navbar::before {
    content: "";
    flex: 0 0 44px;
}

.navbar-title {
    flex: 1 1 auto;
    min-width: 0;
    color: #000;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.logout {
    flex: 0 0 44px;
    margin: 0;
    text-align: right;
}

.logout form {
    display: inline-flex !important;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 4px !important;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
}

.logout-btn:hover,
.logout-btn:focus-visible {
    background: rgba(0, 0, 0, 0.08);
}

.logout-btn img {
    display: block;
    width: 34px;
    height: 34px;
}

@media (max-width: 420px) {
    .navbar {
        gap: 6px;
        padding-inline: 8px;
    }

    .navbar-title {
        font-size: 0.95rem;
    }
}
