body {
    padding-top: 72px;
}

.public-auth-header.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 72px;
    min-height: 72px;
    padding: 0;
    color: #fff;
    background: #6e2a33;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 4px 20px rgba(30, 20, 20, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--hoa-font-body, "Segoe UI", Arial, sans-serif);
}

.public-auth-header.header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a24b 18%, #dfbf70 50%, #c9a24b 82%, transparent);
    content: "";
}

.public-auth-header-inner {
    width: min(100%, 1150px);
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.public-auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #fff;
    text-decoration: none;
    flex: 0 0 auto;
}

.public-auth-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 80px;
    align-self: center;
    position: relative;
    top: 4px;
}

.public-auth-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: scale(1.65);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25));
}

.public-auth-brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1.1;
    text-align: left;
    align-self: center;
}

.public-auth-brand-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
}

.public-auth-brand-subtitle {
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .45px;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
}

.public-auth-header-actions {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.public-auth-header .header-link {
    min-width: 82px;
    height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .45px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.public-auth-header .header-link:focus-visible {
    outline: 3px solid rgba(227, 185, 60, .7);
    outline-offset: 2px;
}

.public-auth-header .header-link:hover {
    color: #69242a;
    background: #fff;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .public-auth-header.header {
        padding: 0 16px;
    }

    .public-auth-header-inner {
        width: 100%;
        padding: 0;
        gap: 12px;
    }

    .public-auth-brand {
        gap: 10px;
        flex: 1 1 auto;
    }

    .public-auth-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .public-auth-brand-text {
        flex: 1 1 auto;
    }

    .public-auth-brand-title {
        font-size: .6875rem;
        letter-spacing: .03em;
        line-height: 1.15;
        white-space: normal;
    }

    .public-auth-brand-subtitle {
        font-size: .5625rem;
        letter-spacing: .03em;
        line-height: 1.2;
        white-space: normal;
    }

    .public-auth-header .header-link {
        min-width: 0;
        height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    /* Address repeats in the page footer; the 72px bar has no room for it on phones */
    .public-auth-brand-subtitle {
        display: none;
    }

    .public-auth-brand-title {
        font-size: .75rem;
    }

    .public-auth-header .header-link {
        padding: 0 7px;
    }
}
