/* BankID login styles shared by all layouts that show BankID (pages that load site.css).
   The design tokens come from site.css; the fallbacks are used on pages that don't load it. */

.bankID-button {
    font-size: 18px;
    font-family: var(--font-bankid, 'Roboto', sans-serif);
    line-height: 24px;
    height: 48px;
    width: 100%;
    max-width: 450px;
    background-color: #39134C;
    border-color: #39134C;
    border-radius: 24px;
    border-style: solid;
    color: white;
    padding: 0 24px;
    margin-top: 20px;
}

.bankID-button:hover {
    background-color: #470D70;
    border-color: #39134C;
}

.bankID-button img {
    width: 30px;
    height: 30px;
    margin-right: 14px;
}

/* Swedish BankID (designer's button): white logo on BankID blue, full width with square corners.
   The text must use the page font, and the logo file includes its own required clear space. */
.bankID-button-se {
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    height: 56px;
    max-width: none;
    border-radius: 0;
    background-color: #183E4F;
    border-color: #183E4F;
    color: white;
}

.bankID-button-se:hover {
    background-color: #122F3B;
    border-color: #122F3B;
}

.bankID-button-se img {
    width: auto;
    height: 44px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Finnish bank login (via Telia): there is no common brand to follow, so the button uses the ID portal's
   outlined button design - page font, default border and corner radius - with primary blue text and a bank icon,
   so it stays distinct from the solid login button above it. */
.bankID-button-fi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    height: 44px;
    max-width: none;
    padding: 0 16px;
    border-width: 2px;
    border-radius: var(--border-radius-default, 8px);
    background-color: transparent;
    border-color: var(--color-border-default, #E2E8F0);
    color: var(--color-button-background-primary, #00407F);
}

.bankID-button-fi:hover {
    background-color: var(--color-body-background-default, #F8FAFC);
    border-color: var(--color-border-default, #E2E8F0);
}

.bankID-button-fi:active {
    background-color: var(--color-body-background-default, #F8FAFC);
    box-shadow: inset 0 0 0 2px var(--color-border-default, #E2E8F0);
}

.bankID-button-fi .material-symbols-outlined {
    font-size: 22px;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

.separator span {
    padding: 0 0.5em;
    background-color: transparent;
}

.info-container {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--color-info-border, #9FDDFC);
    background: var(--color-info-surface, #EAF8FE);
    color: var(--color-info-text, #1C6E97);
    font-size: var(--font-size-base, inherit);
}

.info-container .info-heading {
    font-weight: 600;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.info-container .info-heading .material-symbols-outlined {
    margin-right: 8px;
}
