* {
    box-sizing: border-box;
}

html,
body,
form {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #f3f4f7;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* CENTER THE PAGE */
#form1 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* LOGIN CARD */
.login {
    width: 450px;
    max-width: 95%;
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 3px 18px rgba(0,0,0,.08);
}

/* LOGO */
.logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* TITLE */
.login h1 {
    text-align: center;
    margin: 10px 0 25px;
    color: #2f4a67;
    font-size: 22px;
    font-weight: 500;
}

/* FORM */
.form {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-icon-left {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    fill: #98a0a8;
}

.form-input {
    width: 100%;
    height: 44px;
    padding-left: 40px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
}

    .form-input:focus {
        outline: none;
        border-color: #2873cf;
        box-shadow: 0 0 0 3px rgba(40,115,207,.15);
    }

.pad-y-5 {
    padding: 12px 0;
}

#remember_me {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.form-link {
    color: #2873cf;
    text-decoration: none;
}

    .form-link:hover {
        text-decoration: underline;
    }

.btn {
    width: 100%;
    border: none;
    height: 45px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .btn.blue {
        background: #2f73d3;
        color: #fff;
    }

        .btn.blue:hover {
            background: #2768c3;
        }

@media (max-width: 768px) {
    .login {
        width: 95%;
    }
}
