:root {
    --auth-bg: #050505;
    --auth-panel: #111111;
    --auth-panel-soft: #171717;
    --auth-border: #2a2a2a;
    --auth-text: #f7f7f7;
    --auth-muted: #a3a3a3;
    --auth-accent: #2a71b6;
    --auth-accent-dark: #215f9d;
    --auth-danger: #f87171;
}

html,
body {
    min-height: 100%;
    background: var(--auth-bg);
    color: var(--auth-text);
    font-family: Roboto, Arial, sans-serif;
}

body {
    overflow-x: hidden;
}

.top-content,
.inner-bg,
.container-fluid,
.row,
.bgoffsetbg {
    min-height: 100vh;
}

.bgoffsetbg {
    display: flex;
    align-items: stretch;
    background: #050505;
}

.auth-form-column {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 32px;
}

.loginbg {
    width: min(440px, calc(100vw - 34px));
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.94);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.form-top {
    background: #0b0b0b;
    border-bottom: 1px solid var(--auth-border);
    padding: 30px 34px 24px;
}

.form-top-left.logowidth {
    width: 100%;
    text-align: left;
}

.auth-school-name {
    margin: 0;
    color: var(--auth-text);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: 0;
}

.auth-school-line {
    width: 44px;
    height: 3px;
    margin-top: 18px;
    background: #2a71b6;
    border-radius: 999px;
}

.form-bottom {
    background: transparent;
    padding: 30px 34px 34px;
}

.form-bottom h3 {
    margin: 0 0 24px;
    color: var(--auth-text) !important;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
}

.form-group {
    margin-bottom: 17px;
}

.loginbg input[type="text"],
.loginbg input[type="password"],
.loginbg input[type="email"],
.loginbg textarea,
.loginbg textarea.form-control,
.loginbg .form-control {
    height: 46px;
    background: var(--auth-panel-soft) !important;
    border: 1px solid var(--auth-border) !important;
    border-radius: 6px;
    color: var(--auth-text) !important;
    box-shadow: none !important;
    font-size: 14px;
    caret-color: var(--auth-text);
}

.loginbg input[type="text"]:focus,
.loginbg input[type="password"]:focus,
.loginbg input[type="email"]:focus,
.loginbg textarea:focus,
.loginbg textarea.form-control:focus,
.loginbg .form-control:focus {
    border-color: var(--auth-accent) !important;
    box-shadow: 0 0 0 3px rgba(42, 113, 182, 0.18) !important;
    background: #141414 !important;
    color: var(--auth-text) !important;
    outline: none !important;
}

.loginbg input:-webkit-autofill,
.loginbg input:-webkit-autofill:hover,
.loginbg input:-webkit-autofill:focus,
.loginbg input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #141414 inset !important;
    -webkit-text-fill-color: var(--auth-text) !important;
    caret-color: var(--auth-text) !important;
    border-color: var(--auth-accent) !important;
    transition: background-color 9999s ease-out 0s;
}

.loginbg .form-control::placeholder {
    color: #8a8a8a !important;
}

.has-feedback .form-control {
    padding-right: 44px;
}

.form-control-feedback {
    color: var(--auth-muted);
    height: 46px;
    line-height: 46px;
}

.text-danger {
    color: var(--auth-danger);
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

.alert {
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 13px;
}

.alert-danger {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fecaca;
}

.alert-success {
    background: rgba(42, 113, 182, 0.14);
    border-color: rgba(42, 113, 182, 0.32);
    color: #d7eaff;
}

.form-bottom .btn {
    width: 100%;
    height: 46px;
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: none;
}

.form-bottom .btn:hover,
.form-bottom .btn:focus {
    background: var(--auth-accent-dark);
    border-color: var(--auth-accent-dark);
    color: #ffffff;
    outline: none;
}

.login-terms {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--auth-muted);
}

.login-terms a,
.forgot {
    color: #d4d4d4 !important;
    font-weight: 600;
    text-decoration: none;
}

.login-terms a:hover,
.forgot:hover {
    color: var(--auth-accent) !important;
    text-decoration: none;
}

.forgot-wrap {
    text-align: right;
    margin-top: 12px;
}

.forgot-wrap .forgot {
    font-size: 13px !important;
}

.loginImage {
    min-height: 100vh;
    background: #090909;
    border-left: 1px solid var(--auth-border);
}

.loginImage .auth-image-wrap {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
}

.loginImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.85) contrast(1.08);
}

.loginImage .auth-image-wrap:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.18);
    pointer-events: none;
}

.loginImage1 {
    display: none;
}

.auth-image-fallback {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #0d0d0d;
    color: var(--auth-text);
}

.auth-image-fallback-inner {
    max-width: 620px;
    border-left: 4px solid #2a71b6;
    padding-left: 28px;
}

.auth-image-fallback span {
    display: block;
    margin-bottom: 14px;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-image-fallback h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 0;
}

#captcha_image img {
    max-width: 100%;
    border-radius: 6px;
}

.catpcha {
    cursor: pointer;
    color: var(--auth-accent);
    margin-left: 8px;
}

@media (max-width: 991px) {
    .bgoffsetbg {
        display: block;
    }

    .auth-form-column {
        min-height: 100vh;
        padding: 28px 18px;
    }

    .loginImage,
    .loginImage1 {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-top {
        padding: 24px 24px 18px;
    }

    .form-bottom {
        padding: 26px 24px 28px;
    }

    .auth-school-name {
        font-size: 17px;
    }
}
