/*
 * Brandborg overrides. Loaded only after the rebrand is active, so the
 * compiled Rodenburg stylesheet stays as it is until then.
 * Green surfaces become #2F2A95. Green text, links and highlights become #CC9100.
 */

html.is-brandborg body {
    font-family: Inter, Calibri, "Segoe UI", sans-serif;
    color: #000000;
}

html.is-brandborg h1,
html.is-brandborg h2,
html.is-brandborg h3,
html.is-brandborg h4,
html.is-brandborg h5,
html.is-brandborg h6 {
    font-family: "Helvetica Neue", Helvetica, Calibri, sans-serif;
    color: #000000;
}

html.is-brandborg body,
html.is-brandborg #app,
html.is-brandborg main.bg-gray-100,
html.is-brandborg .bg-gray-lightest {
    background-color: #F1F1F1;
}

html.is-brandborg .bg-primary,
html.is-brandborg .hover\:bg-primary:hover,
html.is-brandborg .btn:hover,
html.is-brandborg .btn-small:hover {
    background-color: #2F2A95;
}

html.is-brandborg .multiselect__option--highlight,
html.is-brandborg .multiselect__tag {
    background-color: #2F2A95 !important;
}

html.is-brandborg .text-primary,
html.is-brandborg .border-primary,
html.is-brandborg a:hover svg {
    color: #CC9100;
    border-color: #CC9100;
}

html.is-brandborg a {
    color: #CC9100;
}

html.is-brandborg a:hover {
    color: #000000;
}

html.is-brandborg .hover\:text-secondary:hover {
    color: #000000;
}

html.is-brandborg .text-black {
    color: #000000;
}

html.is-brandborg .bg-primary a,
html.is-brandborg .bg-primary a:hover,
html.is-brandborg a.text-white,
html.is-brandborg a.text-white:hover,
html.is-brandborg a.bg-primary,
html.is-brandborg a.bg-primary:hover {
    color: #ffffff;
}

html.is-brandborg .bg-primary .bg-white a,
html.is-brandborg .bg-primary .bg-white a:hover {
    color: #000000;
    background-color: transparent;
}

html.is-brandborg .bg-primary .bg-white a:hover {
    color: #ffffff;
    background-color: #2F2A95;
}

html.is-brandborg .hover\:bg-blue-500:hover {
    background-color: #2F2A95;
}

html.is-brandborg .app-breadcrumbs > ol > li:not(.text-gray-500),
html.is-brandborg .app-breadcrumbs a,
html.is-brandborg .app-breadcrumbs a:hover {
    color: #CC9100;
}

html.is-brandborg a.bg-gradient-to-b,
html.is-brandborg a.bg-gradient-to-b:hover {
    background-image: none;
    background-color: #ffffff;
    color: #000000;
    border-color: #d9d9d9;
    text-decoration: none;
}

html.is-brandborg .brand-logo {
    display: block;
    width: auto;
    height: 2rem;
    max-width: 100%;
    margin-right: 1.25rem;
}

html.is-brandborg .brand-logo--login {
    height: 3.5rem;
    margin-left: auto;
    margin-right: auto;
}

html.is-brandborg .brand-auth button,
html.is-brandborg .brand-auth button:hover,
html.is-brandborg .brand-auth button:focus {
    background-image: none;
    background-color: #ffffff;
    color: #CC9100;
    border: 1px solid #CC9100;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.4rem 1.15rem;
    box-shadow: none;
}

html.is-brandborg .brand-auth button:hover,
html.is-brandborg .brand-auth button:focus {
    background-color: #CC9100;
    color: #000000;
}

html.is-brandborg .brand-auth label.block > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html.is-brandborg .brand-auth input.form-input {
    margin-top: 0;
    background: #ffffff;
    border-color: #d9d9d9;
    color: #000000;
}

html.is-brandborg .brand-auth input.form-input:focus {
    border-color: #CC9100;
    box-shadow: 0 0 0 1px #CC9100;
    outline: none;
}

html.is-brandborg .brand-auth input.form-input::placeholder {
    color: #9a9a9a;
}

html.is-brandborg .brand-auth a.text-gray-600,
html.is-brandborg .brand-auth a.text-gray-600:hover {
    color: #000000;
    text-decoration: underline;
}

html.is-brandborg .brand-auth > div > a {
    text-decoration: none;
}

html.is-brandborg .brand-login-notice {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    color: #000000;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.9375rem;
    line-height: 1.5;
}

html.is-brandborg .brand-login-notice p {
    margin: 0;
}

html.is-brandborg .brand-login-notice a,
html.is-brandborg .brand-login-notice a:hover {
    color: #CC9100;
    text-decoration: underline;
}

.brand-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.45);
}

.brand-modal[hidden] {
    display: none !important;
}

.brand-modal__card {
    width: 100%;
    max-width: 32rem;
    background: #ffffff;
    color: #000000;
    border-radius: 0.5rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    font-family: Inter, Calibri, "Segoe UI", sans-serif;
}

.brand-modal__card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
}

.brand-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    background: #ffffff;
    color: #CC9100;
    border: 1px solid #CC9100;
    border-radius: 9999px;
    font-family: Inter, Calibri, "Segoe UI", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.45rem 1.15rem;
    cursor: pointer;
}

.brand-modal__button:hover,
.brand-modal__button:focus {
    background: #CC9100;
    color: #000000;
    outline: none;
}
