/* style.css */

/* Variables */
:root {
  --bg: #f9f9fb;
  --card: #ffffff;
  --ink: #222;
  --border: #ddd;
  --accent: #0a4b78; /* Dark blue accent */
  --accent-light: #1d6fa5;
}

/* Page background */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg) url("bg-pattern.png") center center / cover no-repeat fixed;
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.45;
}

/* Container (form box) */
.container {
  max-width: 720px;
  margin: 48px auto;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* Headings */
h1, h2 {
  text-align: center;
  color: var(--accent);
}
h1 {
  margin-bottom: 0.5em;
}
h2 {
  margin-top: 1.5em;
}

/* Form elements */
label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 600;
}
input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}
input:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,75,120,0.15);
}

/* PayPal button container */
#paypal-button-container {
  margin-top: 20px;
}


/* Shared button styling */
.button {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 16px auto;
  padding: 12px 20px;
  background-color: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

.button:hover {
  background-color: var(--accent-light);
}


/* Price badge */
.price-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: bold;
}

/* Fine print */
.fine {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Divider */
.hr {
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* FAQ section */
details {
  margin: 10px 0;
}
details summary {
  font-weight: bold;
  cursor: pointer;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 4px;
}
details[open] summary {
  background: #e6edf3;
}

/* Hidden honeypot */
.hidden {
  display: none;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
