/* Loher Mail - Interface Classique - Style Clair et Lisible */

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  background-color: #f5f7fa;
  color: #222;
}

main {
  max-width: 850px;
  margin: 2rem auto;
  padding: 1rem;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.nav {
  display: flex;
  gap: 1rem;
}

.card {
  background: white;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

form {
  margin: 0;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3399ff;
  box-shadow: 0 0 3px rgba(51,153,255,0.5);
}

button, .btn {
  background-color: #3399ff;
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

button:hover, .btn:hover {
  background-color: #2179d5;
}

.btn.secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn.secondary:hover {
  background-color: #ccc;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

th, td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

th {
  background-color: #f0f0f0;
  font-weight: 600;
  color: #333;
}

tr:hover {
  background-color: #f9f9f9;
}

.footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 3rem;
}
.nav form {
  display: inline;
}