@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 300;
    box-sizing: border-box;
    background-color: #282f3a;
    color: #ffffff;
}

label {
    margin: 6px 0;
    display: block;
    text-align: left;
    font-weight: bold;
}

a {
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

h1 {
    font-size: 1.3rem;
}

p {
    margin: 0.5rem 0;
}

.login-video {
    position: fixed;
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.flex-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.container {
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    text-align: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.login-logo {
    margin-top: 5rem;
}
.login-logo img {
    height: 150px;
}

.login-wrapper{
    width: 377px;
    margin: 2rem;
}
.login-wrapper p {
    font-size: 20px;
}

.footer{
    font-size: 10px;
    margin-top: 5rem;
    margin-bottom: 1rem;
}

.btn {
    width: 100%;
    height: 50px;
    text-transform: uppercase;
    text-align: center;
    border: 0;
    box-sizing: border-box;
    outline: none;
    background: rgb(28 33 42 / 60%) 0% 0% no-repeat padding-box;
    margin: 10px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(0, 221, 255, 0.2);
}
.btn:hover {
    background-color: #ffffff;
}
.btn:hover *:last-child {
    color: #000000;
}

.btn *:last-child {
    flex: 1;
    background-color: transparent;
    border: 0;
    color: #ffffff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    font-size: 12px;
}
.btn a {
    font-size: 14px;
    font-weight: inherit;
}

input[type="email"], input[type="password"] {
    height: 35px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    outline: none;
}
input.not-valid {
    outline: auto;
    outline-color: red;
    color: red;
}
.btn.disabled {
    opacity: 0.5;
}

.logo-session {
    background-image: url("/api/assets/ow_login_icons.svg");
    width: 30px;
    height: 29.5px;
    margin: 10px 15px;
    background-size: 229px 229px;
    position: absolute;
}
.logo-session.microsoft {
    background-position-y: -29px;
}
.logo-session.apple {
    background-position-y: -58px;
}
.logo-session.other {
    background-position-y: -86.8px;
}
.logo-session.support {
    background-position-y: -115.4px;
}
.logo-session.okta {
    background-position-y: -144.5px;
}
.btn:hover .logo-session {
    background-position-x: -29px;
}

/* Utility Classes */
.hide {
    display: none !important;
}

/* Email Input Section */
#email-input-section {
    width: 100%;
}

#emailField {
    background: rgb(28 33 42 / 60%);
    border: 1px solid rgba(0, 221, 255, 0.2);
    color: #ffffff;
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

#emailField::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
}

#emailField:focus {
    border-color: #19cffa;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
    cursor: pointer;
    text-transform: none;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 300;
}

/* Loader Spinner */
#loader {
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 3px solid rgba(25, 207, 250, 0.3);
    border-top: 3px solid #19cffa;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader p {
    color: #ffffff;
    font-size: 14px;
    text-transform: none;
}

/* Error Message */
#error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    color: #ff6b6b;
    font-size: 14px;
    text-transform: none;
}

/* Login Methods Section */
#login-methods-section {
    width: 100%;
}

#back-button {
    margin-top: 20px;
}

.btn-blue {
    background-color: #19cffa;
}
.btn-blue *:last-child {
    color: #000000;
}
.btn-blue:hover {
    background-color: #18b6db;
}

@media screen and (max-width: 720px) {
    .login-logo {
        margin: 50px;
    }
}