/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; 
    
}


html, body {
    height: 100%;
   
}


main {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    
}


.title {
    font-size: 1.75rem;        /* 36px */
    font-weight: 700;          /* Bold */
    letter-spacing: -0.025em;  /* Tightens letter spacing */
    line-height: 2.5rem;       /* Standard leading for 4xl */
    margin-bottom: 0.5rem;     /* 8px */
    color: #0f172a;            /* Slate 900 - very dark blue/black */
}


/* prose content */

.prose-content h1, .prose-content .h1-title {
    font-family: var(--heading-font);
    font-size: clamp(1.07rem, 8vw, 1.13rem); /* The Big Boss */
    line-height: 1.1;
    font-weight: 600;
    padding-bottom: 0.25rem;
}

.prose-content h2, .prose-content .h2-title {
    font-size: clamp(0.96rem, 5vw, 1.03rem);
    font-weight: 500;
}

.prose-content h1 {
    margin-bottom: 0.75rem;
}

.prose-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.prose-content p {
    margin-bottom: 1rem;
}

.icon-success {
    color: #388E3C;
}



/* report an error start */

.modal-wrapper {display: flex;
justify-content: space-between;
align-items: center;
gap: 4px;
margin: 2rem 0 0 0;
grid-column: 1 / -1;  /* spans all columns */
}

.modal-wrapper .report-trigger {
    flex-shrink: 0;
}

.modal-wrapper-mobile {display: block;
margin: 1rem 0 0 0;
}

.modal-wrapper-mobile .legend {display: flex; gap: 12px;}

.modal-wrapper-mobile .report-trigger {
    margin: 2rem 0 0 0.25rem;
}

/* ── report trigger button ── */
.report-trigger {
  font-size: var(--notice-font-size);
  color: var(--footer-color);
  background: none;
  border: none;
  cursor: pointer;
  transition-property: color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.report-trigger:hover { color: #0f172a; }

/* ── modal backdrop ── */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-bg.open { display: flex; }

/* ── modal box ── */
.modal {
  background: #ffffff;
  border: 1px solid rgba(0, 53, 149, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin: 1rem;
  box-sizing: border-box;
  position: relative;
  z-index: 200;
}

.modal h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 4px;
}

.modal-sub {
  font-size: 0.8125rem;
  color: #475569;
  margin: 0 0 1.25rem;
}

.modal label {
  font-size: 0.8125rem;
  color: #475569;
  display: block;
  margin: 14px 0 4px;
}

/* ── inputs ── */
.modal select,
.modal textarea,
.search-input {
  width: 100%;
  font-size: 0.8125rem;
  color: #0f172a;
  padding: 8px 10px;
  border: 1px solid #E2E8F0; /* slate 200 */
  border-radius: 6px;
  background: #f8fafc;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 150ms;
}
.modal select:focus,
.modal textarea:focus,
.search-input:focus {
  outline: none;
  border-color: #CBD5E1; /* slate 300 */
}
.modal textarea { resize: vertical; min-height: 72px; }

/* ── dropdown ── */
.dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  z-index: 10;
  max-height: 180px;
  overflow-y: auto;
}
.dropdown-list.open { display: block; }
.drop-item {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #0f172a;
  cursor: pointer;
}
.drop-item:hover { background: #f1f5f9; }
.drop-item mark { background: none; font-weight: 500; color: #0f172a; }
.no-results { padding: 8px 12px; font-size: 0.8125rem; color: #475569; }

/* ── selected chip ── */
.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #0f172a;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  margin-top: 8px;
}
.selected-chip button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: #475569;
  padding: 0;
  line-height: 1;
}
.selected-chip button:hover { color: #0f172a; }

/* ── success bar ── */
.mini-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--signature-pale-blue);
  border: 1px solid rgba(0, 53, 149, 0.15);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 1.25rem;
}
.mini-success-text {
  font-size: 0.8125rem;
  color: var(--signature-color);
  flex: 1;
}
.report-another-btn {
  font-size: 0.75rem;
  color: var(--signature-color);
  background: none;
  border: 1px solid rgba(0, 53, 149, 0.15);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms;
}
.report-another-btn:hover { background: var(--signature-pale-blue); }

/* ── modal action buttons ── */
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 1.25rem;
  justify-content: flex-end;
}
.btn-cancel {
  font-size: 0.8125rem;
  color: #475569;
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 16px;
  cursor: pointer;
  transition: color 150ms;
}
.btn-cancel:hover { color: #0f172a; }
.btn-submit {
  font-size: 0.8125rem;
  color: #ffffff;
  background: var(--signature-color);
  border: 1px solid var(--signature-color);
  border-radius: 6px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 150ms;
}
.btn-submit:hover { background: #002b7a; }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* report an error end */

/* additional report an error start */

.search-wrap input#ing-search {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  color: #0f172a;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.search-wrap {
  position: relative;
  z-index: 200;
}

#ing-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  z-index: 300;
  max-height: 180px;
  overflow-y: auto;
}

.modal-actions button {
  font-size: 0.8125rem;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: none;
  color: #475569;
  transition: color 150ms;
}

.modal-actions button:hover {
  color: #0f172a;
}

.modal-actions #submit-btn {
    background: var(--signature-color);
    border-color: var(--signature-color);
    color: #ffffff;
}

.modal-actions #submit-btn:hover {
  background: #002b7a;
}

.modal-actions #submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* additional report an error end */