/* Small reusable UI components */
.or-divider {
  display: flex;
  align-items: center;
  margin: var(--space-6) 0;
  text-align: center;
  padding: 0 var(--space-6); /* match telegram button row/form padding */
}
.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}
.or-text {
  padding: 0 var(--space-3); /* was var(--space-4) */
  color: var(--gray-500);
  font-size: var(--font-size-sm);
  font-weight: 600; /* a touch bolder for legibility */
  background: #fff;
  border-radius: 999px; /* subtle pill to avoid line bleed on complex backgrounds */
}

/* Telegram button styling (keeps 40px height like primary button) */
.telegram-button-row {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
}
.telegram-button {
  width: 100%;
  height: 40px;
  background: #e8f1fb;
  color: #0b66c3;
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  border: 1px solid #c8def9;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.telegram-button:hover {
  background: #d9e9ff;
  color: #0a58a6;
  border-color: #b9d5ff;
}
.telegram-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  color: currentColor;
}

/* Info modal (for protected notice) */
.info-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.info-modal-overlay.show {
  display: flex;
}
.info-modal-content {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 90%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.info-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.info-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--info-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.info-modal-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
}
.info-modal-message {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}
.info-modal-actions {
  display: flex;
  justify-content: flex-end;
}
.info-modal-button.primary {
  height: 40px;
  padding: 0 var(--space-4);
  background: var(--info-500);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}
.info-modal-button.primary:hover {
  background: var(--info-600);
}

/* Small parameter tag pill used on Gateway page */
.param-tag {
  background-color: var(--gray-200);
  color: var(--gray-700);
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 9999px;
  font-weight: 600;
}
