* {
    box-sizing: border-box;
    outline: none;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../img/login/background.svg);
    height: 100vh;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 1000px #202020 inset;
}

input:-webkit-autofill {
    border: 1px solid #666!important;
}

.login__form {
    width: 80%;
    max-width: 350px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
    margin: auto;
}

.login__form > * {
    width: 100%;
    margin-bottom: 20px;
    outline: none;
}

.form__logo {
    width: 70%;
    display: block;
    margin: auto auto 60px;
}

.login__form input[type="text"], .login__form input[type="email"], .login__form input[type="password"],
.login__form input[type="submit"], .login__form .select select {
    display: block;
    width: 100%;
    line-height: 2;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
}

.login__form input[type="text"]:focus, .login__form input[type="email"]:focus,
.login__form input[type="password"]:focus, .login__form .select select:focus {
    border: none;
}

.login__form input[type="submit"] {
    background: #4AA4F8;
    padding: 15px;
    margin: 50px 0 0;
    cursor: pointer;
}

.login__form input[type="submit"]:hover {
    background: #004a94;
    color: white;
}

.select {
    position: relative;
}

.select select {
    display: inline-block;
    width: 100%;
    cursor: pointer;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
}

.select select::-ms-expand {
    display: none;
}

.select select:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow {
    border-top-color: #ddd;
}
.select select:disabled ~ .select__arrow {
    border-top-color: #ddd;
}

.select::after {
    position: absolute;
    width: 18px;
    content: url(../img/login/arrow.svg);
    color: black;
    font-size: 1em;
    display: block;
    right: 15px;
    top: 20px;
    z-index: 1;
    pointer-events: none;
}

.select select option {
    border: none;
    color: #fff;
    padding: 3px 0;
    background: #202020;
    cursor: pointer;
}
