/* Job Prospect Validator — page-specific styles. Inherits typography from main.css. */

#status {
  color: #555;
  font-size: 0.95rem;
  margin: 1rem 0;
  min-height: 1.4em;
}

#chat-log {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 1rem;
  max-height: 60vh;
  overflow-y: auto;
  margin: 1rem 0;
  background: #fafafa;
}

.msg {
  margin-bottom: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.msg-assistant {
  color: #222;
}

.msg-user {
  color: #2d5a7a;
  padding-left: 1rem;
  border-left: 3px solid #407ea8;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

#chat-input {
  flex: 1;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  resize: vertical;
  min-height: 2.5em;
}

button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 1.1rem;
  background: #407ea8;
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

button:hover { background: #2d5a7a; }
button:disabled { background: #aaa; cursor: not-allowed; }

/* Honeypot — visually hidden but not display:none (bots check that). */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#fallback-form label {
  display: block;
  margin: 0.85rem 0 0.25rem;
  font-weight: 500;
}

#fallback-form input,
#fallback-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  box-sizing: border-box;
}

#panel-done, #panel-error {
  padding: 1.5rem;
  background: #f0f4f7;
  border-left: 3px solid #407ea8;
  margin: 1.5rem 0;
}
