* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

}

body {
    font-size: 16px;
    font-family: 'Encode Sans', sans-serif;
    line-height: 1.5;
    margin: 0;
    color: #101820;
    background-color: #ffffff;
}

.fa {
    font-size: 1.35em;
    left: 0;
    position: absolute;
    top: 1px;
    float: left;
    margin-right: 10px;
    font: normal;
}

.alert-error {
    background-color: #ffffff;
    border-color: oklch(0.577 0.245 27.325);
    color: #101820;
    border-radius: 0.625rem;
    padding: 16px;
}

a {
    text-decoration: none;
    color: #006eb7;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

.login-pf .container {
    background-color: transparent;
    display: flex;
}

.login-pf a:hover {
   text-decoration: none !important;
}


#kc-content {
    text-align: center;
    padding: 15px 17px 80px;
    position: relative;
}

#kc-attempted-username {
    font-size: 20px;
    font-family: inherit;
    font-weight: normal;
    padding-right: 10px;
}

#kc-username {
    text-align: center;
}

#kc-reset-password-form {
    max-width: 500px;
}

#username {
    margin-top: 1rem;
}

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
    display: none;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
    font-size: 24px;
}

#kc-registration {
    margin-bottom: 15px;
}

/* TOTP */

.subtitle {
    text-align: right;
    margin-top: 30px;
    color: #909090;
}

.required {
    color: #CB2915;
}

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width: 150px;
    max-height: 150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.kc-login-tooltip {
    position: relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text {
    top: -3px;
    left: 160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width: 130px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    padding: 5px;

    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity: 0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.zocial,
a.zocial {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}

.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}


.login-pf-page .login-pf-brand {
    margin-top: 20px;
    max-width: 360px;
    width: 40%;
}

.login-pf-header {
    display: none ! important;
}

.login-pf-page {
    padding-top: 0;
}

.card-pf {
    background: #fff;
    margin: 0 auto;
    padding: 0 20px;
    border-top: 0;
    box-shadow: 0 0 0;
}

.login-pf-page .card-pf {
    padding-top: 0px;
}

.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}



.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

.login-pf-page .btn-primary {
    margin-top: 0;
}

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}

.login-pf-page .card-pf {
    padding: 0;
}


.login-pf body {
    background: white;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

#kc-back {
    margin-top: 5px;
}

form#kc-select-back-form div.login-pf-social-section {
    padding-left: 0px;
    border-left: 0px;
}

#kc-form {
    max-width: 375px;
    margin: auto;
}

#form-login-text {
    color: #007436;
    text-align: center;
    margin: 0;
    font-weight: 800;
    font-size: 1.875rem;
    line-height: 125%;
    font-family: 'Encode Sans Semi Expanded', 'Encode Sans', sans-serif;
    padding: 0;
}

@media (min-width: 768px) {
    #form-login-text {
        font-size: 2.75rem;
        /* md:text-[2.75rem] - desktop (44px) */
    }
}

.assari-role-selector-wrapper {
    position: relative;
    display: inline-block;
}

.assari-role-selector-button {
    padding: 0.25rem 1rem !important;
    /* Mobile padding - override nav-item */
}

@media (min-width: 1024px) {
    .assari-role-selector-button {
        padding: 10px 20px !important;
        /* Desktop padding - override nav-item */
    }
}

.assari-role-selector-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.assari-role-selector-arrow {
    width: 25px;
    height: 24px;
    transition: transform 0.2s ease;
    color: currentColor;
}

.assari-role-selector-button[aria-expanded="true"] .assari-role-selector-arrow {
    transform: rotate(180deg);
}

.assari-role-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e9e9ed;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 14rem;
    z-index: 1000;
    overflow: hidden;
    padding: 4px;
}

.assari-role-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    text-decoration: none;
    color: #26224e;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    transition: background-color 0.2s ease;
    border-radius: 0;
    outline: none;
}

.assari-role-dropdown-item:focus-visible {
    background-color: #ddf5dc;
    color: #26224e;
    outline: none;
    box-shadow: 0 0 0 1px #26224e;
}

.assari-role-dropdown-item:hover {
    background-color: #ddf5dc;
    color: #26224e;
}

.assari-role-dropdown-item-border {
    border-bottom: 1px solid #e9e9ed;
}

.assari-role-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


#form-password-text {
    color: #101820;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 24px;
    font-family: 'Encode Sans', sans-serif;
    padding-top: 10px;
    margin-top: 150px;
}
.form-horizontal,
.form-login {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border: 1px solid #E9E9ED;
    width: 100%;
    gap: 1rem;
}

.form-new-password {
    padding: 0 15%;
    display: grid;
}

.form-group {
    display: flex;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 150%;
    color: #26224e;
    font-family: 'Encode Sans', sans-serif;
    cursor: pointer;
    text-align: left;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
}

.form-control {
    border: 1px solid #26224E;
    color: #101820;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    width: 100%;
    min-height: 2.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    background-color: #ffffff;
    font-family: 'Encode Sans', sans-serif;
    outline: none;
}

.form-control::placeholder {
    color: #6A6A6A;
}

.form-control:focus {
    outline: 2px solid #006eb7 !important;
    outline-offset: 2px;
}

.link-container {
    margin-top: 15px;
    text-align: center;
    font-family: 'Encode Sans', sans-serif;
}

.link-container a {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Encode Sans', sans-serif;
    color: #006eb7;
}

.link-container a:hover {
    color: #007436;
}


#kc-page-title {
    display: none;
}

#kc-login {
    background: #007436;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.62rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 1rem;
    font-family: 'Encode Sans', sans-serif;
}

#kc-login:hover {
    background: #006EB7;
    text-decoration: underline;
}

.login-button-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: currentColor;
    flex-shrink: 0;
}

#kc-submit {
    background: #007436;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.62rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 1rem;
    font-family: 'Encode Sans', sans-serif;
}

#kc-submit:hover {
    background: #006EB7;
    text-decoration: underline;
}

#assari-info-message {
    font-size: 24px;
    margin-top: 120px;
}

.login-pf-page .login-pf-page-header {
    margin-bottom: 0px;
}

#kc-header {
    display: none;
}

#assari-wrapper {
    display: grid;
    min-height: 100vh;
    overflow: hidden;
}

.assari-header {
    border-bottom: 1px solid rgba(38, 34, 78, 0.1);
    padding: 24px 24px 16px;
    background: #ffffff;
}

.assari-header-nav {
    width: 100%;
    background: #ffffff;
}

.assari-header-container {
    margin: 0 auto;
    max-width: 90rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.assari-logo-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.assari-logo-desktop {
    display: none;
    width: 311px;
    height: 56px;
}

.assari-logo-mobile {
    display: block;
    width: 33px;
    height: 40px;
}

.assari-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
}

.assari-header-nav-items {
    display: none;
    align-items: center;
    gap: 12px;
}

.assari-role-selector-wrapper {
    display: none;
    position: relative;
}

.assari-nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 16px;
    line-height: 160%;
    font-weight: 700;
    font-family: 'Encode Sans', sans-serif;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.assari-nav-item-outline {
    border: 2px solid #26224e;
    color: #26224e;
    background: transparent;
}

.assari-nav-item-outline:hover {
    background: #26224e;
    color: #ffffff;
}

.assari-nav-item-primary {
    border: 2px solid #26224e !important;
    color: #ffffff !important;
    background: #26224e !important;
}

.assari-nav-item-primary:hover {
    background: #ffffff !important;
    color: #26224e !important;
}

.assari-nav-item-primary:focus-visible {
    outline: 2px solid #26224e;
    outline-offset: 2px;
}

.assari-mobile-menu-button {
    background: #26224e;
    height: 40px;
    width: 40px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    padding: 0;
    line-height: 1;
}

.assari-menu-icon-open,
.assari-menu-icon-close {
    width: 24px;
    height: 24px;
    color: currentColor;
    display: block;
}

.assari-mobile-menu {
    position: absolute;
    top: calc(var(--header-h, 80px));
    left: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #ffffff;
    padding: 24px;
    width: 100%;
}

.assari-mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.assari-mobile-menu-item {
    display: block;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-family: 'Encode Sans', sans-serif;
    text-decoration: none;
    color: #26224e;
    border: 2px solid #26224e;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.assari-mobile-menu-item:hover {
    background: #26224e;
    color: #ffffff;
}

.assari-error {
    color: oklch(0.577 0.245 27.325);
}

.assari-success {
    color: #007436;
    float: left;
}


.assari-breadcrumbs {
    width: 100%;
    padding-top: 2rem;
}

.assari-breadcrumbs-container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.assari-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6A6A6A;
    font-family: 'Encode Sans', sans-serif;
}

.assari-breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.assari-breadcrumbs-link {
    color: #6A6A6A;
    text-decoration: underline;
    line-height: 150%;
    transition: color 0.2s ease;
}

.assari-breadcrumbs-link:hover {
    color: #007436;
}

.assari-breadcrumbs-separator {
    color: #6A6A6A;
    user-select: none;
}

.assari-breadcrumbs-page {
    color: #007436;
    font-weight: 600;
    line-height: 150%;
    cursor: default;
}

#assari-content {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 1rem 8rem;
}

.content-password {
    padding-bottom: 0;
}

#kc-password-forgotten {
    margin-left: 20%;
}

#kc-registration {
    margin-left: 35%;
}

#kc-error-message {
    font-size: 24px;
}

#assari-footer {
    background: #26224e;
    color: #ffffff;
    position: relative;
    padding: 0;
}

.assari-footer-banner {
    position: absolute;
    top: 0;
    right: 0;
    width: 105px;
    height: 76px;
    transform: translateY(-50%);
}

.assari-footer-container {
    position: relative;
    margin: 0 auto;
    max-width: 90rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
}

.assari-footer-section {
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.assari-footer-heading {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    font-family: 'Encode Sans', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.assari-footer-emergency-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assari-footer-emergency-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.assari-footer-emergency-label {
    color: #ffffff;
    font-size: 0.875rem;
    font-family: 'Encode Sans', sans-serif;
}

.assari-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assari-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assari-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: 'Encode Sans', sans-serif;
}

.assari-footer-icon {
    width: 16px;
    height: 17px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.assari-footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.875rem;
    font-family: 'Encode Sans', sans-serif;
}

.assari-footer-link:hover {
    text-decoration: underline;
}

.assari-footer-opening-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assari-footer-hours-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assari-footer-hours-item p {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0;
    font-family: 'Encode Sans', sans-serif;
}

.assari-footer-hours-item strong {
    font-weight: 600;
}


#assari-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding-top: 2rem;
}

#assari-content-wrapper a {
    color: #007436;
}



.alert-success {
    border: #007436 solid 1px;
    background-color: #ddf5dc;
    padding: 16px;
    font-size: 16px;
    border-radius: 0.625rem;
    color: #101820;
}

.alert-error .pficon {
    position: initial;
}

.alert-warning {
    position: absolute;
    color: #006eb7;
    top: 200px;
    width: 100%;
    text-align: center;
    border-color: #006eb7;
    background-color: transparent;
    border: none;
    font-family: 'Encode Sans', sans-serif;
    font-size: 20px;
    border-radius: 0.625rem;
}

.alert-warning .pficon {
    position: initial;
    display: none;
}

#kc-terms-text {
    text-align: center;
    font-size: 24px;
}

#kc-accept {
    background-color: #007436;
    background-image: none;
    border-color: #007436;
    margin-right: 100px;
    border-radius: 0.625rem;
    transition: background-color 0.2s ease;
}

#kc-accept:hover {
    background-color: #134833;
    border-color: #134833;
}

#assari-terms {
    display: flex;
    justify-content: center;
}

#assari-terms input {
    font-size: 24px;
}

.help-container {
    font-size: 16px;
    max-width: 350px;
    display: inline-block;
    line-height: 1.667em;
}

.divider {
    border-bottom: 2px solid #e9e9ed;
    width: 85px;
    height: 21px;
    display: inline-block;
    margin-bottom: 6px;
}


@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-width: 767px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
    }

    .card-pf.login-pf-accounts {
        max-width: none;
    }

    .form-login {
        min-width: initial;
    }

        .assari-breadcrumbs {
            padding-top: 1rem;
            padding-bottom: 1rem;
        }
}

@media (min-width: 768px) {
    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }

    .assari-footer-container {
        flex-direction: row;
    }

    .assari-footer-heading {
        font-size: 1.3125rem;
    }
}

@media (max-width: 767px) {
    #assari-footer {
        padding: 0;
    }

    #assari-content {
        padding: 0 1rem 3rem;
    }

    .assari-footer-container {
        padding: 32px 24px;
    }
}


@media (min-width: 1024px) {
    .assari-logo-desktop {
        display: block;
    }

    .assari-logo-mobile {
        display: none;
    }

    .assari-header-nav-items {
        display: flex;
    }

    .assari-mobile-menu-button {
        display: none;
    }
}

/* Role selector is ALWAYS visible - both mobile and desktop */
.assari-role-selector-wrapper {
    display: inline-block !important;
}



.bigger-text {
    font-size: 15px;
}