﻿
/*==============================================
    GLOBAL.CSS
==============================================*/

/*
	##### GENERAL SETTINGS #####
*/
* {
    margin: 0; padding: 0;
}
html,body {
    height: 100%;
}
body {
    font-family: arial; font-size: 11px; background: #f9f9f9; text-align: center;
}
img, img a, img a:hover {
    border: 0; display: block;
}
input, select {
    font-size: 1em;
}
div#master_wrapper {
    width: 100%; min-height: 100%; height: auto !important; height: 100%; margin: 0 auto; text-align: left;
}

/*
	##### HEADER LAYOUT #####
*/
input.back_btn {
    width: 76px;
    height: 22px;
    float: left;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: url(/static/media/Login/login_btn.gif) no-repeat;
}
div#login_wrapper {
    width: 375px; min-height: 226px; height:auto; position: absolute; top: 50%; left: 50%; margin-left: -189px; margin-top: -115px;
    background-color: #fff; border-radius: 5px; box-shadow: 0px 4px 10px 0px;
}
div.login_header {
    width: 375px; height: 26px; background: url(/static/media/Login/header_bg.gif) repeat-x;
}
div.login_logo {
    width: 73px; height: 26px; float: left; background: url(/static/media/Login/logbase_logo.gif) no-repeat;
}
div.login_icons {
    width: 110px; height: 17px; float: right; padding: 4px 5px 5px 0;
}
div.login_icons img {
    width: 17px; height: 17px; float: left; margin: 0 0 0 5px; display: inline;
}

div#login_fields {
    width: 286px; height: 125px; padding: 25px 64px 0 25px; background: url(/static/media/Login/fields_bg.jpg) no-repeat;
}
div.login_label {
    width: 100px; height: 18px; float: left; margin: 0 0 10px 0; font-weight: bold; font-size: 1.1em; line-height: 18px;
}
div.login_label_wide {
    width: 300px; height: 18px; float: left; margin: 0 0 10px 0; font-weight: bold; font-size: 1.1em; line-height: 18px;
}
input.login_field {
    width: 180px; float: left; margin: 0 0 10px 0; padding: 1px 0 1px 2px;
}
select.login_select {
    width: 186px; margin: 0 0 10px 0; float: left;
}
input.login_btn {
    width: 76px; height: 22px; float: right; border: 0; cursor: pointer; color: #fff; background: url(/static/media/Login/login_btn.gif) no-repeat;
}
input.login_btn[disabled] {
    opacity: 0.6; cursor: not-allowed;
}
div#login_error {
    width: auto; height: auto; margin: 0 0 0 0; font-weight: bold; line-height: 22px; color: red;
}
div#login_error #lblMessage{
    margin: 10px; display: block;
}
.clear {
    clear: both;
}

/* Align remember checkbox with Continue button */
/* moved checkbox to 2FA section; keep generic alignment style */
.twofa_buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

div#login_additional {
    width: 365px; height: 40px; padding: 7px 0 0 10px; color: #999;
}
div#login_additional p {
    margin: 0 0 4px 0;
}

/*
	##### 2FA STYLES #####
*/

div#twofa_fields {
    width: 286px;
    height: 125px;
    padding: 9px 64px 16px 25px;
    background: url(/static/media/Login/fields_bg.jpg) no-repeat;
}

div.login_label_twofa {
    height: 18px;
    float: left;
    margin-top: 10px;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 18px;
}

div.login_label_code {
    height: 18px;
    float: left;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 18px;
}

input.login_btn_twofa {
    width: 76px;
    height: 22px;
    float: right;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: url(/static/media/Login/login_btn.gif) no-repeat;
    background-size: cover;
}

    input.login_btn_twofa[disabled] {
        opacity: 0.6;
        cursor: not-allowed;
    }

input.login_field_twofa {
    width: 150px;
    float: right;
    margin: 0 0 10px 0;
    padding: 1px 0 1px 2px;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

div#twofa_error {
    width: auto;
    height: auto;
    margin: 0 0 0 0;
    font-weight: bold;
    line-height: 22px;
    color: red;
}

    div#twofa_error #lblTwoFAError {
        margin: 10px;
        display: block;
    }

.login_timer {
    font-size: 14px;
    color: #555;
}

.twofa_buttons {
    justify-content: space-between;
    width: 100%;
    padding-top: 10px;
}

.twofa_resend {
    display: flex;
    align-items: center;
    gap: 10px;
    float: inline-end;
}

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

    100% {
        transform: rotate(360deg);
    }
}