div.app-styles {
  max-width: 95%;
  margin: auto;
}

div.app-styles h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #1f2937;
}

div.app-styles form {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

div.app-styles input, div.app-styles textarea, div.app-styles select {
  width: 100%;
  padding: 0.75rem 0 0.75rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

div.app-styles button {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s ease;
}

div.app-styles button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* Default button (blue) */
div.app-styles button {
  background: #2563eb;
  color: #fff;
}
div.app-styles button:hover {
  background: #1e40af;
}

div.app-styles ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

div.app-styles li {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

div.app-styles li strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

div.app-styles li button {
  margin-top: 0.5rem;
}

/* Table styles */
div.app-styles table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

div.app-styles th, div.app-styles td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
}

div.app-styles th {
  background: #f3f4f6;
}

/* Special buttons */
div.app-styles .approve-btn {
  background: #10b981;
  color: #fff;
}
div.app-styles .approve-btn:hover {
  background: #059669;
}

div.app-styles .delete-btn {
  background: #ef4444;
  color: #fff;
}
div.app-styles .delete-btn:hover {
  background: #b91c1c;
}

div.app-styles #export-csv {
  background: #2563eb;
  color: #fff;
  margin-bottom: 1rem;
}
div.app-styles #export-csv:hover {
  background: #1e40af;
}

/* Inline status under the nomination form's submit button */
#form-wrapper .form-message {
  grid-column: 1 / -1; /* the site styles #nomination-form as a two-column grid */
  margin: 0.5rem 0 0;
  font-family: "Wix Madefor Display", sans-serif;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
#form-wrapper .form-message[hidden] { display: none; }
#form-wrapper .form-message--success {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #14532d;
}
#form-wrapper .form-message--error {
  background: #fef2f2;
  border-color: #b91c1c;
  color: #7f1d1d;
}
