﻿.body {
    display: flex;
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    overflow-y: auto;
    background-color: #fafbfc;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

*,
::after,
::before {
    box-sizing: border-box;
}

ul {
    list-style: none;
    padding-inline-start: 0;
}

.validation-summary-errors ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-danger {
    color: #ea4335;
    font-weight: 600
}
.login-page {
    height: 100%;
}

.navbar {
    position: relative;
    display: -ms-flexbox;
    z-index: 1;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.logo {
    width: 250px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
}

.lead h1 {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 5px;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 5px;
    text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.body-container {
    height: 100%;
    margin: 0;
    width: 100%;
}

.login-page .row {
    padding-bottom: 70px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
}

.login-page .main-bg {
    position: absolute;
    height: calc(100% - 17vh);
    width: 100%;
    top: 17vh;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient( 156deg, rgba(250, 251, 252, 1) 0%, rgba(238, 142, 34, 1) 44%, rgba(250, 251, 252, 1) 100% );
    background-size: cover;
}

.login-page .main-bg::before {
    content: "";
    display: block;
    position: absolute;
    width: 200%;
    height: 300%;
    top: -100%;
    left: -50%;
    background: url("../arrow.svg");
}

.login-page .main-bg::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("../wave.svg") center top no-repeat;
    background-size: 100%;
}

.login-page .card {
    width: 100%;
    margin: 0 30px;
    max-width: 480px;
    border-radius: 12px;
    z-index: 1;
    padding: 1.5rem !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.login-page .card .btn {
    background-color: #ee8e22;
    color: white;
    width: 100% !important;
    margin-top: 1rem !important;
}

    .login-page .card .btn:hover {
        background-color: #d97c1d;
       
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    }

    .login-page .card .btn:active {
        transform: translateY(1px);
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    }

    .login-page .card .btn:disabled {
        opacity: 0.4;
    }

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
a.btn,
.btn {
    display: inline-block;
    font-weight: 500;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 768px) {
    .navbar {
        justify-content: center;
    }
}

.bottom-row {
    position: absolute; 
    bottom: 0; 
    padding: 20px 40px; 
    width: 100vw; 
    text-align: right;
}

.btn-none {
    border: 0; 
    background: none;
}


.vitecsignin {
    width: 35px;
    cursor: pointer;
    opacity: 1;
    
    &:hover {
        opacity: .8;
    }
}

.otp-container {
    text-align: center;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.otp-input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-input:focus {
    border-color: rgb(238, 142, 34);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.qr-container {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: column;
    margin-bottom: 20px;
}

.qr-code {
    width: 50%;
}


.secret-code {
    font-family: monospace;
    background: #f4f4f4;
    padding: 3px 6px;
    border-radius: 4px;
}


.mfa-setup .card .btn-skip {
    background: none;
    color: #5a5f78;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

    .btn-skip:hover {
        text-decoration: underline;
        background:none !important;
        box-shadow: none !important;
    }

.skip-text {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.svg-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    img {
            width: 50%;
        }
}

.divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}
.learn-more {
    width: 100%;
    text-align: center;
    display: block;
}

.learn-more {
    width: 100%;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #0052CC;
    transition: color 0.3s ease, transform 0.2s ease;
}


.learn-more:hover {
    color: #003D99;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
