/* Google Font Import - Roboto Condensed */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
    /* ===== Colors ===== */
    --body-color: #f9fafc;
    --white: #fff;
    --silver: #c0c0c0;
    --primary-color: #a6a6a6;
    --white-grey: #e9f4fb;
    --black-grey-color: #666;
    --secundary-color: #008edc;
    --invalid-color: #ff0000;
    --toggle-color: #DDD;
    --text-color: #000000;

    /* ====== Transition ====== */
    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: var(--body-color);
    height: 100vh;
    overflow: hidden;
}

.logo-image {
    text-align: center;
    margin-top: 10%;
    margin-bottom: 40px;
}

.center {
    margin: auto;
    width: 400px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 3px 12px 15px rgb(0 0 0 / 15%);
    -webkit-box-shadow: 3px 12px 15px rgb(0 0 0 / 15%);
    padding: 30px 0;
}

.center h1 {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--silver);
}

.center form {
    padding: 0 40px;
    box-sizing: border-box;
}

form .txt_field {
    position: relative;
    border-bottom: 2px solid var(--silver);
    margin: 30px 0;
}

.txt_field input {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}


.password input[type="password"],
.password input[type="text"] {
    width: 90%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}


.txt_field label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: var(--silver);
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.txt_field span::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secundary-color);
    transition: .5s;
}

.txt_field input:focus~label,
.txt_field input:valid~label {
    top: -5px;
    color: var(--secundary-color);
}

.txt_field input:invalid~label {
    top: -5px;
    color: var(--silver);
}

p.newlogindialog_FormError {
    background-color: #d2aeae;
    margin: 0 25px;
}

p.newlogindialog_FormError {
    color: #be605e;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding: 0 40px;
}

.txt_field input:focus~span::before,
.txt_field input:valid~span::before {
    width: 100%;
}

.pass {
    height: 60px;
    margin: 0px 0 30px 5px;
    color: var(--secundary-color);
    cursor: pointer;
    opacity: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pass a {
    text-decoration: none;
    color: #222222;
    font-weight: bolder;
}

.pass a:hover {
    text-decoration: underline;
}

input[type="submit"] {
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: var(--secundary-color);
    border-radius: 11px;
    font-size: 18px;
    color: var(--white-grey);
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

input[type="submit"]:hover {
    border-color: var(--secundary-color);
    transition: .5s;
}

.signup_link {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: var(--black-grey-color);
}

.signup_link a {
    color: var(--secundary-color);
    text-decoration: none;
}

.signup_link a:hover {
    text-decoration: underline;
}

.logo-index {
    max-width: 123px;
}

@media only screen and (max-width: 767px) {
    #box {
        width: -webkit-fill-available !important;
        margin: 10px !important;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
    }

    .center form {
        padding: 0 20px !important;
    }
}