/* 🎨 Estilo Geral */
body {
  font-family: Arial, sans-serif;
  background-color: #f3f4f6;
  margin: 0;
  padding: 20px;
  color: #333;
}

/* 🧾 Cabeçalho */
header {
  background-color: #1e3a8a;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

/* 📝 Formulário de Nova Ligação */
.formulario {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.formulario h2 {
  margin-top: 0;
  color: #1e3a8a;
}

.formulario input,
.formulario select,
.formulario textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.formulario textarea {
  height: 80px;
  resize: vertical;
}

.formulario button {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.formulario button:hover {
  background-color: #1d4ed8;
}

/* 📋 Histórico de Ligações */
.lista {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lista h2 {
  color: #1e3a8a;
}

.lista table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.lista th,
.lista td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.lista th {
  background-color: #f0f0f0;
  color: #111827;
}

.lista tbody tr:hover {
  background-color: #f9fafb;
}

/* 🔙 Botão Voltar */
.btn-voltar {
  margin-top: 30px;
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-voltar:hover {
  background-color: #b02a37;
}
