@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --navy: #1B3A5C;
  --navy-dark: #2D2926;
  --teal: #00A499;
  --teal-dark: #006B6B;
  --coral: #E8634A;
  --grey: #63666A;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter Tight', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--navy-dark);
  background: #F5F5F3;
  margin: 0;
}

main {
  box-sizing: border-box;
  max-width: 720px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-top: 6px solid var(--teal);
}

.site-header {
  box-sizing: border-box;
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 0;
}

.site-header a {
  display: block;
  line-height: 0;
}

.conference-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.site-footer {
  box-sizing: border-box;
  max-width: 720px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

.site-footer a {
  color: var(--teal-dark);
}

h1, h2, h3, legend {
  font-family: var(--font-heading);
  color: var(--navy);
}

.banner {
  background: #E8F7F6;
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.note {
  font-size: 0.85rem;
  color: var(--grey);
}

.error {
  background: #FEF0EC;
  border: 1px solid var(--coral);
  color: #7a2b1c;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

fieldset {
  border: 1px solid #E8E8E6;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

legend {
  font-weight: 600;
  padding: 0 0.5rem;
}

label {
  display: block;
  margin-bottom: 0.9rem;
}

label.radio,
label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

label.radio input,
label.checkbox input {
  margin-top: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  display: block;
  width: 100%;
  height: 2.75rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  box-sizing: border-box;
  border: 1px solid #C8C9C7;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2363666A'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.24 4.5a.75.75 0 01-1.08 0l-4.24-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1.1rem;
}

a {
  color: var(--teal-dark);
}

button,
.btn,
.btn-secondary {
  display: inline-block;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
}

button,
.btn {
  background: var(--coral);
  color: #fff;
}

button:hover,
.btn:hover {
  background: #E8563A;
}

.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  padding: calc(0.7rem - 2px) calc(1.5rem - 2px);
}

.btn-secondary:hover {
  background: #E8F7F6;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

table.review-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

table.review-table th {
  font-family: var(--font-heading);
  color: var(--navy);
}

table.review-table th,
table.review-table td {
  border-bottom: 1px solid #E8EAEC;
  padding: 0.5rem;
  text-align: left;
  font-size: 0.9rem;
}
