﻿.mfa-modals h3 {
    font-size: 24px;
    font-weight: 600;
}

.mfa-modals p {
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.mfa-modals .popover-container, .mfa-modals form {
    flex-direction: column;
    position: relative;
    place-self: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: white;
    color: black;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
    border: none;
    max-height: min(95dvh, 95vh);
}

.mfa-modals form {
    display: flex;
}

.mfa-modals #mfaPopoverSignIn {
    max-width: 380px;
}

.mfa-modals .popover-container#mfaHelpPopover {
    padding-top: 40px;
}

.mfa-modals a {
    text-decoration: none;
    color: #0000FF;
    cursor: pointer;
}

.mfa-modals .qr-code {
    width: 150px;
    height: 150px;
    min-height: 150px;
    place-self: center;
}

.mfa-modals .text-in-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mfa-modals .text-in-line::before,
.mfa-modals .text-in-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ccc;
}

.mfa-modals .text-in-line span {
    white-space: nowrap;
}

.mfa-modals label {
    text-align: start;
    font-size: 18px;
    font-weight: 500;
    margin-top: 12px;
}

.mfa-modals input[type="text"] {
    border-radius: 20px;
    background-color: lightgray;
    border: none;
    padding: 8px;
    max-width: 329px;
    width: 100%;
    height: 48px;
    text-align: center;
    margin-bottom: 12px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

    .mfa-modals input[type="text"]::placeholder {
        font-weight: 600;
        color: #6D6D6D;
        font-size: 17px;
    }

.mfa-modals input[type="text"]:focus {
    outline: none;
    border: none;
}

.mfa-modals button {
    display: flex;
    place-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 20px;
    border: none;
    max-width: 329px;
    width: 100%;
    height: 48px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.1s ease-out;
    cursor: pointer;
}

.mfa-modals button:active {
    transform: scale(0.98);
}

.mfa-modals button.blue {
    background-color: #00073B;
    color: white;
}

.mfa-modals button.white {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.mfa-modals button.close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: transparent;
    border: none;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.mfa-modals [popover]:popover-open, .mfa-modals dialog[open], .mfa-modals dialog:modal {
    display: flex;
}

.mfa-modals [popover]::backdrop, .mfa-modals dialog::backdrop, .mfa-modals .popover-container::backdrop {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
}

.mfa-modals .toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(27, 177, 27);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.mfa-modals .toast.show {
    opacity: 1;
    transform: translateY(0);
}

.mfa-modals .copy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mfa-modals .copy-code {
    text-align: center;
}

.mfa-modals .copy-button {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 103px;
    width: 100%;
    height: 50px;
    background-color: #E1E2E2;
    color: #6D6D6D;
    border-radius: 25px;
}

.mfa-modals .copy-icon {
    color: #6D6D6D;
    width: 21px;
    height: 24px;
}

.mfa-modals .copy-icon img {
    width: 100%;
}

.mfa-modals .dialog-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.mfa-modals .help-title {
    margin-bottom: 32px;
    margin-top: 32px;
}

.mfa-modals .info-group {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.mfa-modals .info-group.contact p {
    margin: 0;
}

.mfa-modals p.med {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px !important;
}

.mfa-modals .help-trigger {
    color: #0076FA !important;
}

.mfa-modals .show-in-mobile {
    display: none;
}

.mfa-modals .abs-pos {
    position: absolute;
    inset: 0;
    z-index: 1000;
    max-width: 380px;
}

.mfa-modals .abs-pos::backdrop {
    background: rgba(0, 0, 0, 0.2);
}
.mfa-error {
    color: #d93025;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.error-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
@media(max-width: 500px) {
    .mfa-modals .hide-in-mobile {
        display: none;
    }

    .mfa-modals .show-in-mobile {
        display: inline-block;
    }

    .mfa-modals .copy-code {
        word-wrap: break-word;
        max-width: 200px;
    }
}
