/* assets/css/site.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background: #fff;
  color: #000;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: monospace;
}

.human-link {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.15em;
}

.human-link:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------
   EXPERIENCE FORM
   ----------------------------------------------------------- */
#experience-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

#experience-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

#experience-form input,
#experience-form textarea,
#experience-form button {
  font: inherit;
}

#experience-form input,
#experience-form textarea {
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.75rem;
}

#experience-form textarea {
  min-height: 8rem;
  resize: vertical;
}

#experience-form button {
  align-self: flex-start;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

#experience-form button:hover,
#experience-form button:focus {
  background: #000;
  color: #fff;
}

/* -----------------------------------------------------------
   STATUS + COUNT
   ----------------------------------------------------------- */
#status {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

#status[data-state="error"] {
  font-weight: bold;
}

#status[data-state="success"] {
  font-weight: bold;
}

#submission-count {
  margin-bottom: 1rem;
}

/* -----------------------------------------------------------
   SUBMISSION ARCHIVE
   ----------------------------------------------------------- */
#submissions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.submission-card {
  border-top: 1px solid #000;
  padding-top: 1rem;
}

.submission-meta {
  margin-bottom: 0.75rem;
}

.submission-prompt {
  margin-bottom: 1rem;
}

.submission-prompt h3 {
  display: block;
  margin-bottom: 0.35rem;
}

.submission-prompt p {
  display: block;
}

.submissions-empty {
  opacity: 0.75;
}

/* -----------------------------------------------------------
   FEEDBACK FORM
   ----------------------------------------------------------- */
#feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

#feedback-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

#feedback-form input,
#feedback-form textarea,
#feedback-form select,
#feedback-form button {
  font: inherit;
}

#feedback-form input,
#feedback-form textarea,
#feedback-form select {
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.75rem;
}

#feedback-form textarea {
  min-height: 8rem;
  resize: vertical;
}

#feedback-form button {
  align-self: flex-start;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

#feedback-form button:hover,
#feedback-form button:focus {
  background: #000;
  color: #fff;
}
