* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

.full-screen-container {
    margin: 0px;
    padding: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-top: 30px;
}

.full-screen-container-web {
    background-color: var(--omk-colour-background-alternate-high-contrast);
}

.full-screen-container-mobile {
    background-color: var(--omk-colour-container-primary-resting);
}

@media (min-width: 769px) {
    .background {
        position: absolute;
        inset: 0;
        z-index: -10;
        background-image: url('data:image/svg+xml,<svg width="1440" height="1018" viewBox="0 0 1440 1018" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_7054_51514)"><mask id="mask0_7054_51514" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="914" y="-679" width="630" height="1298"><rect x="914" y="-679" width="630" height="1297.06" fill="white"/></mask><g mask="url(%23mask0_7054_51514)"><path fill-rule="evenodd" clip-rule="evenodd" d="M914 401.878L1117.76 185.698L1321.5 -30.2736L1117.76 -30.2737L1321.5 -246.431L1525.05 -462.611L1729.01 -679L1932.94 -679L1729.01 -462.611L1525.05 -246.431L1729.01 -246.431L1932.94 -246.431L2133.23 -459.365L2133.23 -243.208L1932.94 -30.2736L1729.01 185.698L1729.01 -30.2736L1525.05 -30.2736L1321.5 185.698L1117.76 401.878L914 618.059L914 401.878ZM1323.02 401.978L1526.2 185.895L1729.78 401.978L1933.3 185.895L2133.24 -26.5259L2133.24 189.557L1933.3 401.978L1729.78 618.061L1526.2 401.978L1323.02 618.061L1119.68 618.061L1323.02 401.978Z" fill="url(%23paint0_linear_7054_51514)" fill-opacity="0.05"/></g><mask id="mask1_7054_51514" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-129" y="443" width="630" height="1298"><rect x="501" y="1740.06" width="630" height="1297.06" transform="rotate(-180 501 1740.06)" fill="white"/></mask><g mask="url(%23mask1_7054_51514)"><path fill-rule="evenodd" clip-rule="evenodd" d="M501 659.18L297.236 875.361L93.5044 1091.33L297.236 1091.33L93.5044 1307.49L-110.047 1523.67L-314.008 1740.06L-517.935 1740.06L-314.008 1523.67L-110.047 1307.49L-314.008 1307.49L-517.935 1307.49L-718.235 1520.42L-718.235 1304.27L-517.935 1091.33L-314.008 875.361L-314.008 1091.33L-110.047 1091.33L93.5044 875.361L297.236 659.18L501 443L501 659.18ZM91.979 659.081L-111.202 875.163L-314.775 659.081L-518.299 875.163L-718.235 1087.58L-718.235 871.502L-518.299 659.08L-314.775 442.998L-111.202 659.081L91.9791 442.998L295.324 442.998L91.979 659.081Z" fill="url(%23paint1_linear_7054_51514)" fill-opacity="0.05"/></g></g><defs><linearGradient id="paint0_linear_7054_51514" x1="1523.62" y1="618.061" x2="1523.62" y2="-679" gradientUnits="userSpaceOnUse"><stop offset="1" stop-color="%233F9339"/></linearGradient><linearGradient id="paint1_linear_7054_51514" x1="-108.617" y1="442.998" x2="-108.617" y2="1740.06" gradientUnits="userSpaceOnUse"><stop offset="1" stop-color="%2341943B"/></linearGradient><clipPath id="clip0_7054_51514"><rect width="1440" height="1018" fill="white"/></clipPath></defs></svg>');
        background-size: cover;
        background-position: center;
    }
}

.header-spacer {
    margin-top: 46px;
}

.login-banner {
    width: 100%;
    max-width: 980px;
    margin-top: 24px;
}

.banner-msg-item {
    margin-top: 3px;
}

.card-base {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--omk-colour-container-primary-resting);
    padding: 2rem 2.5rem;
    max-width: 100%;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .card-base {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    .card-base.card-small {
        max-width: 680px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
    }

    .card-base.card-large {
        max-width: 980px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
    }
}

.card-content {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 445px;
    width: 100%;
}

.large-card-content {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.text-light-grey {
    color: var(--omk-colour-text-secondary-resting);
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 700 !important;
}

.text-green {
    color: var(--omk-colour-text-success-resting);
}

.text-regular {
    font-weight: 400;
}

.text-large {
    font-size: 24px;
}

.text-medium {
    font-size: 16px;
}

.text-small {
    font-size: 14px;
}

.text-tiny {
    font-size: 12px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 50;
    padding-left: .5rem;
    padding-right: .5rem;
}

.header-bar-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.logo {
    margin-top: 2.5rem;
    margin-left: 1rem;
    height: 104px;
    width: 64px;
}

@media (max-width: 768px) {
    .button-group {
        align-items: center;
        justify-content: center;
        display: flex;
        position: fixed;
        bottom: 0;
        z-index: 50;
        padding: 1rem;
        margin-top: 1rem;
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        background-color: var(--omk-colour-container-primary-resting);
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 769px) {
    .button-group {
        align-items: center;
        justify-content: center;
        display: flex;
        padding: 0.5rem;
        margin-top: 1rem;
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        background-color: var(--omk-colour-container-primary-resting);
    }
}

.empty-space {
    display: flex;
    flex: 1;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0rem 2.5rem;
    gap: 28px;
}

.plain-link {
    color: var(--omk-colour-text-primary-resting);
    text-decoration: none;
    font-weight: 400;
    text-align: center;
}

.plain-link:hover,
.plain-link:active,
.plain-link:focus {
    color: inherit;
    background-color: transparent;
}

ul.toast-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 16px;
    bottom: 48px;
    left: 48px;
    width: 360px;
    margin: 0;
    padding: 0;
}

ul.toast-container li.toast-notification {
    background: #494263;
    color: white;
    border-radius: 4px;
    padding: 16px;
    list-style: none;
    box-shadow: 0px 6px 10px 0px #00000024;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.input-wrapper {
    position: relative;
}

.input-bottom-container {
    display: flex;
    justify-content: end;
    align-items: start;
    padding: 0px 16px;
    margin-top: 4px;
}

.danger {
    color: var(--omk-colour-text-danger-resting);
}

.tooltip-text {
    margin-top: 4px;
    font-size: 12px;
}

.hide-show {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.show-password-icon,
.hide-password-icon {
    width: 20px;
    height: 20px;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
    width: 100%;
    gap: 32px;
}

omk-button {
    max-width: 340px;
    width: 100%;
    flex-direction: column;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--omk-colour-border-primary-resting);
    margin-top: 24px;
    margin-bottom: 24px;
}

.portal-title-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
}

.portal-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

.portal-links-set-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portal-links-set-container div {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    flex: 1;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.portal-links-set-container div:hover {
    opacity: 0.6;
}

.portal-links-set-container omk-icon {
    --omk-icon-size: 18px;
    margin-left: 8px;
}

#error-overflow omk-icon {
    --omk-icon-size: 72px;
    color: var(--omk-colour-text-danger-resting);
}

@media (min-width: 769px) {
    .portal-links-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .portal-links-set-container {
        width: 100%;
    }

    .portal-links-set-container div {
        width: 100%;
    }
}

.ping-messages {
    margin-top: 24px;
}

.spacer-small {
    min-height: 12px;
    min-width: 12px;
}

.spacer {
    min-height: 24px;
    min-width: 24px;
}

.error-links-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0px 16px;
    width: 350px;
    margin-top: 24px;
}

.locked-account-assistance-container {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    margin-bottom: 32px;
    font-size: 16px;
}

.locked-account-assistance-actions {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.centered-loader {
    width: 74px;
    height: 74px;
    animation: rotate 2s linear infinite;
}

.centered-loader svg {
    width: 100%;
    height: 100%;
}

.centered-loader circle {
    stroke: rgb(63, 147, 57);
    stroke-linecap: round;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

.loader-container {
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    gap: 24px;
    background-color: #f2f2f2;
}

.loader-text {
    margin-top: 0;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 100, 200;
        stroke-dashoffset: -15;
    }

    100% {
        stroke-dasharray: 100, 200;
        stroke-dashoffset: -125;
    }
}