/* HomePort — Base Styles v1
   Palette: Teal / Mint / Forest Green, matching locked branding */

:root {
  --teal: #0F6E6A;
  --mint: #D5EEE9;
  --forest: #1B4332;
  --grey-text: #555555;
  --white: #FFFFFF;
  --warning-bg: #FFF6DA;
  --warning-border: #E0A800;
  --red: #CC3333;
  --green: #1B8A47;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--mint);
  color: var(--forest);
}

/* ---------- Placeholder landing screen ---------- */
.placeholder-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.placeholder-screen h1 {
  color: var(--teal);
  font-size: 42px;
  margin-bottom: 6px;
}

.placeholder-screen p {
  font-size: 16px;
  margin: 4px 0;
}

.placeholder-screen a {
  color: var(--teal);
  font-weight: bold;
}

.status-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--grey-text);
  font-style: italic;
}

/* ---------- Form pages (signup / login) ---------- */
.form-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.form-page h1 {
  color: var(--teal);
  font-size: 36px;
  margin-bottom: 2px;
}

.form-page .tagline {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--grey-text);
}

.app-form {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 32px 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.app-form h2 {
  color: var(--teal);
  margin-top: 0;
  font-size: 22px;
}

.app-form h3 {
  color: var(--teal);
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.app-form label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-top: 14px;
  margin-bottom: 4px;
}

.required {
  color: var(--red);
  font-weight: bold;
}

.app-form input[type="text"],
.app-form input[type="email"],
.app-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 15px;
}

.app-form hr {
  border: none;
  border-top: 1px solid #E0E0E0;
  margin: 20px 0;
}

.optional-tag {
  font-weight: normal;
  color: var(--grey-text);
  font-size: 12px;
}

.field-hint {
  font-size: 12px;
  color: var(--grey-text);
  margin-top: 6px;
  margin-bottom: 0;
}

.field-hint code {
  background: var(--mint);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--forest);
}

/* ---------- Live requirement checklists ---------- */
.requirement-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.requirement {
  font-size: 12.5px;
  color: var(--red);
  padding: 2px 0;
  transition: color 0.2s ease;
}

.requirement.valid {
  color: var(--green);
  font-weight: bold;
}

/* ---------- Checkboxes / policies ---------- */
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: normal;
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.4;
}

.checkbox-line input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-line a {
  color: var(--teal);
  text-decoration: underline;
}

.cf-turnstile {
  margin-top: 18px;
}

.app-form button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.app-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 14px;
  font-size: 15px;
  font-weight: bold;
  min-height: 18px;
}

.form-message.success {
  color: #0F6E6A;
}

.form-message.error {
  color: #A33;
}

.switch-link {
  margin-top: 18px;
  font-size: 14px;
}

.switch-link a {
  color: var(--teal);
  font-weight: bold;
}

/* ---------- Policies reference page ---------- */
.policy-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px 60px 24px;
}

.policy-page h1 {
  color: var(--teal);
}

.policy-intro {
  color: var(--grey-text);
  font-size: 14px;
}

.policy-section {
  background: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.policy-section h2 {
  color: var(--teal);
  font-size: 18px;
  margin-top: 0;
}

.policy-footer {
  margin-top: 24px;
}

.policy-footer a {
  color: var(--teal);
  font-weight: bold;
}
