* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f3f6f9;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;
}

.main-content {
    width: 100%;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.row {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* LOGIN BOX */

.login-wrapper {
    width: 520px;
    max-width: 100%;

    margin: 0 auto;
    padding: 35px 32px;

    background: #ffffff;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* LOGO */

.login-left {
    width: 100%;
    text-align: center;

    padding-bottom: 25px;
    margin-bottom: 28px;

    border-bottom: 1px solid #e2e2e2;
}

.login-left img {
    width: 260px;
    max-width: 90%;
    height: auto;
}

/* FORM */

.login-right {
    width: 100%;
}

.login-right h2 {
    margin: 0 0 28px;

    color: #0c6f54;

    text-align: center;
    font-size: 27px;
    font-weight: 600;
}

form {
    width: 100%;
}

label {
    display: block;

    margin-bottom: 7px;

    color: #222;
    font-size: 15px;
    font-weight: 500;
}

/* INPUTS */

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    height: 52px;

    margin: 0 0 20px;
    padding: 0 16px;

    background: #ffffff;

    border: 1px solid #cfd4da;
    border-radius: 9px;

    color: #222;
    font-family: inherit;
    font-size: 16px;

    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #0c6f54;

    box-shadow: 0 0 0 3px rgba(12, 111, 84, 0.08);
}

/* BUTTON */

button {
    width: 100%;

    padding: 15px;

    background: #0c6f54;
    color: #ffffff;

    border: none;
    border-radius: 9px;

    font-family: inherit;
    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
}

button:hover {
    background: #095c46;
}

/* REGISTER */

.register-link {
    margin-top: 22px;

    text-align: center;
    font-size: 15px;
}

.register-link span {
    color: #333;
}

.register-link a {
    margin-left: 5px;

    color: #0c6f54;

    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ERROR */

.login-error {
    margin-bottom: 20px;
    padding: 12px 15px;

    background: #fff0f0;
    color: #c62828;

    border-left: 4px solid #c62828;
    border-radius: 7px;

    text-align: center;
    font-size: 14px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    body {
        min-height: 100vh;

        padding: 20px 14px;

        align-items: center;
    }

    .login-wrapper {
        width: 100%;
        max-width: 500px;

        padding: 32px 24px;

        border-radius: 16px;
    }

    .login-left {
        padding-bottom: 24px;
        margin-bottom: 25px;
    }

    .login-left img {
        width: 280px;
        max-width: 90%;
    }

    .login-right h2 {
        font-size: 26px;
        margin-bottom: 26px;
    }

    label {
        font-size: 16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    select {
        height: 56px;

        padding: 0 17px;

        font-size: 17px;
    }

    button {
        min-height: 56px;

        font-size: 18px;
    }

    .register-link {
        margin-top: 24px;

        font-size: 16px;
    }
}


/* SMALL PHONES */

@media (max-width: 400px) {

    body {
        padding: 14px 10px;
    }

    .login-wrapper {
        padding: 28px 18px;
    }

    .login-left img {
        width: 245px;
    }

    .login-right h2 {
        font-size: 24px;
    }
}