* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: linear-gradient(
        135deg,
        #0f2747 0%,
        #173b68 50%,
        #24518a 100%
    );

    color: #172033;
}

/* =========================
   PÁGINA
========================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

/* =========================
   CONTAINER
========================= */

.login-container {
    width: 100%;
    max-width: 370px;
}

/* =========================
   CARD
========================= */

.login-card {
    width: 100%;

    background: #ffffff;

    padding: 30px 32px;

    border-radius: 12px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.20);
}

/* =========================
   LOGO
========================= */

.login-logo {
    display: flex;

    justify-content: center;

    margin-bottom: 18px;
}

.login-logo img {
    width: 145px;

    max-width: 70%;

    height: auto;

    display: block;
}

/* =========================
   CABEÇALHO
========================= */

.login-header {
    text-align: center;

    margin-bottom: 22px;
}

.login-header h1 {
    color: #14213d;

    font-size: 23px;

    font-weight: 700;

    margin-bottom: 6px;
}

.login-header p {
    color: #667085;

    font-size: 13px;
}

/* =========================
   FORMULÁRIO
========================= */

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #344054;

    font-size: 13px;

    font-weight: 600;
}

.form-group input {
    width: 100%;

    height: 43px;

    padding: 0 12px;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    background: #ffffff;

    color: #101828;

    outline: none;

    font-size: 14px;

    transition: 0.2s ease;
}

.form-group input::placeholder {
    color: #98a2b3;
}

.form-group input:focus {
    border-color: #1769aa;

    box-shadow:
        0 0 0 2px rgba(23, 105, 170, 0.10);
}

/* =========================
   OPÇÕES
========================= */

.login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 4px 0 18px;

    font-size: 12px;
}

.remember {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #667085;
}

.remember input {
    width: 13px;
    height: 13px;
}

.login-options a {
    color: #1769aa;

    font-weight: 600;

    text-decoration: none;
}

.login-options a:hover {
    text-decoration: underline;
}

/* =========================
   BOTÃO
========================= */

.login-button {
    width: 100%;

    height: 44px;

    border: 0;

    border-radius: 7px;

    background: #1769aa;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.login-button:hover {
    background: #125487;
}

/* =========================
   ALERTAS
========================= */

.login-alert {
    padding: 10px 12px;

    margin-bottom: 15px;

    border-radius: 7px;

    font-size: 12px;
}

.login-alert-error {
    background: #fff1f1;

    color: #b42318;

    border: 1px solid #fecdca;
}

.login-alert-success {
    background: #ecfdf3;

    color: #027a48;

    border: 1px solid #abefc6;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .login-page {
        padding: 15px;
    }

    .login-container {
        max-width: 350px;
    }

    .login-card {
        padding: 26px 22px;
    }

    .login-logo img {
        width: 130px;
    }

    .login-header h1 {
        font-size: 21px;
    }

}