* {
  box-sizing: border-box;
}

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

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container.wide {
  display: block;
  min-height: 100vh;
  padding: 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 500px;
  margin: 0 auto 24px auto;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

h1, h2 {
  margin-top: 0;
}

label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: bold;
}

input, textarea, button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  margin-bottom: 12px;
}

button {
  background: #0f766e;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #115e59;
}

.item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
  background: #f8fafc;
}

.item textarea {
  min-height: 90px;
}

.row-actions {
  display: flex;
  gap: 10px;
}

.row-actions button.reject {
  background: #b91c1c;
}

.row-actions button.reject:hover {
  background: #991b1b;
}

#msg {
  margin-top: 12px;
  color: #b91c1c;
  white-space: pre-wrap;
}