/* CountyShare 1.0 - native Oqtane account controls (2026-11-27). */
/* Keep the real links, localized text and POST logout form intact. */
.navbar .controls-group > :is(a.app-login, a.app-profile[href="/profile"], a.app-profile[href^="/profile?"], button.app-login),
.navbar .controls-group > form.app-login > button[type="submit"] {
    --bs-btn-bg: transparent;
    --bs-btn-color: #79bbf2;
    --bs-btn-border-color: #607a91;
    --bs-btn-hover-bg: #233b48;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: #79bbf2;
    --bs-btn-active-bg: #233b48;
    --bs-btn-active-color: #fff;
    --bs-btn-active-border-color: #79bbf2;
    min-height: 44px;
    background-color: transparent;
    color: #79bbf2;
    border: 1px solid #607a91;
    border-radius: .65rem;
    vertical-align: middle;
}
.navbar .controls-group > :is(a.app-profile[href="/profile"], a.app-profile[href^="/profile?"]) {
    color: #93d65a;
    --bs-btn-color: #93d65a;
}
.navbar .controls-group > :is(a.app-login, a.app-profile[href="/profile"], a.app-profile[href^="/profile?"], button.app-login):is(:hover, :active),
.navbar .controls-group > form.app-login > button[type="submit"]:is(:hover, :active) {
    background-color: #233b48;
    color: #fff;
    border-color: #79bbf2;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
    @media (forced-colors: none) {
        .navbar .controls-group > :is(a.app-login, a.app-profile[href="/profile"], a.app-profile[href^="/profile?"], button.app-login),
        .navbar .controls-group > form.app-login > button[type="submit"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            width: 44px;
            height: 44px;
            padding: 0;
            font-size: 0;
            line-height: 0;
            --cs-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3Cpath d='M5.8 19c.6-3.6 3-5 6.2-5s5.6 1.4 6.2 5'/%3E%3C/svg%3E");
        }
        .navbar .controls-group > form.app-login > button[type="submit"],
        .navbar .controls-group > button.app-login {
            --cs-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h5M10 12h10m-4-4 4 4-4 4'/%3E%3C/svg%3E");
        }
        .navbar .controls-group > :is(a.app-login, a.app-profile[href="/profile"], a.app-profile[href^="/profile?"], button.app-login)::before,
        .navbar .controls-group > form.app-login > button[type="submit"]::before {
            content: "";
            display: block;
            width: 24px;
            height: 24px;
            background-color: currentColor;
            -webkit-mask: var(--cs-account-icon) center / contain no-repeat;
            mask: var(--cs-account-icon) center / contain no-repeat;
        }
    }
}
/* Native edit and control-panel controls are intentionally untouched. */
