* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #1f2937;
}

.container {
  max-width: 760px;
  margin: 48px auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
textarea,
button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 8px;
  background: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.message {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.nav {
  margin-top: 20px;
}

.nav a {
  color: #2563eb;
  text-decoration: none;
}

.empty-state {
  padding: 20px;
  background: #f9fafb;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

th {
  background: #f8fafc;
}
