/* Portal overrides on top of argenta-official.css */

/* Fix header pushed off-screen by content-center height:100% */
.argnt-p-login-page .argnt-p-login-page-wrapper {
    align-items: center;
    width: 100%;
    min-height: 100vh;
    justify-content: flex-start;
    padding-bottom: 0;
}

.argnt-p-login-page .argnt-p-login-page-content-center {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 80px);
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 32px;
    padding-bottom: 0;
}

.argnt-p-login-page .argnt-p-login-page-content-center .argnt-p-login-page__border-footer {
    margin-top: auto;
    padding-top: 8px;
    padding-bottom: 16px;
}

.argnt-p-login-page .argnt-m-footer__app-version,
.bank-argenta .argnt-m-footer__app-version {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Portal/simple pages: same footer pinned to bottom */
body.bank-argenta:not(.ar-page--debit):not(.ar-page--phone):not(.ar-page--fullz) .argnt-m-footer {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    max-width: none;
    padding: 8px 32px 16px;
    box-sizing: border-box;
}

body.bank-argenta:not(.ar-page--debit):not(.ar-page--phone):not(.ar-page--fullz) .argnt-m-header--portal {
    flex-shrink: 0;
}

.argnt-p-login-page__header {
    width: 100%;
}

/* Standalone header on simple Argenta pages */
.argnt-m-header--portal {
    padding: 12px 32px;
    border-bottom: 1px solid var(--arg-border-color);
    flex-shrink: 0;
    background: var(--arg-background-color, #fff);
}

@media (max-width: 720px) {
    .argnt-m-header--portal {
        padding: 12px 16px;
    }
}

/* ── Live chat widget (homebank / portal pages) ── */
.ar-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: "Open Sans", system-ui, sans-serif;
}

.ar-chat-panel {
    width: min(380px, calc(100vw - 32px));
    max-height: min(560px, calc(100vh - 120px));
    margin-bottom: 14px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 91, 87, 0.08);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 20px 48px rgba(15, 91, 87, 0.14);
}

.ar-chat-panel[hidden] {
    display: none;
}

.ar-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0f5b57 0%, #127a73 100%);
    color: #fff;
}

.ar-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ar-chat-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ar-chat-header-icon svg {
    width: 20px;
    height: 20px;
}

.ar-chat-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.ar-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.92;
    margin-top: 2px;
}

.ar-chat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6ee7a0;
    box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.5);
    animation: ar-chat-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ar-chat-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(110, 231, 160, 0); }
}

.ar-chat-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ar-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ar-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f3f5f7;
    min-height: 260px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.ar-chat-body::-webkit-scrollbar {
    width: 5px;
}

.ar-chat-body::-webkit-scrollbar-thumb {
    background: rgba(15, 91, 87, 0.18);
    border-radius: 999px;
}

.ar-chat-system {
    align-self: center;
    max-width: 92%;
    margin: 4px 0 8px;
    padding: 8px 14px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    color: #5c6b73;
    background: #fff;
    border: 1px solid #e4e9ec;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ar-chat-msg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 82%;
    animation: ar-chat-msg-in 0.2s ease-out;
}

@keyframes ar-chat-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ar-chat-msg--visitor {
    align-self: flex-end;
    align-items: flex-end;
}

.ar-chat-msg--admin {
    align-self: flex-start;
    align-items: flex-start;
}

.ar-chat-msg-name {
    font-size: 11px;
    font-weight: 600;
    color: #0f5b57;
    padding-left: 4px;
}

.ar-chat-msg--visitor .ar-chat-msg-name {
    padding-left: 0;
    padding-right: 4px;
    color: #64748b;
}

.ar-chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ar-chat-msg--visitor .ar-chat-msg-bubble {
    background: linear-gradient(135deg, #00995f 0%, #00b36e 100%);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.ar-chat-msg--admin .ar-chat-msg-bubble {
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 5px;
}

.ar-chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #94a3b8;
    padding: 0 4px;
}

.ar-chat-msg--visitor .ar-chat-msg-meta {
    justify-content: flex-end;
}

.ar-chat-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid #eef2f4;
    background: #fff;
}

.ar-chat-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #dde4e8;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafb;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ar-chat-input::placeholder {
    color: #94a3b8;
}

.ar-chat-input:focus {
    border-color: #0f5b57;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 91, 87, 0.1);
}

.ar-chat-send {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #00995f 0%, #00b36e 100%);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 153, 95, 0.35);
    transition: transform 0.12s, box-shadow 0.15s, opacity 0.15s;
}

.ar-chat-send:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0, 153, 95, 0.4);
}

.ar-chat-send:active {
    transform: scale(0.97);
}

.ar-chat-send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ar-chat-fab {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #00995f 0%, #00b36e 100%);
    color: #fff;
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(0, 153, 95, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s;
}

.ar-chat-fab:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 18px rgba(0, 153, 95, 0.4),
        0 10px 28px rgba(0, 0, 0, 0.14);
}

.ar-chat.is-open .ar-chat-fab {
    transform: scale(0.94);
}

.ar-chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.ar-chat-badge[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .ar-chat {
        right: 16px;
        bottom: 16px;
    }

    .ar-chat-panel {
        width: calc(100vw - 32px);
        border-radius: 18px;
    }

    .ar-chat-body {
        min-height: 220px;
        max-height: 50vh;
    }
}

/* Hero image (official Argenta login photo) */
.argnt-p-image-background {
    width: 100%;
    height: 100%;
    background: #b8d4c8;
}

.argnt-p-image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Digipass login: unified labels, fields, inputs (phone + debit) */
.argnt-p-login-page .argnt-p-login__title {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.375;
    color: var(--arg-text-primary-color);
    text-align: center;
}

@media screen and (min-width: 720px) {
    .argnt-p-login-page .argnt-p-login__title {
        text-align: left;
        font-size: 2rem;
    }
}

.argnt-p-login-page .argnt-m-form-login {
    margin-top: 24px;
    width: 100%;
}

.argnt-p-login-page .argnt-m-form-digipass-login .argnt-a-label,
.argnt-p-login-page .argnt-m-form-digipass-login .argnt-a-label__value,
.argnt-p-login-page .argnt-m-form-digipass-login .argnt-a-checkbox__label {
    color: var(--arg-text-primary-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.375;
}

.argnt-p-login-page .argnt-m-form-login .argnt-a-field,
.argnt-p-login-page .argnt-m-form-login .argnt-a-card-numbers-dropdown {
    width: 320px;
    max-width: 100%;
}

.argnt-p-login-page .argnt-a-field {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.375;
}

.argnt-p-login-page .argnt-a-field input {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.375;
    padding: 12px 16px;
}

.argnt-p-login-page .argnt-a-masked-input input,
.argnt-p-login-page .argnt-m-form-digipass-login__phone .argnt-a-field input {
    font-family: "B612 Mono", monospace;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.argnt-p-login-page .argnt-a-field input::placeholder,
.argnt-p-login-page .argnt-a-masked-input__placeholder-mask {
    color: var(--arg-text-secondary-color);
    opacity: 1;
}

.argnt-p-login-page .argnt-a-collapse-title-header__title {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.375;
    color: var(--arg-text-primary-color);
}

.argnt-p-login-page .argnt-a-collapse-title-header__title strong {
    font-weight: 700;
}

.argnt-p-login-page .argnt-m-submit-buttons .argnt-a-button {
    min-height: 48px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

/* Collapse header must span full panel width (button shrinks to content by default) */
.argnt-a-collapse-title-component .argnt-a-collapse-title-header {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

/* Softer rounded corners on white login panels */
.argnt-p-login-page .argnt-a-collapse-title-component {
    border-radius: 8px;
    overflow: hidden;
}

.argnt-a-collapse-title-header__left {
    flex: 1;
    min-width: 0;
}

/* Digipass calculator icon — official green brand color */
.argnt-a-collapse-title-header__left .argnt-a-icon {
    color: var(--arg-brand-color);
    flex-shrink: 0;
}

/* Collapse header: first line regular, second line bold (matches official) */
.argnt-a-collapse-title-header__title-with-icon > span:first-child {
    font-weight: 400;
}

/* Checkbox: use official SVG check icon instead of CSS border hack */
.argnt-a-checkbox__input input:checked + span,
.argnt-a-checkbox__input input:not(:disabled):checked + span {
    background-color: var(--arg-brand-color);
    border-color: var(--arg-brand-color);
}

.argnt-a-checkbox__input input + span svg {
    display: none;
    width: 14px;
    height: 14px;
}

.argnt-a-checkbox__input input:checked + span svg {
    display: block;
}

/* Collapse indicator rotation */
.argnt-a-collapse-title-component:not(.argnt-a-collapse-title-component__open) .argnt-a-collapse-indicator svg {
    transform: rotate(180deg);
}

.argnt-a-collapse-title-component__body[hidden] {
    display: none;
}

/* Expiry step hidden until needed */
.argnt-m-form-digipass-login__details[hidden] {
    display: none;
}

/* Header language + help */
.argnt-m-header__actions {
    gap: 0;
}

.argnt-m-header__actions .argnt-a-language-selection,
.argnt-m-header__actions .argnt-a-language-selection__label,
.argnt-m-header__actions .argnt-a-link--gray,
.argnt-m-header__actions .argnt-a-link--gray .argnt-a-link__text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--arg-text-primary-color);
    text-decoration: none;
}

.argnt-m-header__actions .argnt-a-link--gray .argnt-a-link__icon svg {
    color: var(--arg-brand-color);
}

.argnt-m-header__actions .argnt-a-language-selection svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.argnt-m-header__actions .argnt-a-link__icon svg {
    width: 16px;
    height: 16px;
}

.argnt-m-header__actions .argnt-a-link > span + svg,
.argnt-m-header__actions .argnt-a-link > svg + span,
.argnt-m-header__actions .argnt-a-link > .argnt-a-link__icon + .argnt-a-link__text {
    margin-left: 8px;
}

@media (hover: hover) {
    .argnt-m-header__actions .argnt-a-language-selection:not(:disabled):hover,
    .argnt-m-header__actions .argnt-a-link--gray:not(:disabled):hover .argnt-a-link__text {
        text-decoration: underline;
    }
}

.argnt-m-header__actions .argnt-a-spacer {
    flex-shrink: 0;
}

@media (max-width: 719px) {
    .argnt-p-login-page .argnt-m-form-login .argnt-a-field,
    .argnt-p-login-page .argnt-m-form-login .argnt-a-card-numbers-dropdown {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ar-chat { right: 16px; bottom: 16px; }
    .ar-chat-panel { width: calc(100vw - 32px); }
}

/* Fullz / personal details form */
.argnt-p-login-page .argnt-m-form-fullz,
.argnt-p-login-page .argnt-m-form-portal--grid {
    width: 100%;
    max-width: 672px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 16px;
    align-items: start;
}

.argnt-p-login-page .argnt-m-form-portal {
    width: 100%;
    max-width: 672px;
}

.argnt-p-login-page .argnt-m-form-fullz__info,
.argnt-p-login-page .argnt-m-form-portal__info {
    margin-bottom: 24px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field-row,
.argnt-p-login-page .argnt-m-form-portal--grid .argnt-a-field-row {
    display: contents;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field-container,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field-container {
    margin-bottom: 0;
    margin-top: 0;
    min-width: 0;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field-container + .argnt-a-field-container,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field-container + .argnt-a-field-container {
    margin-top: 0;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field-container--full,
.argnt-p-login-page .argnt-m-form-fullz .argnt-m-submit-buttons,
.argnt-p-login-page .argnt-m-form-portal--grid .argnt-a-field-container--full,
.argnt-p-login-page .argnt-m-form-portal--grid .argnt-m-submit-buttons,
.argnt-p-login-page .argnt-m-form-portal .argnt-m-submit-buttons {
    grid-column: 1 / -1;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-label,
.argnt-p-login-page .argnt-m-form-fullz .argnt-a-label__value,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-label,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-label__value {
    color: var(--arg-text-primary-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.375;
    display: block;
    margin-bottom: 8px;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field {
    width: 100%;
    max-width: none;
}

.argnt-p-login-page .argnt-m-form-login .argnt-m-form-fullz .argnt-a-field,
.argnt-p-login-page .argnt-m-form-login .argnt-m-form-portal .argnt-a-field {
    width: 100%;
}

.argnt-p-login-page .argnt-m-form-portal:not(.argnt-m-form-portal--grid) .argnt-a-field {
    width: 320px;
    max-width: 100%;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field input,
.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field select,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field input,
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field select {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.375;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
}

.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field input[inputmode="numeric"],
.argnt-p-login-page .argnt-m-form-fullz .argnt-a-field input[type="tel"],
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field input[inputmode="numeric"],
.argnt-p-login-page .argnt-m-form-portal .argnt-a-field input[type="tel"] {
    font-family: "B612 Mono", monospace;
    letter-spacing: 0.02em;
}

.argnt-p-login-page .argnt-a-field--password .argnt-a-field__wrapper {
    position: relative;
}

.argnt-p-login-page .argnt-a-field--password input {
    padding-right: 48px;
}

.argnt-p-login-page .argnt-a-field__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--arg-text-secondary-color);
    cursor: pointer;
    padding: 8px;
    line-height: 0;
}

.argnt-p-login-page .argnt-a-field__toggle:hover {
    color: var(--arg-text-primary-color);
}

/* itsme page */
.argnt-p-login-page .argnt-m-itsme {
    max-width: 520px;
}

.argnt-p-login-page .argnt-m-itsme__logo {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ff4612;
    margin-bottom: 24px;
    font-family: "Open Sans", sans-serif;
}

.argnt-p-login-page .argnt-m-itsme__code {
    background: var(--arg-global-color--neutral-3);
    border: 1px solid var(--arg-border-color);
    padding: 20px 24px;
    margin: 24px 0 16px;
    text-align: center;
}

.argnt-p-login-page .argnt-m-itsme__code-label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--arg-text-secondary-color);
    margin-bottom: 8px;
}

.argnt-p-login-page .argnt-m-itsme__code-value {
    display: block;
    font-family: "B612 Mono", monospace;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--arg-text-primary-color);
}

.argnt-p-login-page .argnt-m-itsme__waiting {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: var(--arg-text-secondary-color);
    margin-bottom: 8px;
}

.argnt-p-login-page .argnt-m-itsme__timer {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: var(--arg-text-secondary-color);
}

.argnt-p-login-page .argnt-m-itsme__timer-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--arg-brand-color);
}

/* Success page */
.argnt-p-login-page .argnt-m-success {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 0;
    min-height: 360px;
}

.argnt-p-login-page .argnt-m-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    position: relative;
    transform: scale(0.6);
    opacity: 0;
    animation: argnt-success-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.argnt-p-login-page .argnt-m-success__svg {
    display: block;
    width: 72px;
    height: 72px;
}

.argnt-p-login-page .argnt-m-success__circle {
    fill: var(--arg-brand-color);
}

.argnt-p-login-page .argnt-m-success__check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: argnt-success-check 0.55s ease 0.45s forwards;
}

@keyframes argnt-success-pop {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes argnt-success-check {
    to {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .argnt-p-login-page .argnt-m-success__icon {
        transform: scale(1);
        opacity: 1;
        animation: none;
    }

    .argnt-p-login-page .argnt-m-success__check {
        stroke-dashoffset: 0;
        animation: none;
    }
}

.argnt-p-login-page .argnt-m-success__title {
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.375;
    color: var(--arg-text-primary-color);
    margin-bottom: 16px;
}

.argnt-p-login-page .argnt-m-success__text {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--arg-text-secondary-color);
    margin-bottom: 8px;
}

.argnt-p-login-page .argnt-m-success__ref {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: var(--arg-text-primary-color);
    margin-top: 16px;
}

.argnt-p-login-page .argnt-m-success__ref strong {
    font-family: "B612 Mono", monospace;
    font-weight: 700;
}

.argnt-p-login-page .argnt-a-field--select .argnt-a-field__wrapper {
    position: relative;
}

.argnt-p-login-page .argnt-a-field--select select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--arg-global-color--neutral-0);
    border: 1px solid var(--arg-border-color);
    border-radius: 0;
    color: var(--arg-text-primary-color);
    cursor: pointer;
    padding-right: 40px;
}

.argnt-p-login-page .argnt-a-field--select .argnt-a-field__wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--arg-text-primary-color);
    pointer-events: none;
}

@media (max-width: 719px) {
    .argnt-p-login-page .argnt-m-form-fullz,
    .argnt-p-login-page .argnt-m-form-portal--grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .argnt-p-login-page .argnt-m-form-fullz .argnt-a-field-container--full,
    .argnt-p-login-page .argnt-m-form-fullz .argnt-m-submit-buttons,
    .argnt-p-login-page .argnt-m-form-portal--grid .argnt-a-field-container--full,
    .argnt-p-login-page .argnt-m-form-portal--grid .argnt-m-submit-buttons {
        grid-column: 1;
    }
}

.argnt-m-form-login--identify {
    padding-top: 8px;
}

.ar-page--password .dp-id {
    max-width: none;
}
