/* Estilo global */
nav {
    position: relative;
    top: 0;
    font-family: Arial, sans-serif;
    /* Corrigido */
    box-shadow: 1px 2px 5px black;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background-color: #f7f9fc;

}

body {
    background: rgb(152, 163, 164);
    background: no-repeat linear-gradient(129deg, rgba(152, 163, 164, 1) 39%, rgba(255, 255, 255, 1) 39%);
    font-family: 'Roboto', sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}


/* Container principal */
#appCep {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 19px rgba(0, 0, 0, 0.1);
    max-width: 70%;
    width: 50%;

}
/*  */
.formulario {
    margin-bottom: 20px;
}

/* Estilo para labels e inputs */
.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    color: #555;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    /* Ajustado */
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

/* Estilo para o botão */
.btn-primary {
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #357ABD;
}

/* Estilo para inputs readonly */
.form-control[readonly] {
    background-color: #f7f9fc;
    color: #999;
}

.longitude {
    border-top: 3px solid #616161;
    width: 90%;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom: 1rem;
}



/* Layout responsivo */
@media (max-width: 768px) {

    nav {
        position: relative;

    }

    #appCep {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        top: 10rem;
        padding: 10px;
    }

    .form-control {
        font-size: 14px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 10px;
    }
}
