/* Centered logo styles */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.rda-logo {
  max-width: 220px;
  height: auto;
  display: block;
}
:root {
  --text: #1a1a1a;
  --bg: #ffffff;
  --muted: #555555;
  --border: #c9c9c9;
  --card: #f8f8f8;
  --focus: #005ea2;
  --error: #b00020;
  --success: #146c2e;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border: 2px solid #000;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2 {
  line-height: 1.2;
}

.lead {
  margin-bottom: 0.5rem;
}

.required-note {
  margin-top: 0;
  margin-bottom: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.section-heading {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.field-label {
  margin: 0 0 0.25rem 0;
  font-weight: bold;
}

.requested-doc {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  word-break: break-word;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  max-width: 28rem;
  padding: 0.7rem;
  border: 1px solid #767676;
  border-radius: 0.25rem;
  background: #fff;
  color: var(--text);
}

button {
  appearance: none;
  border: 2px solid #003d6b;
  border-radius: 0.25rem;
  background: #005ea2;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #004b82;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.hint {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.error {
  margin-top: 0.35rem;
  color: var(--error);
  min-height: 1.2em;
}

.status {
  margin-top: 1rem;
  min-height: 1.5em;
  font-weight: bold;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--error);
}

.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a:focus,
button:focus,
input:focus,
.status:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
