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

/* General Layout */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e1f0ed;
  padding: 2rem 1rem;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #0b3b4e;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 1rem 1.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo {
  max-height: 220px;
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
}

.fdic-header {
  display: block;
  transform: scale(0.6);
  transform-origin: top center;
  height: auto;
  margin-top: 0.75rem;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Headings */
h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0b3b4e;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}

/* Form Sections */
form > div,
form fieldset {
  margin-bottom: 2rem;
}

fieldset {
  border: 1px solid #d9d9d6;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  background-color: #f8f9fa;
}

legend {
  font-weight: 600;
  font-size: 1.2rem;
  color: #0b3b4e;
  padding: 0 0.5rem;
}

/* Labels & Inputs */
label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #111;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
  border-color: #0b3b4e;
  box-shadow: 0 0 0 3px rgba(11, 59, 78, 0.2);
}

/* Textareas */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Button */
button {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #0b3b4e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

button:hover {
  background-color: #072d3a;
}

/* Identity Grid */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.identity-grid textarea {
  min-height: 60px;
}

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

/* Footer */
footer {
  background-color: #0b3b4e;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
}

.site-footer .pcb-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.footer-text a {
  color: #f5f5f5;
  text-decoration: underline;
}

.footer-text a:hover {
  text-decoration: none;
  color: #dbefff;
}

/* Status Messages */
.success,
.error {
  text-align: center;
  font-weight: bold;
  margin-top: 1.25rem;
}

.success {
  color: #2e7d32;
}

.error {
  color: #c62828;
}

/* Utility Classes */
.hidden {
  display: none;
}

.indent {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.small-text {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.4rem;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* === Top-Level Request Type Section === */
#main-request-fieldset {
  margin-bottom: 2rem;
  padding: 1.5rem 1.25rem;
  background-color: #f2f6f7;
  border: 2px solid #b6d3db;
  border-radius: 10px;
}

#main-request-fieldset legend {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b3b4e;
  margin-bottom: 1rem;
}

.top-request-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.top-request-options label {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  cursor: pointer;
}

.top-request-options input[type="radio"] {
  margin-right: 0.6rem;
  transform: scale(1.1);
}

/* Intro Text */
#intro-text {
  background-color: #eaf5f7;
  border-left: 5px solid #0b3b4e;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #0b3b4e;
  font-weight: 500;
}

