* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    background-color: #f4f4f4;
}

header {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header img {
    max-width: 180px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 20px;
}

button {
    background-color: #377178;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px;
    transition: 0.3s;
}

button:hover {
    background-color: #5ca9b0;
}

footer {
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.required {
    color: red;
}

.flex-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.required {
    color: red;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group label {
    width: 150px;
    font-weight: bold;
}

textarea {
    height: 150px;
    resize: none;
}

/* 🔴 Ajuste a largura dos inputs */
.input-group input,
.input-group select,
.input-group textarea {
    flex: 1;
    /* Faz com que todos os campos ocupem o mesmo espaço */
    width: 150%;
    /* Faz com que ocupem toda a largura disponível */
    max-width: 1000px;
    /* Defina um tamanho máximo */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    /* Animação suave */
}

/* 🔵 Quando o usuário clicar no input (efeito de FOCUS) */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #007bff;
    /* Borda azul */
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
    /* Brilho ao redor */
    outline: none;
}

/* 🔵 Foco especial para o campo de mensagem */
.input-group textarea:focus {
    border-color: #28a745;
    /* Verde */
    box-shadow: 0px 0px 5px rgba(40, 167, 69, 0.5);
}

/* 🔴 Melhorando o design dos labels */
.input-group label {
    width: 150px;
    font-weight: bold;
    font-size: 16px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* 🔵 Responsividade: deixa os inputs 100% no celular */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        width: 100%;
        max-width: 100%;
    }

    .input-group label {
        width: 100%;
        margin-bottom: 5px;
    }
}