/* Request Access - page styles
 * External stylesheet (production CSP is style-src 'self' / no 'unsafe-inline'). */
:root {
  --burgundy: #722f37;
  --burgundy-light: #8b3a44;
  --cream: #fdf8f3;
  --charcoal: #3d3630;
  --soft-gray: #9e9890;
  --gold: #d4af37;
  --success: #4caf50;
}

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

body {
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.8;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  font-size: 48px;
  margin-bottom: 16px;
}

h1 {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 32px;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.subtitle {
  color: var(--soft-gray);
  font-size: 16px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.label-hint {
  font-weight: 400;
  color: var(--soft-gray);
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0d6cc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--burgundy);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  margin-bottom: 0;
}

.btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--burgundy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--burgundy-light);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.message {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: none;
}

.message.error {
  background: #ffebee;
  color: #c62828;
  display: block;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.success-container {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.success-container.show {
  display: block;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-container h2 {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.privacy-note {
  background: #f5f0eb;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--soft-gray);
}

.privacy-note strong {
  color: var(--charcoal);
}

footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0d6cc;
}

footer a {
  color: var(--burgundy);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.gratitude-text {
  margin-top: 24px;
  color: var(--soft-gray);
}

.footer-return {
  margin-top: 8px;
}

.footer-encrypt {
  margin-top: 10px;
  font-size: 11px;
  color: #9e9890;
  font-style: italic;
}

@media (max-width: 600px) {
  .container {
    padding: 24px 16px;
  }

  .card {
    padding: 24px;
  }

  h1 {
    font-size: 26px;
  }
}
