/*
 * DREAMMAKER KALSHI CONNECTION HELP V1
 *
 * The original Help control remains available internally so its
 * existing working dialog action can be reused.
 */

/*
 * Hide only the original floating Help button.
 */
#dm-beta-help-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/*
 * Help control placed directly in the Kalshi connection instructions.
 */
#dm-kalshi-connection-help-container {
  display: block;
  width: 100%;
  margin: 20px 0 4px;
}

#dm-kalshi-connection-help-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  margin: 0;

  border: 1px solid rgba(80, 177, 255, 0.8);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(33, 103, 205, 0.98),
      rgba(36, 152, 190, 0.98)
    );

  box-shadow:
    0 12px 28px rgba(10, 73, 160, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;

  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#dm-kalshi-connection-help-button:active {
  transform: translateY(1px);
}

#dm-kalshi-connection-help-status {
  display: none;
  margin-top: 9px;

  color: rgba(220, 232, 255, 0.9);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 720px) {
  #dm-kalshi-connection-help-container {
    margin-top: 16px;
  }

  #dm-kalshi-connection-help-button {
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 15px;
  }
}
