body {
    background-color: rgb(160, 204, 253);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h4 {
    display: none;
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

.infinates_logo {
    width: 400px;
}

.form-wrap {
    background-color: white;
    padding: 0px 10px 10px 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 80%;
    margin: 0 auto;
}

.logo-wrap img {
    max-width: 100%;
    height: auto;
    padding: 10px;
}

.form-wrap h2 {
    width: 100%;
    font-weight: 900;
    text-align: center;
    color: rgba(75, 85, 99, 0.7);
}

.input-wrap {
    margin: 10px 0px 10px 0px;
    font-size: 14px;
    align-items: center;
    text-align: left;
}

.input-wrap .login_textbox {
    border-top: 1px solid #b7d4f8 !important ;
    border-left: 1px solid #b7d4f8 !important ;
    border-right: 1px solid #b7d4f8 !important ;
    border-bottom: none !important ;
    border-top-left-radius: 4px !important ;
    border-top-right-radius: 4px !important ;
    border-bottom-left-radius: 0px !important ;
    border-bottom-right-radius: 0px !important ;
}

.input-wrap .password-field {
    border-top-left-radius: 0px !important ;
    border-top-right-radius: 0px !important ;
    border-bottom-left-radius: 4px !important ;
    border-bottom-right-radius: 4px !important ;
}

.input-wrap .password-field .login_password {
    border: none !important;
    outline: none !important;
    border-bottom-left-radius: 4px !important ;
    border-bottom-right-radius: 4px !important ;
}

.input-wrap input[type="text"],
.input-wrap input[type="email"],
.input-wrap input[type="password"],
.input-wrap input[type="text"],
.input-wrap input[type="text"]:focus,
.input-wrap input[type="email"]:focus,
.input-wrap input[type="password"]:focus,
.input-wrap input[type="text"]:focus
{
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b7d4f8;
    border-radius: 4px;
    outline: none;
}

.input-wrap label {
    width: 200px;
    font-weight: 300;
}

.input-wrap .group {
    width: 100%;
}

.input-wrap .group span {
    color: red;
    font-size: 11px;
}

.input-wrap input:focus {
    outline: none;
    border: solid 1px gray;
}

.password-field {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b7d4f8;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.password-field input {
    outline: none;
    border: none;
    padding: 10px;
    width: 100%;
}

.password-field button {
    outline: none;
    border: none;
    cursor: pointer;
}

.button {
    background-color: #65a7f8;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    font-size: 0.875rem;
    border: none;
    border-radius: 4px;
    height: 38px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all;
    transition-duration: 300ms;
}

.button:hover {
    background-color: #4192f5;
    transition: all;
    transition-duration: 300ms;
}

.spinner-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.5);
    border-top: 3px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform:  rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.link {
    float: right;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(84, 152, 235, 0.9);
    font-weight: 600;
    text-decoration: none;
}

.link:hover {
    color: rgba(96, 165, 250);
}

.errorMessage {
    color: rgb(231, 24, 24);
    font-size: 12px;
}

.successMessage {
    color: rgb(16, 192, 16);
    font-size: 16px;
}

.message {
    text-align: center;
    color: rgba(75, 85, 99, 0.9);
    padding:10px 25px 25px 25px;
}

.hint {
    font-size: 12px;
    color: rgba(75, 85, 99, 0.7);
}

.password-reveal-button,
.password-reveal-button:focus {
    background: none;
    outline: none;
}

@media only screen and (max-width: 600px) {
    .infinates_logo {
        width: 200px;
    }

    .form-wrap {
        max-width: 280px;
    }
}

/* Bhutan NDI styles */

.ndi-btn {
    border-color: #124143;
    background-color: #124143;
    text-align: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px #124143;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all;
    transition-duration: 300ms;
}

.ndi-btn:hover {
    scale: 101%;
    box-shadow: 0px 2px 8px #A5A6A7FF;
    transition: all;
    transition-duration: 300ms;
}

.ndi-btn img {
    width: 25px;
    margin-right: 10px;
}

.signin_options_divider {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.signin_options_divider hr {
    width: 100%;
    margin: 15px 5px;
}
