/**
 * CM Google reCAPTCHA module
 * PrestaShop 1.7.x, 8.x & 9.x
 * CSS
 * Front-office
 */

/* Place of the checkbox, right above the submit button */
.cmr-holder {
  margin: 12px 0;
  max-width: 100%;
  overflow: hidden;
}
.cmr-holder-hidden {
  margin: 0;
}

.cmr-message {
  margin: 10px 0;
}

/* Badge of reCAPTCHA v3 / v2 invisible */
.cmr-badge-left .grecaptcha-badge {
  right: auto !important;
  left: 0 !important;
  width: 70px !important;
  overflow: hidden !important;
  transition: width 0.3s ease !important;
}
.cmr-badge-left .grecaptcha-badge:hover {
  width: 256px !important;
}
.cmr-hide-badge .grecaptcha-badge {
  visibility: hidden;
}
.cmr-legal {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #7a7a7a;
}

/* INSPECTOR MODE */
.cmr-protected.cmr-ins-ok {
  outline: 2px dashed #2e9e4f;
  outline-offset: 4px;
}
.cmr-protected.cmr-ins-warn {
  outline: 2px dashed #e69a00;
  outline-offset: 4px;
}
.cmr-protected.cmr-ins-bad,
form.cmr-ins-bad {
  outline: 2px dashed #d32f2f;
  outline-offset: 4px;
}

.cmr-ins-label {
  position: absolute;
  top: -14px;
  right: 8px;
  z-index: 9999;
  padding: 2px 8px;
  border-radius: 3px;
  font: bold 11px/16px Arial, Helvetica, sans-serif;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}
.cmr-ins-label-ok {
  background-color: #2e9e4f;
}
.cmr-ins-label-warn {
  background-color: #e69a00;
}
.cmr-ins-label-bad {
  background-color: #d32f2f;
}

.cmr-ins-panel {
  position: fixed;
  left: 10px;
  bottom: 80px;
  z-index: 2147483000;
  width: 320px;
  max-width: calc(100vw - 20px);
  max-height: 60vh;
  overflow: auto;
  border-radius: 6px;
  background-color: #1f2933;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font: 12px/1.45 Arial, Helvetica, sans-serif;
  color: #e4e7eb;
}
.cmr-ins-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #323f4b;
  font-size: 13px;
}
.cmr-ins-head button {
  padding: 1px 8px;
  border: 1px solid #7b8794;
  border-radius: 3px;
  background: none;
  font-size: 11px;
  color: #e4e7eb;
  cursor: pointer;
}
.cmr-ins-body {
  padding: 8px 12px 10px;
}
.cmr-ins-body p {
  margin: 0 0 3px;
}
.cmr-ins-body .cmr-ins-title {
  margin-top: 8px;
  font-weight: bold;
  color: #fff;
}
.cmr-ins-body .cmr-ins-meta {
  color: #9aa5b1;
}
.cmr-ins-body .cmr-ins-ok {
  color: #7be495;
}
.cmr-ins-body .cmr-ins-bad {
  color: #ff8a80;
}
.cmr-ins-collapsed .cmr-ins-body {
  display: none;
}

/* EOF */
