/* Modern Dental V401 - official eNamad only. The white background is part of the seal card.
   Isolated from the original footer to keep its service rail layout intact. */
#modern-footer .md96-payment-preview.md401-trust-group {
  flex: 0 0 auto !important;
  min-width: 116px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  gap: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  align-self: center;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
#modern-footer .md401-seal-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#modern-footer .md401-enamad {
  box-sizing: border-box;
  display: flex !important;
  width: 108px;
  height: 108px;
  padding: 8px;
  flex: 0 0 108px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #dce6eb;
  background: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 6px 17px rgba(0, 23, 35, .22);
  text-decoration: none;
  color: #065969;
  cursor: pointer;
}
#modern-footer .md401-enamad img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border: 0;
}
#modern-footer .md401-enamad img[hidden] {display: none !important;}
#modern-footer .md401-enamad-fallback {
  color: #065969;
  font: 800 15px/1.5 Tahoma, sans-serif;
}
#modern-footer .md401-enamad-fallback[hidden] {display:none !important;}
#modern-footer .md401-enamad:hover { box-shadow: 0 7px 20px rgba(0, 23, 35, .30); }
#modern-footer .md401-enamad:focus-visible {outline: 3px solid #7be7ea; outline-offset: 3px;}
@media(max-width: 800px) {
  #modern-footer .md96-payment-preview.md401-trust-group {
    order: 5;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 106px !important;
    padding: 5px !important;
  }
  #modern-footer .md401-enamad {
    width: 100px;
    height: 100px;
    flex-basis: 100px;
    padding: 7px;
  }
}
