/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 17 2026 | 08:06:52 */
/* ============================================================
   Popin de consultation des documents de garanties
   À coller dans le CSS personnalisé du plugin.
   Déclenchée par les liens <a class="mcm-doc-popin-link" href="…">
   ============================================================ */

#mcm-doc-popin {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

#mcm-doc-popin .mcm-doc-popin__modal {
  position: relative;
  width: 98%;
  max-width: 960px;
  height: 92vh;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#mcm-doc-popin .mcm-doc-popin__header {
  flex: 0 0 44px;
  height: 44px;
  min-height: 44px;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
  position: relative;
}

/* Titre accessible du dialogue, visible pour les lecteurs d'écran
   mais sans encombrer l'en-tête. */
#mcm-doc-popin .mcm-doc-popin__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#mcm-doc-popin .mcm-doc-popin__close {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  top: 6px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  border-radius: 4px;
}

/* Focus visible : obligatoire pour la navigation au clavier. */
#mcm-doc-popin .mcm-doc-popin__close:focus-visible {
  outline: 2px solid #522053;
  outline-offset: 2px;
}

#mcm-doc-popin .mcm-doc-popin__iframe-wrapper {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

#mcm-doc-popin iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.mcm-doc-popin-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  #mcm-doc-popin {
    padding: 8px;
  }

  #mcm-doc-popin .mcm-doc-popin__modal {
    width: 100%;
    height: 94vh;
  }

  #mcm-doc-popin .mcm-doc-popin__header {
    flex-basis: 38px;
    height: 38px;
    min-height: 38px;
  }

  #mcm-doc-popin .mcm-doc-popin__close {
    top: 4px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 28px;
  }
}