/* Reset básico para evitar inconsistęncias entre navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    flex-direction: column;
}

body.imagem01 {
    background-image: url('../imagens/ecidade/login/imagem-01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.imagem02 {
    background-image: url('../imagens/ecidade/login/imagem-02.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.imagem03 {
    background-image: url('../imagens/ecidade/login/imagem-03.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.imagem04 {
    background-image: url('../imagens/ecidade/login/imagem-04.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.main {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-top: 140px;
    flex-grow: 1;
}

.content-login {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin: 0 auto;
}

.logo-ecidade {
    max-width: 150px;
    margin-bottom: 20px;
}

.container {
    text-align: left;
}

.access-fields {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

input[type="button"] {
    width: 100%;
    padding: 10px;
    background-color: #003764;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="button"]:hover {
    background-color: #0056b3;
}

.link-acesso a {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

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

.container-captcha {
    margin-top: 15px;
}

.container-captcha-hide {
    display: none;
}

/* Estilos responsivos para dispositivos móveis */
@media (max-width: 768px) {
    .main {
        /*width: 100%;*/
        max-width: 95%;
        margin-top: 80px;
        /*flex-grow: 1; !* Empurra o footer para baixo *!*/
    }

    .content-login {
        padding: 20px;
    }

    .logo-ecidade {
        max-width: 160px;
    }

    input[type="text"],
    input[type="password"],
    select {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .content-login {
        border-radius: 0;
        box-shadow: none;
    }

    input[type="button"] {
        font-size: 18px;
    }
}

.message {
    margin-top: 15px;
    color: red;
    font-size: 0.9rem;
}

.footer {
    background-color: #003764;
    color: #D3D3D3;
    padding: 10px 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    position: absolute;
    bottom: 0;
    width: 100%;
    /*box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);*/
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .footer {
        font-size: 12px;
        padding: 10px 5px;
    }
}

/**
 * jQuery UI - Autocomplete
 */
.ui-autocomplete-loading {
    background: transparent url('jQueryUI/images/ui-anim_basic_16x16.gif') right center no-repeat;
}
