body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%; /* Aumenta a largura para dispositivos menores */
    max-width: 800px; /* Limita a largura em desktops */
    margin: 20px auto;
    background-color: #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Garante que o padding não afete a largura total */
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quadrado {
    width: 15px;
    height: 15px;
    background-color: #007bff;
    margin-right: 10px;
}

h1 {
    color: #007bff;
    font-size: 1.8em;
    margin: 0;
}

.form-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
}

.form-flex div {
    width: 100%; /* Largura total em dispositivos móveis */
    margin-bottom: 10px; /* Adiciona espaço entre os campos */
}

/* Ajusta as larguras para desktops */
@media (min-width: 768px) {
    .form-flex div {
        width: 32%;
    }
}

label, span {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%),
                      linear-gradient(135deg, gray 50%, transparent 50%),
                      linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px),
                         calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    padding-right: 30px;
}

textarea {
    resize: vertical;
}

.form-flex-metade {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
}

.form-flex-metade input[type="number"] {
    width: 100%; /* Largura total em dispositivos móveis */
    margin-right: 0; /* Remove a margem em dispositivos móveis */
    margin-bottom: 10px; /* Adiciona espaço entre os campos */
}

@media (min-width: 768px) {
    .form-flex-metade input[type="number"] {
        width: 60%;
        margin-right: 10px;
    }
}

.check1 {
    display: flex;
    align-items: center;
}

.check1 input[type="checkbox"] {
    margin-right: 5px;
}

.confirm {
    margin-top: 20px;
}

.confirm input[type="checkbox"] {
    margin-right: 5px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.red-text {
    color: red;
}

.nav-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #ddd;
}

.nav-tabs li {
    display: inline-block;
}

.nav-tabs li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 2px solid transparent;
}

.nav-tabs li.active a {
    border-bottom: 2px solid #007bff;
    color: #007bff;
}
/* ... seus outros estilos CSS ... */

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 200px; /* Ajuste o tamanho conforme necessário */
    height: auto;
}

/* ... seus outros estilos CSS ... */