* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #06452f 0%,
            #075c3d 50%,
            #063d2b 100%
        );

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

/* =========================================
   LOGIN
   ========================================= */

.login-container {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 430px;

    background: #ffffff;

    border-radius: 15px;
    border: none;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.20);
}

.login-content {
    padding: 48px 48px 42px 48px;
}

/* =========================================
   LOGO
   ========================================= */

.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.logo-prefeitura {
    width: 105px;
    height: 105px;

    object-fit: contain;

    display: block;

    margin: 0 auto;
}

/* =========================================
   TÍTULO
   ========================================= */

.titulo {
    text-align: center;

    font-size: 25px;
    font-weight: 500;

    color: #111111;

    margin-top: 10px;
    margin-bottom: 4px;
}

.subtitulo {
    text-align: center;

    font-size: 16px;

    color: #8b8b8b;

    margin-bottom: 32px;
}

/* =========================================
   FORMULÁRIO
   ========================================= */

.form-label {
    font-size: 15px;

    color: #202020;

    margin-bottom: 8px;
}

.input-group-custom {
    position: relative;

    margin-bottom: 22px;
}

/* =========================================
   ÍCONES DOS CAMPOS
   ========================================= */

.input-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 21px;

    color: #555555;

    z-index: 3;

    pointer-events: none;
}

/* =========================================
   INPUTS
   ========================================= */

.form-control-custom {
    width: 100%;

    height: 48px;

    border: 1px solid #d7dce0;

    border-radius: 9px;

    padding-left: 52px;
    padding-right: 52px;

    font-size: 16px;

    color: #333333;

    outline: none;

    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: #168b55;

    box-shadow:
        0 0 0 3px rgba(22, 139, 85, 0.12);
}

.form-control-custom::placeholder {
    color: #8b8f94;
}

/* =========================================
   BOTÃO MOSTRAR SENHA
   ========================================= */

.toggle-password {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #555555;

    font-size: 20px;

    cursor: pointer;

    border-radius: 50%;
}

.toggle-password:hover {
    background: #f2f2f2;
}

.toggle-password:focus {
    outline: 2px solid #168b55;

    outline-offset: 1px;
}

/* =========================================
   BOTÃO ENTRAR
   ========================================= */

.btn-entrar {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 8px;

    background: #198f59;

    color: #ffffff;

    font-size: 18px;

    font-weight: 400;

    cursor: pointer;

    transition: all 0.2s ease;

    margin-top: 5px;
}

.btn-entrar:hover {
    background: #147b4c;
}

.btn-entrar:active {
    transform: translateY(1px);
}

/* =========================================
   MENSAGEM DE ERRO
   ========================================= */

.alert-login {
    border-radius: 8px;

    font-size: 14px;

    margin-bottom: 20px;
}

/* =========================================
   RODAPÉ DO LOGIN
   ========================================= */

.rodape {
    text-align: center;

    margin-top: 28px;

    color: #777777;

    font-size: 13px;

    line-height: 1.5;
}

/* =========================================
   RESPONSIVO
   ========================================= */

@media (max-width: 480px) {

    .login-container {
        padding: 15px;
    }

    .login-content {
        padding: 35px 25px 30px 25px;
    }

    .logo-prefeitura {
        width: 90px;
        height: 90px;
    }

    .titulo {
        font-size: 22px;
    }

    .subtitulo {
        font-size: 15px;
    }
}