/* Base Reset */
* {
  box-sizing: border-box;
}

/* CSS Variables */
:root {
  --brand: #0b2a5b;
  --brandDark: #071d3f;
  --accent: #d4a62a;
  --accentDark: #b68818;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f6f7fb;
  --card: #fff;
  --border: #e5e7eb;
}

/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* Header Styles */
.sitebar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.sitebar .inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--brand);
  text-decoration: none;
}

.logoMark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #f3d37a);
  box-shadow: 0 8px 18px rgba(212, 166, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin-left: 14px;
}

.nav a:hover {
  color: var(--brand);
}

/* Layout */
.wrap {
  max-width: 560px;
  margin: 42px auto;
  padding: 0 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 32px 28px;
}

.top {
  text-align: center;
  margin-bottom: 24px;
}

.top h1 {
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--brand);
}

.top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* Form Fields */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-top: 12px;
  text-align: left;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 16px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.field input:focus,
.field select:focus {
  border-color: rgba(11, 42, 91, 0.4);
  box-shadow: 0 0 0 4px rgba(11, 42, 91, 0.07);
}

/* Submit Button */
.submitWrap {
  margin-top: 20px;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accentDark));
  color: #1f2937;
  font-weight: 700;
}

.btn-primary:hover {
  filter: brightness(0.97);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 17px;
}

/* Fine Print */
.fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  text-align: center;
}

.fineprint a {
  color: var(--brand);
  text-decoration: none;
}

.fineprint a:hover {
  text-decoration: underline;
}

/* Error Message */
.error {
  margin-top: 12px;
  background: #fff5f5;
  border: 1px solid #ffd1d1;
  color: #7f1d1d;
  border-radius: 10px;
  padding: 12px;
  display: none;
  text-align: left;
}

/* Footer Links */
.footerLinks {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

.footerLinks a {
  color: #0b2a5b;
  text-decoration: none;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* Thank You Page Styles */
.wrap .card h1 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 28px;
  color: #0b2a5b;
}

.wrap .card p {
  text-align: center;
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.6;
}

.wrap .card .btn {
  display: block;
  width: max-content;
  margin: 24px auto 0;
}

.wrap .card .small {
  display: block;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.wrap .card .small a {
  color: #0b2a5b;
  text-decoration: none;
}

.wrap .card .small a:hover {
  text-decoration: underline;
}
