/* Auth popup for snapshot pages — matches m.dancebet.com entrance modal */
.popup-holder-bc.entrance-popup-bc {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: block;
  background: rgb(18, 30, 57);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.popup-holder-bc.entrance-popup-bc.hidden {
  display: none !important;
}

.popup-holder-bc.entrance-popup-bc .popup-middleware-bc,
.popup-holder-bc.entrance-popup-bc .popup-inner-bc {
  min-height: 100%;
  background: rgb(18, 30, 57);
  position: relative;
}

.popup-holder-bc.entrance-popup-bc .e-p-close-icon-bc {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-header-bc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 0;
  min-height: 48px;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-header-bc .hdr-logo-bc {
  width: 115px;
  height: 36px;
  object-fit: contain;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-actions-holder-bc {
  display: flex;
  gap: 8px;
  padding: 8px 16px 0;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-content-bc {
  padding: 8px 16px 24px;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-text-bc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin: 8px 0 4px;
}

.popup-holder-bc.entrance-popup-bc .entrance-f-item-bc {
  margin-top: 12px;
}

.popup-holder-bc.entrance-popup-bc .form-control-label-bc.inputs {
  display: block;
  position: relative;
}

.popup-holder-bc.entrance-popup-bc .form-control-input-bc,
.popup-holder-bc.entrance-popup-bc .form-control-select-bc {
  width: 100%;
  background: rgb(31, 46, 68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #fff;
  padding: 14px 12px 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.popup-holder-bc.entrance-popup-bc .form-control-input-bc.has-password-toggle {
  padding-left: 40px;
}

.popup-holder-bc.entrance-popup-bc .form-control-label-bc.inputs:focus-within .form-control-title-bc,
.popup-holder-bc.entrance-popup-bc .form-control-input-bc:focus ~ .form-control-title-bc,
.popup-holder-bc.entrance-popup-bc .form-control-input-bc:not(:placeholder-shown) ~ .form-control-title-bc,
.popup-holder-bc.entrance-popup-bc .form-control-select-bc.active + .form-control-title-bc {
  top: 8px;
  transform: none;
  font-size: 11px;
}

.popup-holder-bc.entrance-popup-bc .form-control-title-bc {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  pointer-events: none;
  transition: 0.15s;
}

.popup-holder-bc.entrance-popup-bc .password-toggle-bc {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 4px;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

.popup-holder-bc.entrance-popup-bc .password-toggle-bc:hover {
  color: #fff;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-submit-holder-bc {
  margin-top: 16px;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-submit-holder-bc .btn.a-color {
  width: 100%;
  background: rgb(38, 92, 240);
  border: 0;
  min-height: 44px;
}

.popup-holder-bc.entrance-popup-bc .btn.s-small.sign-in,
.popup-holder-bc.entrance-popup-bc .btn.s-small.register {
  opacity: 0.55;
}

.popup-holder-bc.entrance-popup-bc .btn.s-small.sign-in.active,
.popup-holder-bc.entrance-popup-bc .btn.s-small.register.active {
  opacity: 1;
  background: rgb(38, 92, 240);
}

.popup-holder-bc.entrance-popup-bc .entrance-form-link-bc {
  display: block;
  text-align: right;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-top: 0;
  text-decoration: none;
  direction: rtl;
}

.popup-holder-bc.entrance-popup-bc .entrance-f-item-checkbox-bc {
  margin-top: 16px;
}

.popup-holder-bc.entrance-popup-bc .checkbox-control-bc {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
  direction: rtl;
  text-align: right;
  width: 100%;
}

.popup-holder-bc.entrance-popup-bc .checkbox-control-input-bc {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  background: rgb(31, 46, 68);
  cursor: pointer;
  opacity: 1 !important;
  display: inline-block !important;
  position: relative;
}

.popup-holder-bc.entrance-popup-bc .checkbox-control-input-bc:checked {
  background: rgb(38, 92, 240);
  border-color: rgb(38, 92, 240);
}

.popup-holder-bc.entrance-popup-bc .checkbox-control-input-bc:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.popup-holder-bc.entrance-popup-bc .checkbox-control-text-bc {
  flex: 1;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-terms-block-bc {
  margin-top: 4px;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-terms-title-bc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  margin: 10px 0 6px;
  text-align: right;
  direction: rtl;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-terms-row-bc {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-recaptcha-bc {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  line-height: 1.2;
  padding: 4px;
  box-sizing: border-box;
}

.popup-holder-bc.entrance-popup-bc .entrance-f-error-message-bc {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 8px;
}

.popup-holder-bc.entrance-popup-bc .entrance-form-support-bc {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.auth-popup-open {
  overflow: hidden;
}

body.auth-popup-open #root {
  pointer-events: none;
}
