/* Coupon link confirmation. Accent follows the connector's colour setting when present. */

.hcl-open { overflow: hidden; }

.hcl-overlay {
  --hcl-accent: var(--hostaway-color-primary, #2d8592);
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 21, 25, .6);
}

.hcl-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  border-radius: 14px;
  background: #fff;
  color: #1f2a2c;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.hcl-dialog:focus { outline: none; }

.hcl-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  color: #637277 !important;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.hcl-close:hover { background: #eef1f2 !important; }

.hcl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e8f6ec;
  color: #1a8a3c;
}

.hcl-dialog .hcl-title { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.3; }
.hcl-dialog .hcl-text { margin: 0 0 14px; color: #44525a; }
.hcl-dialog .hcl-code {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px dashed var(--hcl-accent);
  border-radius: 10px;
  letter-spacing: .02em;
}

.hcl-dialog .hcl-browse {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--hcl-accent);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}
.hcl-dialog .hcl-browse:hover { filter: brightness(.94); }

.hcl-close:focus-visible,
.hcl-browse:focus-visible { outline: 2px solid var(--hcl-accent); outline-offset: 2px; }
