/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║ 🎨 customerRegistration.css – Estilo do Cadastro de Clientes – CONSART ERP ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* ─────────────────────────────────────────────
   🧾 Fieldsets e Legendas
   ───────────────────────────────────────────── */
fieldset {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 25px;
}

legend {
  padding: 0 12px;
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1rem;
}

/* ─────────────────────────────────────────────
   📋 Linhas e Campos de Formulário
   ───────────────────────────────────────────── */
.form-linha {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.form-campo {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="checkbox"],
input[type="password"],
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

input[type="checkbox"] {
  width: auto;
  margin-top: 10px;
}

/* ─────────────────────────────────────────────
   🧭 Botões
   ───────────────────────────────────────────── */
.form-botoes {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 30px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"] {
  background-color: #2e86de;
  color: white;
}

button.btn-limpar {
  background-color: #e0e0e0;
  color: #333;
}

button:hover {
  filter: brightness(0.95);
}

/* ─────────────────────────────────────────────
   📱 Responsivo
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .form-linha {
    flex-direction: column;
  }
}
