body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f5f7fa;
  text-align: center;
  color: #333;
}

.container {
  margin-top: 80px;
}

h2 {
  color: #ff3b30;
}

.user-ip {
  font-weight: bold;
  color: #555;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

input[type=text], input[type=email] {
  width: 160px;
  padding: 8px;
  border-radius: 15px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  text-align: center;
}

input[type=text]:focus, input[type=email]:focus {
  border-color: #007aff;
  outline: none;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-mail, .btn-refresh {
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 20px;
  height: 35px; /* Hauteur uniforme */
  width: 180px;
  padding: 0 10px;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-refresh {
  background-color: #34c759;
}

.btn-mail:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
}

.btn-refresh:hover {
  background-color: #28a745;
  transform: translateY(-2px);
}

#response-message {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #007aff;
}

table {
  table-layout: fixed;
  width: 100%;
}

th:nth-last-child(-n+2),
td:nth-last-child(-n+2) {
  width: auto;
  white-space: normal;
}

th:not(:nth-last-child(-n+2)),
td:not(:nth-last-child(-n+2)) {
  width: 120px; /* fixe largeur pour toutes les colonnes sauf les 2 dernières */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
