@import url("./captcha-widget.css");

/* captcha widget — only #content centered, 300px */
.captcha-wrap {
  width: 100%;
  margin-bottom: 22px;
  min-height: 65px;
}

.captcha-wrap .main-wrapper {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.captcha-wrap #content {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 300px !important;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  border-color: #3a3a3a;
  background-color: #1c1c1c;
}

.captcha-wrap .theme-dark .cb-lb-t,
.captcha-wrap .theme-dark #verifying-text,
.captcha-wrap .theme-dark #success-text {
  color: #ddd;
}

.captcha-wrap #terms,
.captcha-wrap #terms a {
  color: #9a9a9a;
}

/* full-screen backdrop, modal — original offset position */
.verify-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(0, 0, 0, 0.72);
}

.verify-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.verify-window {
  font-family: Roboto, helvetica, arial, sans-serif;
  position: relative;
  top: auto;
  left: auto;
  width: 400px;
  max-width: calc(100vw - 40px);
  background-color: #313131;
  border: 1px solid #f2f2f2;
  border-radius: 2px;
  color: #f2f2f2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  z-index: 2147483647;
  flex-shrink: 0;
}

@media (max-width: 440px) {
  .verify-window {
    width: calc(100vw - 40px);
  }

  .verify-step-run {
    white-space: normal;
  }
}

.verify-window * {
  color: #f2f2f2;
}

.verify-main {
  padding: 16px;
  padding-bottom: 0;
  font-size: 14px;
}

.verify-main p:first-of-type {
  font-size: 18px;
  margin: 0 0 15px;
}

.verify-main ol {
  margin: 0;
  padding-left: 20px;
}

.verify-main ol li {
  margin-bottom: 10px;
  line-height: 1.45;
}

.verify-step-run {
  white-space: nowrap;
}

.win-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 3px;
  vertical-align: -3px;
  color: #f2f2f2;
}

.win-key svg {
  width: 16px;
  height: 16px;
  display: block;
}

.verify-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: none;
}

.verify-footer-left {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}

.verify-verify-button {
  flex-shrink: 0;
  background: #5e5e5e;
  padding: 9px 24px;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.verify-verify-button:hover {
  background: #4a4a4a;
}

body.verify-modal-open {
  overflow: hidden;
}
