#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
    z-index: 200;
}

#header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

#header-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

#logo {
    display: block;
    height: 30px;
    width: auto;
}

#playbook-wordmark {
    display: block;
    height: 50px;
    width: auto;
}

#header-menu {
    position: relative;
}

#menu-button {
    background-color: #ffffff;
    color: #263238;
    font-family: 'Open Sans', sans-serif;
    font-stretch: 87.5%;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 12px;
    border: none;
    border-radius: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
}

#menu-button:active {
    transform: scale(0.95);
}

#menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 140px;
    z-index: 300;
}

#menu-dropdown.open {
    display: block;
}

#menu-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #263238;
    font-family: 'Open Sans', sans-serif;
    font-stretch: 87.5%;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.1s ease;
}

#menu-dropdown a:hover {
    background-color: #f0f4f8;
}

#menu-dropdown a + a {
    border-top: 1px solid #e8ecef;
}

#get-cards-button,
.header-auth-button {
    background-color: #ffffff;
    color: #263238;
    font-family: 'Open Sans', sans-serif;
    font-stretch: 87.5%;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 12px;
    border: none;
    border-radius: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
}

#get-cards-button:active,
.header-auth-button:active:not(:disabled) {
    transform: scale(0.95);
}

.header-auth-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.header-auth-button:disabled {
    cursor: wait;
    opacity: 0.72;
}
