.hide-submit [type^="submit"] {
  display: none;
}

.tag.orange {
  background-color: #fd7e14;
  border: transparent;
  color: black;
}

.tag.gray {
  background-color: #757575;
  color: white;
  border-color: transparent;
}

/* Haj Section Dynamic Color Styling */

.block-application,
.block-feature {
  background-color: var(--background-color, #f9fafb) !important;
  color: var(--color-text, #1f2a37) !important;
}

.field--name-field-ns-image {
  width: 100%;
}

.field--name-field-icon-shrd {
  margin: 0 !important;
  margin-top: 12px !important;
}

.hideBlock {
  display: none;
}

.fillter input[type="submit"] {
  color: transparent;
  background: transparent;
  border: transparent;
  background-image: url("/themes/custom/sfda_main/assets/icons/search.svg");
  background-position: center;
  background-repeat: no-repeat;

}


.fillter input[name="keywords"] {
  border: 1px solid #9da4ae;
  padding-inline-start: 36px;
  border-radius: 4px;
  background-image: url("/themes/custom/sfda_main/assets/icons/search.svg") !important;
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
  height: 40px !important;
}

.drop-down-filters label,
.drop-down-filters div[id^="edit-actions"] {
  display: none;
}

.fillter input::placeholder {
  color: #9ea4a9;
}

header #search-block-form {
  flex-flow: nowrap;
  padding: 0;
}

.first-filter .js-hide {
  display: none !important;
}


.hide-submit input[type="submit"] {
  display: none !important;
}

.breadcrumb-item a {
  color: #384250;
  text-decoration: none;
}

.feedback-form legend {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.sticky-news .views-element-container {
  height: 100% !important;
}

/* Feedback Analytics Dashboard */
.feedback-analytics-dashboard {
  padding: 40px 0;
}

.feedback-analytics-dashboard .card {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background: #fff;
}

.feedback-analytics-dashboard .card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.feedback-analytics-dashboard .card-header {
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1rem 1rem 0 0;
}

.feedback-analytics-dashboard .card-header h6 {
  margin: 0;
  font-weight: 700;
  color: #212529;
  font-size: 1.125rem;
}

.feedback-analytics-dashboard .card-body {
  padding: 1.5rem;
}

.feedback-analytics-dashboard h2 {
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.feedback-analytics-dashboard .text-muted {
  color: #6c757d !important;
  font-size: 0.9375rem;
}

.feedback-analytics-dashboard .summary-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.feedback-analytics-dashboard .summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd 0%, #0dcaf0 100%);
}

.feedback-analytics-dashboard .summary-card .text-primary {
  color: #0d6efd !important;
}

.feedback-analytics-dashboard .summary-card .text-success {
  color: #198754 !important;
}

.feedback-analytics-dashboard .summary-card .text-info {
  color: #0dcaf0 !important;
}

.feedback-analytics-dashboard .summary-card .text-warning {
  color: #ffc107 !important;
}

.feedback-analytics-dashboard .summary-card h3,
.feedback-analytics-dashboard .summary-card .fw-bold {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.feedback-analytics-dashboard .summary-card p,
.feedback-analytics-dashboard .summary-card .text-muted {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.feedback-analytics-dashboard .card-body {
  overflow: hidden;
  position: relative;
}

.feedback-analytics-dashboard .table {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.feedback-analytics-dashboard .table-dark {
  background-color: #212529;
  color: #fff;
}

.feedback-analytics-dashboard .table-dark th {
  font-weight: 600;
  padding: 1rem;
  color: black;
}

.feedback-analytics-dashboard .table td {
  vertical-align: middle;
  padding: 0.875rem 1rem;
}

.feedback-analytics-dashboard .table-hover tbody tr:hover {
  background-color: #f8f9fa;
}

.feedback-analytics-dashboard .badge {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

.feedback-analytics-dashboard .badge.bg-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.feedback-analytics-dashboard .badge.bg-success {
  background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.feedback-analytics-dashboard .badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

.feedback-analytics-dashboard .badge.bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
  color: #000;
}

.feedback-analytics-dashboard .badge.bg-secondary {
  background-color: #6c757d;
}

.feedback-analytics-dashboard .alert {
  border-radius: 0.75rem;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
}

.feedback-analytics-dashboard .alert h6 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.feedback-analytics-dashboard .alert-success {
  background: linear-gradient(135deg, #d1e7dd 0%, #a3cfbb 100%);
  color: #0f5132;
}

.feedback-analytics-dashboard .alert-info {
  background: linear-gradient(135deg, #cfe2ff 0%, #9ec5fe 100%);
  color: #084298;
}

.feedback-analytics-dashboard .alert-primary {
  background: linear-gradient(135deg, #cfe2ff 0%, #9ec5fe 100%);
  color: #084298;
}

.feedback-analytics-dashboard .alert-secondary {
  background: linear-gradient(135deg, #e2e3e5 0%, #d3d4d5 100%);
  color: #41464b;
}

.feedback-analytics-dashboard .btn-outline-primary {
  border-color: #0d6efd;
  color: #0d6efd;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
}

.feedback-analytics-dashboard .btn-outline-primary:hover {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-color: #0d6efd;
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.3);
}


.performance-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  min-width: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.performance-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.performance-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.performance-excellent {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: 2px solid #28a745;
}

.performance-good {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #212529;
  border: 2px solid #ffc107;
}

.performance-poor {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  color: white;
  border: 2px solid #dc3545;
}

@media (max-width: 768px) {
  .performance-indicator {
    min-width: 80px;
    padding: 8px 12px;
  }

  .performance-label {
    font-size: 0.7rem;
  }
}


@media (max-width: 768px) {
  .feedback-analytics-dashboard {
    padding: 24px 0;
  }

  .feedback-analytics-dashboard .summary-card h3,
  .feedback-analytics-dashboard .summary-card .fw-bold {
    font-size: 2rem;
  }

  .feedback-analytics-dashboard .card-body {
    padding: 1rem;
  }

  .feedback-analytics-dashboard .table-responsive {
    font-size: 0.875rem;
  }

  .feedback-analytics-dashboard .card-header {
    padding: 1rem;
  }

  .feedback-analytics-dashboard .card-header h6 {
    font-size: 1rem;
  }
}

.feedback-analytics-dashboard .card {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-analytics-dashboard .bi {
  font-size: 1.125rem;
  vertical-align: middle;
}

.feedback-analytics-dashboard .text-center.text-muted {
  padding: 3rem 1.5rem;
}

.feedback-analytics-dashboard .text-center.text-muted .bi {
  font-size: 3rem;
  opacity: 0.5;
}

.open-data-teaser .field--type-entity-reference {
  margin: 0px !important;
}

.list-category-card {
  text-decoration: unset !important;
}

.page-view-lists .tags.mb-4 {
  margin-bottom: 0px !important;
}


.cal-res-img {
  max-width: 100px;
}

.active-warning.red {
  background-color: #FEF3F2;
  border-color: #FECDCA !important;
  color: #912018;
}

.active-warning.orange {
  background-color: #FFF4ED;
  border-color: #FFBE98 !important;
  color: #7A2E0E;
}

.full-width-item {
  grid-column: 1 / -1;
}

.d-grid-custom {
  display: grid;
}

.iti {
  display: block;
}

.webform-submission-form.bg-light .webform-button--submit {
  width: auto;
}

.webform-submission-page-usefulness-feedback-form .webform-options-display-buttons .webform-options-display-buttons-wrapper,
.webform-submission-page-usefulness-feedback-form .webform-flexbox.mb-3,
.form-item-was-this-page-useful.mb-3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hidden {
  display: none;
}

.webform-submission-newsletter-form .shs-field-container .visually-hidden {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.webform-submission-newsletter-form .shs-field-container .visually-hidden:after {
  content: " *";
  color: #ee1500;
}

.webform-submission-newsletter-form .form-item-region label {
  display: none;
}

.path-node-type-custom-page .view-content-by-category .fillter .first-filter {
  padding: 0px !important;
}

.path-node-type-custom-page .view-content-by-category .fillter .first-filter .form-search {
  width: 100%;
}

/* Alert Wrapper */

.alert-wrapper {
  position: unset !important;
}

.alert-wrapper .alert {
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  margin: 0.3rem 0;
}

.alert-wrapper .alert hr {
  margin: 5px 0;
  opacity: 0;
}

.alert-wrapper .alert-heading {
  display: none !important;
}

.alert-wrapper .alert svg {
  width: 48px;
  height: 48px;
  margin-inline: 1rem;
}

.alert-wrapper .alert-dismissible {
  padding-left: 0 !important;
}

.icon-eye {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: black;
  -webkit-mask: url('/themes/custom/sfda_main/assets/icons/eye.svg') no-repeat center;
  mask: url('/themes/custom/sfda_main/assets/icons/eye.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-download {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: black;
  -webkit-mask: url('/themes/custom/sfda_main/assets/icons/download-w.svg') no-repeat center;
  mask: url('/themes/custom/sfda_main/assets/icons/download-w.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.nav-tabs-style-3 li a {
  transition: 0.1s;
  color: #384250 !important;
  text-decoration: none;
  position: relative;
}

.nav-tabs-style-3 li a {
  transition: 0.1s;
  color: #384250 !important;
  text-decoration: none;
  position: relative;
}

.nav-tabs-style-3 li a::before {
  content: "";
  position: absolute;
  inset-inline-start: -16px;
  height: 100%;
  width: 3px;
  border-radius: 99px;
}

.sidebar nav .nav {
  margin: 0;
}

.path-node-view-mode-full .node .field__label {
  font-weight: 700;
}

.path-node-view-mode-full .field--type-entity-reference {
  margin: 0px;
}

.content-without-TOC .content-block {
  padding: 32px;
}

[dir=ltr] .path-node-type-custom-page .inner-hero .bg-img img {
  transform: scaleX(-1);
}

.path-frontpage .views-exposed-form .border-top {
  border: none !important;
}

.hero-section .hero-slider {
  height: 100%;
}

/* ========= Start: labiba Web Bot Div styles ========= */
#labibaWebBotDiv #titlebarlabiba {
  background-color: #1B8354 !important;
}

#titlebarlabiba div div:nth-child(1) img {
  display: none;
}

#titlebarlabiba .lc-p2mx8f {
  color: #fff;
  font-size: 1rem;
}

#defaultfont2 .justify-content-around .btn-primary {
  background-color: #1B8354 !important;
  color: #fff;
  border-color: #1B8354 !important;
}

#defaultfont2 .justify-content-around .btn-primary:hover {
  color: #fff !important;
}

#titlebarlabiba svg {
  color: #fff
}

/* ========= End: labiba Web Bot Div styles ========= */


/* SVG Icon Color Classes - Target path elements specifically */
.top-header .fill-dark path,
.top-header .hover-fill-primary path {
  fill: #1B8354 !important;
  /* Green color */
}

.top-header .hover-fill-primary:hover path {
  fill: #28a745 !important;
  /* Lighter green on hover */
}

/* Alternative: Target the buttons directly */
.top-header .invert-action svg path,
.top-header .zoom-in-action svg path,
.top-header .zoom-out-action svg path {
  fill: #1B8354 !important;
}

.top-header .invert-action:hover svg path,
.top-header .zoom-in-action:hover svg path,
.top-header .zoom-out-action:hover svg path {
  fill: #28a745 !important;
  /* Lighter green on hover */
}

/* Reduce spacing between top header accessibility buttons */
.top-header .d-flex.align-items-center.gap-3.gap-sm-4 {
  gap: 0.5rem !important;
  /* Reduces from 16px/24px to 8px */
}

svg.ext,
svg.tel,
svg.mailto {
  display: inline-block;
  background-color: #1b8354;
  -webkit-mask: url(/themes/custom/sfda_main/custom/images/ext-links.svg) no-repeat bottom;
  mask: url(/themes/custom/sfda_main/custom/images/ext-links.svg) no-repeat bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  content: "";
  margin-inline-start: 3px;
}

.bg-light-none {
  background-color: transparent !important;
}

header .btn span.extlink-nobreak svg {
  display: none;
}

.path-frontpage .bef-links {
  flex-wrap: nowrap;
  overflow: auto;
}


footer svg.ext,
footer svg.tel,
footer svg.mailto,
.btn-primary svg.ext,
.btn-primary svg.tel,
.btn-primary svg.mailto
{
  background-color: #fff;
}

.field--search-api-excerpt strong {
  background: #1b8354;
  color: white;
  font-weight: 400;
  padding: 0px 10px;
  border-radius: 5px;
}

.hero-section .text .tag a {
  color: #161616;
  text-decoration: none;
}

.hero-section .text .tag a svg.ext,
.hero-section .text .tag a svg.tel,
.hero-section .text .tag a svg.mailto {
  display: inline-block;
  background-color: #161616;
  -webkit-mask: url(/themes/custom/sfda_main/custom/images/ext-links.svg) no-repeat bottom;
  mask: url(/themes/custom/sfda_main/custom/images/ext-links.svg) no-repeat bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  content: "";
  margin-inline-start: 3px;
}

header a .extlink-nobreak {
  margin-inline-start: 3px;
}

.bg-light-green{
  background-color: #F7FDF8;
}

/* Back to Top Button */
.backToTopBtn {
  position: fixed;
  bottom: 65px;
  z-index: 9999;
  height: 50px;
  width: 50px;
  font-size: 20px;
  border: none;
  color: #ffffff;
  border-radius: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #166a44;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  -webkit-tap-highlight-color: transparent;
}

 .backToTopBtn {
  left: 15px;
  bottom: 80px;
}

.backToTopBtn.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.backToTopBtn:hover {
  background: #1B8354;
  transform: translateY(-2px);
}

.backToTopBtn.active svg {
  fill: #ffffff;
}

.backToTopBtn:active {
  background: white;
}

.backToTopBtn.active:hover {
  transform: translateY(-2px);
}

.backToTopBtn:focus {
  outline: none;
}

@media (max-width: 767px) {
  .backToTopBtn {
    bottom: 20px;
    height: 45px;
    width: 45px;
    font-size: 18px;
  }

  .backToTopBtn {
    left: 13px;
    bottom: 86px;
  }
}

/* ============ Webform Utility Classes ============ */

.webform-section-wrapper.row.webform-spaced {
  display: flex;
  flex-wrap: wrap;
 
}

.webform-submission-form .webform-spaced {
  margin: 0.1rem;
}

.webform-spaced .js-form-item,
.webform-spaced .form-item {
  margin-bottom: 1.5rem;
}

.webform-spaced .col-md-6 {
  flex: 0 0 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
}

.webform-spaced .col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.webform-spaced .js-form-type-checkbox,
.webform-spaced .form-check {
  display: flex;
  align-items: end;
  gap: 0.5rem;
}

.webform-spaced .form-check-input {
  margin-top: 0.25rem;
  margin-inline-end: 0;
}

@media (max-width: 768px) {
  .webform-spaced .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.webform-submission-form strong.error.form-item--error-message {
  margin: 6px 0px;
}

/* ============ ITI Input Styles ============ */

.iti {
  display: flex;
}

.iti__flag {
  display: none;
}

.iti--separate-dial-code .iti__selected-flag {
  background: none !important;
}

.iti--separate-dial-code .iti__selected-flag:hover {
  background: none !important;
}

[dir="rtl"] .iti--allow-dropdown .iti__flag-container,[dir="rtl"] .iti--separate-dial-code .iti__flag-container {
  right: 0;
  left: auto;
}

[dir="rtl"] .iti--allow-dropdown input[type="tel"] {
  direction: rtl;
  padding-right: 40px !important;
  padding-left: 0 !important;
}

[dir="ltr"] .iti--allow-dropdown .iti__flag-container,[dir="ltr"] .iti--separate-dial-code .iti__flag-container {
  right: auto;
  left: 0;
}

[dir="ltr"] .iti--allow-dropdown input[type="tel"] {
  direction: ltr;
  padding-right: 0 !important;
  padding-left: auto;
}

.iti__arrow {
  width: 18px;
  height: 18px;
  background-image: url(/themes/custom/sfda_main/assets/icons/arrow-down-1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-top: none;
}

.iti__arrow--up {
  border-top: none;
  border-bottom: none;
}

.is-node--view-mode-full video {
  width: 100%;
}

.is-node--type-mediacenter .swiper-pagination-bullets {
  bottom: -30px !important;
}

.is-node--type-mediacenter audio {
  width: 100%;
}

.node--view-mode-full .field.field--name-field-file-media.field--type-entity-reference,
.node--view-mode-full .field.field--name-field-file-media-2.field--type-entity-reference,
.node--view-mode-full .field.field--name-field-file-media-3.field--type-entity-reference,
.node--view-mode-full .field.field--name-field-file-media-4.field--type-entity-reference
 {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

/* Modal Styles */
.modal-header {
  align-items: center;
}


.modal-header .close {
  padding: 0 !important;
  margin: 0 !important;
}
ul.pagination{
flex-wrap:wrap
}

.modal-body{
padding:0 !important;}


.modal-open button.backToTopBtn ,.modal-open #labibaWebBotDiv div {
  z-index: 0 !important;
}


/* End: Modal Styles */

.circularFlag {
  border: none !important;
}


.feedback-form .ajax-progress.ajax-progress-throbber,
 .ajax-progress.ajax-progress-throbber {
  position: absolute;
}
.feedback-form .form-actions {
  position: relative;
}

.form-managed-file {
  position: relative;
}

.js-form-type-managed-file [name="attachments_upload_button"] {
  /* position: absolute;
  top: 0;
  max-width: max-content;
  inset-inline-end: 0;
  height: 40px;
  margin-inline-end: -62px; */
display: none;
}
@media (max-width:576px) {
  .js-form-type-managed-file [name="attachments_upload_button"]{
  margin-inline-end: 0;
  }
}

.form-managed-file [name="attachments_remove_button"] {
  max-width: max-content;
      margin-top: 8px;
}

.js-form-type-managed-file .js-form-type-checkbox{
display: flex;
align-items: center;
gap: 6px;
}

.form-managed-file [name="files[attachments][]"]{
      margin-bottom: 24px;
}

.btn-primary:focus  {
  background-color: #1B8354 !important;
}

.calculator-info-alert.alert {
  background-color: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  border-inline-start: 7px solid #D1D5DB !important;
}

.calculator-info-alert__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.calculator-info-alert__close {
  flex-shrink: 0;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.calculator-info-alert__title {
  color: #1F2937;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.calculator-info-alert__desc {
  font-size: 0.875rem;
  color: #6B7280;
}

.ajax-progress.ajax-progress-fullscreen {
  display: none !important;
}

.webform-type-radios legend {
  font-size: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Status / notification messages (JS-rendered .messages markup).             */
/* White-card notification design: subtle border, rounded corners, a colored  */
/* inline-start accent bar, a distinctive type icon, a colored title and      */
/* helper text. The markup comes from the Bootstrap theme messages.js theme   */
/* override (Drupal.theme.message).                                           */
/* -------------------------------------------------------------------------- */

.messages.messages--status,
.messages.messages--warning,
.messages.messages--error,
.messages.messages--info {
  margin: 0.5rem 0;
}

/* Default (neutral) palette, overridden per type below. */
.messages .messages__content.alert {
  --sfda-msg-accent: #98A2B3;
  --sfda-msg-title: #344054;
  --sfda-msg-icon-bg: #F2F4F7;
  --sfda-msg-icon: none;

  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon title close"
    "icon desc  close";
  align-items: start;
  column-gap: 0.75rem;
  row-gap: 0.125rem;

  background-color: #fff;
  border: 1px solid #EAECF0;
  border-inline-start: 6px solid var(--sfda-msg-accent) !important;
  box-shadow:
    0 4px 8px -2px rgba(16, 24, 40, 0.06),
    0 2px 4px -2px rgba(16, 24, 40, 0.04);
  padding: 1rem 1.25rem;
  color: #475467;
}

/* Per-type colors and distinctive icon (circle/triangle + glyph, baked in). */
.messages.messages--status .messages__content.alert {
  --sfda-msg-accent: #17B26A;
  --sfda-msg-title: #067647;
  --sfda-msg-icon-bg: #ECFDF3;
  --sfda-msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067647' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
}

.messages.messages--info .messages__content.alert {
  --sfda-msg-accent: #2E90FA;
  --sfda-msg-title: #175CD3;
  --sfda-msg-icon-bg: #EFF8FF;
  --sfda-msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175CD3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.messages.messages--warning .messages__content.alert {
  --sfda-msg-accent: #F79009;
  --sfda-msg-title: #B54708;
  --sfda-msg-icon-bg: #FFFAEB;
  --sfda-msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B54708' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.messages.messages--error .messages__content.alert {
  --sfda-msg-accent: #F04438;
  --sfda-msg-title: #B42318;
  --sfda-msg-icon-bg: #FEF3F2;
  --sfda-msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3L2.5 20h19z'/%3E%3Cline x1='12' y1='10' x2='12' y2='14'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

/* Distinctive icon badge. */
.messages .messages__content.alert::before {
  content: "";
  grid-area: icon;
  align-self: start;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--sfda-msg-icon-bg);
  background-image: var(--sfda-msg-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

/* Title: promote the normally visually-hidden heading. */
.messages .messages__content.alert > h2 {
  grid-area: title;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: start;
}

/* Helper text. */
.messages .messages__content.alert > .messages__item {
  grid-area: desc;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475467;
}

.messages .messages__content.alert > .messages__item a {
  color: var(--sfda-msg-title);
  text-decoration: underline;
}

/* Close button: reset Bootstrap's absolute positioning into the grid. */
.messages .messages__content.alert > .btn-close {
  grid-area: close;
  align-self: start;
  position: static !important;
  width: 14px;
  height: 14px;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0.6;
}

.messages .messages__content.alert > .btn-close:hover {
  opacity: 1;
}

.messages .messages__content.alert > .btn-close:focus {
  box-shadow: none;
}

.js-webform-document-file  input[type=file] {
    z-index: -9999;
}

.js-form-type-webform-document-file .js-form-managed-file {
    order: 3;
    margin-top: 16px;
    justify-content: space-between;
}

footer .footer-menu .head-subtitle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.head-subtitle {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.fake .head-subtitle {
  color: #B42318;
}

.truth .head-subtitle {
  color: #175CD3;
}