* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    background-color: #222222;
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-form {
    background-color: #222222;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 10px #00C3DA;
    color: white;
    width: 80%;
    max-width: 20rem;
}

.auth-form a {
    color: #00a7da;
}

.auth-form a:visited {
    color: #036ad0;
}

.auth-form a.forgot-pass {
    margin-top: 1rem;
}

.auth-form .tabs {
    border-bottom: 1px solid #555555;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
}

.auth-form .tabs a {
    padding: 0.2rem 0.2rem 0.3rem;
    margin: 0.1rem 0.1rem -2px;
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: all 0.5s ease;
    border-bottom: 3px solid rgba(255, 23, 58, 0);
}

.auth-form .tabs a:last-child {
    padding: 0.2rem;
    margin: 0.1rem;
    margin-left: auto !important;
    border: none;
}

.auth-form .tabs a:hover {
    border-bottom: 3px solid rgba(255, 23, 58, 0.8);
}


.auth-form .tabs a:last-child:hover {
    border: none;
    color: #FF173A;
}

.auth-form .tabs a.active {
    border-bottom: 3px solid rgba(255, 23, 58, 1);
}

.auth-form .tab__body.hide,
.auth-form .tab__body.hide {
    display: none;
}

.auth-form .login,
.auth-form .register {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-form h2 {
    margin-bottom: 0.8rem;
}

.auth-form .form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-form .form__item {
    margin-bottom: 0.4rem;
}

.auth-form .form__item.icon {
    position: relative;
}

.auth-form .form__item input {
    padding: 5px 12px;
    box-sizing: border-box;
    width: 100%;
    background-color: #fffcc8;
    line-height: 1.3rem;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    font-size: 1.1rem;
    outline: none;
}

.auth-form .form__item input:focus,
.auth-form .form__item input:active,
.auth-form .form__item input:hover {
    box-shadow: 0 0 8px #00C3DA;
    outline: 1px solid #035fbb;
}

.auth-form .form__item input:-webkit-autofill,
.auth-form .form__item input:-webkit-autofill:hover,
.auth-form .form__item input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fffcc8 inset;
}

.auth-form .form__item.icon input {
    padding-left: 2rem;
}

.auth-form .form__item.show-pass input {
    padding-right: 2rem;
}

.auth-form .form__item.icon .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2rem;
    font-size: 1rem;
    color: #333333;
}

.auth-form .form__item.icon .show-pass-btn {
    right: 0;
    left: auto;
    color: #777777;
    font-size: 1.1rem;
    cursor: pointer;
}

.auth-form .show-pass-btn .show,
.auth-form .show-pass-btn .hide {
    transition: all 0.3s ease;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-form .show-pass-btn .show {
    opacity: 1;
}

.auth-form .show-pass-btn .hide {
    opacity: 0;
}

.auth-form .show-pass-btn.hide-pass .show {
    opacity: 0;
}

.auth-form .show-pass-btn.hide-pass .hide {
    opacity: 1;
}

.form__item .nsfw {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
}

.form__item input[type="checkbox"] {
    margin-left: 1rem;
    height: 1rem;
    width: 1rem;
}

.form__item input[type="checkbox"]:active {
    box-shadow: none;
    outline: none;
}

.auth-form button[type="submit"] {
    line-height: 1.8rem;
    margin-top: 1rem;
    background-color: #0353a2;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: bold;
    font-size: 0.9rem;
}

.auth-form button[type="submit"]:hover {
    background-color: #035fbb;
    box-shadow: 0 0 4px #00C3DA;
}

.auth-form .alert {
    width: 100%;
    margin-bottom: 0.3rem;
    font-weight: bolder;
    font-size: 0.9rem;
    padding: 0 0.2rem;
    box-sizing: border-box;
}

.auth-form .alert .error {
    color: red;
}

.auth-form .alert .notification {
    color: #01a901;
}

