/* Keep the secure POST control visually identical to the existing menu links.
   Version this stylesheet URL in all three headers when changing these rules:
   the legacy shared stylesheet can remain in browser caches for one week. */
.navbar .dropdown-menu .logout-form {
    display: block;
    margin: 0;
    padding: 0;
}

.navbar .dropdown-menu .logout-button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 6px 16px;
    border: 0;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #777;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: left;
    text-transform: capitalize;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 200ms ease-in;
}

.navbar .dropdown-menu .logout-button:hover,
.navbar .dropdown-menu .logout-button:focus {
    color: #777;
    background-color: #f5f5f5;
}

.navbar .dropdown-menu .logout-button:focus-visible {
    /* The legacy theme contains :focus { outline: 0 !important }. */
    outline: 2px solid #2766ac !important;
    outline-offset: -2px;
}

@media (max-width: 767px) {
    .navbar .navbar-nav .open .dropdown-menu .logout-button {
        padding: 12px 24px;
        line-height: 20px;
    }
    .navbar .navbar-nav .open .dropdown-menu .logout-button:hover,
    .navbar .navbar-nav .open .dropdown-menu .logout-button:focus {
        color: #333;
        background-color: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar .dropdown-menu .logout-button { transition: none; }
}
