/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* Container do Formulário */
.form-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 { text-align: center; color: #2c3e50; margin-bottom: 10px; }
p { text-align: center; color: #7f8c8d; margin-bottom: 30px; }
hr { border: 0; border-top: 1px solid #eeeeee; margin: 25px 0; }

/* Grupos de Campos */
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: bold; color: #34495e; }

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

textarea { resize: vertical; }

/* Botão de Envio */
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.submit-btn:hover { background-color: #2980b9; }

/* Mensagens de Feedback */
#form-message { padding: 15px; margin-bottom: 20px; border-radius: 5px; text-align: center; font-weight: bold; }
.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Estilos para Validação de Campo */
.form-group input.invalid { border-color: #e74c3c; }
.error-message { color: #e74c3c; font-size: 13px; margin-top: 5px; display: none; }

/* Responsividade */
@media (max-width: 600px) {
    body { padding: 10px; }
    .form-container { padding: 20px; }
}