/* Styles extracted from footer.php for CSP compliance */
.whistleblower-modal .modal-content { border-radius: 12px; border: none; }
.whistleblower-modal .modal-header { border-bottom: none; padding: 0.5rem 2rem 0.5rem; }
.whistleblower-modal .modal-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; }
.whistleblower-modal .modal-body { padding: 1rem 2rem 2rem; }
.whistleblower-modal .btn-close { padding: 1rem; opacity: 0.5; }
.whistleblower-modal .btn-close:hover { opacity: 1; }
.wb-description { color: #4a5568; font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
.wb-btn-primary { background-color: #ef4444; border: none; color: white; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 6px; transition: background-color 0.2s; }
.wb-btn-primary:hover { background-color: #dc2626; }
.wb-btn-secondary { background-color: transparent; border: none; color: #1a1a1a; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600; text-decoration: underline; transition: color 0.2s;  white-space: nowrap; }
.wb-btn-secondary:hover { color: #4a5568; }
.wb-btn-continue, .submit-btn, .wb-submit-btn { background-color: #EE2E24; border: none; color: white; padding: 0.875rem; font-size: 1rem; font-weight: 600; border-radius: 6px; width: 100%; transition: background-color 0.2s; }
.wb-btn-continue:hover, .wb-submit-btn:hover { background-color: #EE2E24; }
.wb-btn-continue:disabled { background-color: #fca5a5; opacity: 0.6; cursor: not-allowed; }
.wb-option-card { border: 2px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 1rem; }
.wb-option-card:hover { border-color: #d1d5db; background-color: #f9fafb; }
.wb-option-card.selected { border-color: #ef4444; background-color: #fef2f2; }
.wb-option-card input[type="radio"] { width: 20px; height: 20px; margin: 0; cursor: pointer; }
.wb-option-card label { margin: 0; font-size: 1rem; font-weight: 500; cursor: pointer; flex: 1; }
.wb-form-group { margin-bottom: 0.5rem; }
.wb-form-label { font-size: 0.95rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.5rem; display: block; }
.wb-form-label.required::after { content: "*"; color: #ef4444; margin-left: 4px; }
.wb-form-control { width: 100%; padding: 0.75rem; border: 2px solid #e5e7eb; border-radius: 6px; font-size: 0.95rem; transition: border-color 0.2s; }
.wb-form-control:focus { outline: none; border-color: #ef4444; }
.wb-form-control::placeholder { color: #9ca3af; }
textarea.wb-form-control { min-height: 120px; resize: vertical; }
.wb-file-upload { display: inline-block; position: relative; }
.wb-file-upload input[type="file"] { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.wb-file-label { display: inline-block; padding: 0.625rem 1.25rem; background-color: #f3f4f6; border: 1px solid #d1d5db; border-radius: 6px; cursor: pointer; font-size: 0.9rem; color: #4a5568; transition: background-color 0.2s; }
.wb-file-label:hover { background-color: #e5e7eb; }
.wb-file-name { margin-left: 0.75rem; color: #6b7280; font-size: 0.9rem; }
.wb-note { font-size: 0.875rem; color: #6b7280; margin-bottom: 1.5rem; font-weight: 500; }
.wb-section-title { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin-bottom: 0.5rem; }
.supporting-doc-label { color: #10b981; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; display: block; }

/* Cookie consent */
.cookie-consent { width: 98%; position: fixed; bottom: 1%; left: 1%; background: #fff; z-index: 2051; line-height: 20px; font-size: 16px; border-radius: 6px; box-shadow: 0px 0px 10px rgba(0,0,0,0.5); padding: 15px 10px; }
#accept-cookies { background-color: #ee2e24; border-radius: 3px; margin: 0px 15px; letter-spacing: 0.5px; color: #fff !important; border-style: none; }
#accept-cookies:hover { cursor: pointer; background-color: #0b45bb; color: #fff !important; }

/* Ensure modals use dark text color variable if overridden */
.modal { --bs-modal-color: black !important; }

/* Back to top button show state */
#button.show { display: block; }
.wb-ajax-alert {
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: .9rem;
  font-weight: 600;
}

.wb-alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #10b981 !important;
}

.wb-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444 !important;
}

.wb-alert-success *,
.wb-alert-error * {
  color: inherit !important;
}