﻿label {
    display: block;
    margin-bottom: 6px;
}

.container.mfa {
    /* display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        width:auto;
        max-width:800px; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* full screen height */
    width: 100%;
    max-width: 840px;
    margin: auto;
    padding: 20px; /* prevent touching screen edges */
    box-sizing: border-box;
    overflow-y: auto; /* allow scroll if content is taller */
}
.stackonmobile{

}
    .container.mfa.fullscreen {
        padding: 0px;
        height: 100%;
    }

.header-middle {
    margin-left: 72px;
    font-size: var(--Font-Body-Size, 16px);
    margin-bottom:24px;
}

.step2middle {
    max-width: 400px;
}

.input-title {
    color: var(--color-text-icons-on-neutral-default, #1F1F20);
    font-size: var(--Font-Body-Size, 16px) !important;
    font-style: normal;
    font-weight: 600;
    line-height: var(--Font-Body-LineHeight, 24px); /* 150% */
    margin-bottom: opx;
}

.input-title-regular {
    color: var(--color-text-icons-on-neutral-default, #1F1F20);
    font-size: var(--Font-Body-Size, 16px) !important;
    font-style: normal;
    line-height: var(--Font-Body-LineHeight, 24px); /* 150% */
    margin-bottom: 6px;
}

.ocslogo {
    margin-left: -10px;
    margin-bottom: 24px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 800px;
}

    .card.fullscreen {
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        height: 100%
    }


.mfa-header {
    display: flex;
    gap: 23px;
}

    .mfa-header .icon {
        font-size: 28px;
       
    }
    .mfa-header .icon svg{
        width: 48px;
        height: 48px;
    }

    .mfa-header .header-text h2 {
        font-family: var(--Font-Family-Roboto, Roboto);
        font-size: var(--Font-H2-Size, 24px);
        font-style: normal;
        font-weight: 700;
        line-height: var(--Font-H2-LineHeight, 30px); /* 125% */
    }
    .mfa-header .header-text .ErrorLabel {
        font-family: var(--Font-Family-Roboto, Roboto);
        font-size: var(--Font-H2-Size, 24px);
        font-style: normal;
        font-weight: 700;
        line-height: var(--Font-H2-LineHeight, 30px); /* 125% */
    }

    .mfa-header .header-text p {
        margin: 0 0 10px 0;
        font-size: var(--Font-Body-sm-Size,14);
        line-height: 1.5;
    }


.form-row {
    display: flex;
    gap: 20px;
    /*margin-bottom: 20px;*/
}

.form-group {
    flex: 1;
}



input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom:6px;
}

    input.error {
        border-color: var(--color-text-icons-on-neutral-error, #C74436);
    }
    input.error:hover{
        border-color: var(--color-text-icons-on-neutral-error, #C74436);
    }
        input.error:focus {
            outline-color: var(--color-text-icons-on-neutral-error, #C74436);
        }
.mfa input[type=text], select {
    min-height:44px;
}
.radio-group {
    display: grid;
}

.radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 14px !important;
}

      
    .note {
        font-size: 12px;
        margin-top:23px;
        /*color: #777;*/
    }
.mfaattmept {
    color: var(--color-text-icons-on-neutral-default-2, #5C5E61);
    /* Body-sm/Body-sm (R) */
    font-family: var(--Font-Family-Roboto, Roboto);
    font-size: var(--Font-Body-sm-Size, 14px) !important;
    font-style: normal;
    font-weight: 400;    
    margin:0px;
}
.actions {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 24px;
}
    /* Mobile view */
    @media (max-width:768px) {
        .container.mfa {
            padding: 0px;
            height: 100%;
        }

        .form-row{
            gap:0px;
        }

        .mfa-header {
            display: flex;
            gap: 5px;
        }

        .card {
            margin-top: 90px;
            border-radius: 0;
            box-shadow: none;
            width: 100%;
            height: 100%;
            margin-bottom: 60px;
            border: none;
        }

        .actions {
            flex-direction: column-reverse;
        }

        .mfa-header .icon svg {
            width: 30px;
            height: 30px;
            margin-top: -13px;
        }

        .header-middle {
            margin-left: 0px;
        }

        .stackonmobile {
            flex-direction: column;
        }

        .step2middle {
            max-width: 100%;
        }
    }
    /* Override global red placeholder for MFA inputs */
    .container.mfa input::placeholder {
        color: #999;
    }

    .container.mfa input::-webkit-input-placeholder {
        color: #999;
    }

    .container.mfa input:-ms-input-placeholder {
        color: #999;
    }
