/* PDF download gate (security code dialog) */
#acs-doc-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  background: rgba(6, 43, 88, .5);
}

#acs-doc-gate[hidden] { display: none; }

#acs-doc-gate,
#acs-doc-gate * { box-sizing: border-box; }

#acs-doc-gate .acs-doc-gate__panel {
  width: min(92vw, 360px);
  padding: 22px;
  border: 1px solid #d6e0eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(6, 43, 88, .3);
  color: #1b2939;
  font-size: 14px;
  line-height: 1.45;
}

#acs-doc-gate .acs-doc-gate__panel > p:first-child {
  margin: 0 0 12px;
  color: #062b58;
  font-size: 16px;
  font-weight: 800;
}

#acs-doc-gate .acs-doc-gate__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  background: #f4f7fa;
}

#acs-doc-gate .acs-doc-gate__refresh,
#acs-doc-gate .acs-doc-gate__cancel {
  padding: 0;
  border: 0;
  background: none;
  color: #1267ad;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#acs-doc-gate .acs-doc-gate__refresh { margin: 8px 0 0; }

#acs-doc-gate .acs-doc-gate__input {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #b9c9d9;
  border-radius: 8px;
  font: inherit;
  font-size: 20px;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
}

#acs-doc-gate .acs-doc-gate__input:focus-visible {
  outline: 3px solid rgba(18, 103, 173, .28);
  outline-offset: 2px;
  border-color: #1267ad;
}

#acs-doc-gate .acs-doc-gate__error {
  margin: 8px 0 0;
  color: #b42318;
  font-weight: 700;
}

#acs-doc-gate .acs-doc-gate__open {
  margin: 14px 14px 0 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #1a66ff;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#acs-doc-gate .acs-doc-gate__open:hover { background: #1557db; }

#acs-doc-gate .acs-doc-gate__cancel { margin-top: 14px; }
