/* Public desk pages sit on Picnic.css; these rules only lay out the card and form. */

:root {
  --desk-accent: #0074d9;
}

body {
  background: #f4f5f7;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.desk-page {
  padding: 2rem 1rem;
}

.desk-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.desk-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.desk-intro {
  color: #555;
}

.desk-field {
  margin-bottom: 1.25rem;
}

.desk-field > label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.desk-help {
  display: block;
  color: #666;
  margin-top: 0.25rem;
}

.desk-error {
  display: block;
  color: #c0392b;
  margin-top: 0.25rem;
}

.desk-field.has-error input,
.desk-field.has-error textarea,
.desk-field.has-error select {
  border-color: #c0392b;
}

.desk-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.desk-submit {
  background: var(--desk-accent);
}

.home {
  max-width: 640px;
  margin: 3rem auto;
}

.admin-form-link {
  margin-bottom: 0.5rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  background: #eef6ee;
}

.flash-alert {
  background: #fbeaea;
}

@media (max-width: 600px) {
  .desk-page {
    padding: 0;
  }

  .desk-card {
    border-radius: 0;
    padding: 1.25rem 1rem;
  }
}
