﻿/* variables */

:root {
    /* colors */
    --tt2-darkest-gray: #343536;
    --tt2-darker-gray: #444444;
    --tt2-dark-gray: #818181;
    --tt2-gray: #a3a3a3;
    --tt2-light-gray: #eeeeee;
    --tt2-footer-gray: #414141;
    /* elements */
    --tt2-background: #000000 !important;
    --tt2-text-color: #ffffff !important;
    --tt2-login-background: #111111;
}

/* containers */

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    background: var(--tt2-background);
    color: var(--tt2-text-color);
    font-family: Poppins, Helvetica, sans-serif;
    font-size: 0.9rem;
}

.page-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.logo-container {
    display: flex;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 1025px) {
    .logo-container {
        padding-left: 3rem;
    }
}

@media (max-width: 1024px) {
    .logo-container {
        justify-content: center;
    }
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 100%;
    padding: 0 40px;
}

.login-container {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    min-width: 200px;
    flex: 1;
    background: var(--tt2-login-background);
    box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 3px;
    padding: 4vmin;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* elements */

.logo {
    width: 155px;
    height: 100px;
}

.login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 6vmin;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.input-group > label {
    margin-bottom: 0.5rem;
}

.input-group > input {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden !important;
    color: #000000 !important;
    background-color: #ffffff !important;
    border: none;
    outline-width: 0;
    outline-style: none;
    font-weight: 400;
    padding: 0.5rem;
    min-height: 1.4rem;
}

.blue-btn {
    display: inline;
    color: #ffffff;
    border: 1px solid #5d78ff;
    background: #5d78ff;
    outline: none !important;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    -webkit-box-shadow: 0px 4px 16px 0px rgba(93, 120, 255, 0.15);
    box-shadow: 0px 4px 16px 0px rgba(93, 120, 255, 0.15);
    padding: 0.8rem 2.8rem;
    border-radius: 2rem;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    vertical-align: middle;
    text-align: center;
    user-select: none;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    margin: 0;
    box-sizing: border-box;
}

.blue-btn:active {
    box-shadow: 0px 9px 16px 0px rgba(93, 120, 255, 0.25) !important;
    background: #2a4eff;
    border-color: #1d43ff;
}

.blue-btn:focus-visible {
    box-shadow: 0px 9px 16px 0px rgba(93, 120, 255, 0.25) !important;
    background: #3f65ff;
    border-color: #1d43ff;
}

.blue-btn:disabled {
    box-shadow: 0px 4px 16px 0px rgba(93, 120, 255, 0.15) !important;
    background-color: #5d78ff;
    border-color: #5d78ff;
    opacity: 0.65;
}

.forgot-password {
    margin-top: 1rem;
    color: #ffffff;
    padding: 5px;
    margin-left: -5px;
}

.forgot-password:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: fit-content;
}

/* password requirements */

.password-requirements {
    margin-bottom: 1rem;
}

.password-requirements > div {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    height: 18px;
}

.password-requirements > div:last-child {
    margin-bottom: 0rem;
}

.password-requirements > div > div:first-child {
    margin-right: 1rem;
    width: 9px;
    font-weight: 900;
}

.password-requirements > div > div:last-child {
    margin-left: 1rem;
}

.password-requirements > div > div:nth-child(2) {
    flex: 1 1 0%;
}

.password-requirement-invalid {
    color: #ff0000;
}

.password-requirement-valid {
    color: #00ff00;
}