.telegram-connection {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 20px;
}
.telegram-connection-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(42, 171, 238, 0.13);
  color: #38ace8;
  font-size: 28px;
}
.telegram-connection-copy {
  flex: 1;
  min-width: 0;
}
.telegram-connection-copy strong {
  font-size: 15px;
}
.telegram-connection-copy p {
  margin: 5px 0;
  font-size: 13px;
  color: var(--text-muted, #929ba5);
}
.telegram-bot-name {
  font-size: 12px;
  color: var(--text-muted, #929ba5);
}
.telegram-status {
  white-space: nowrap;
  border-radius: 100px;
  padding: 5px 10px;
  background: rgba(140, 150, 160, 0.12);
  font-size: 12px;
}
.telegram-status.is-connected {
  background: rgba(44, 180, 148, 0.13);
  color: #51cbb0;
}
.telegram-actions {
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}
.telegram-connect-step {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--border, #343c42);
  border-radius: 12px;
}
.telegram-connect-step p {
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 16px;
}
.telegram-connect-step .settings-actions {
  gap: 10px;
  flex-wrap: wrap;
}
.telegram-period-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.telegram-period-preview span {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(140, 150, 160, 0.1);
  font-size: 13px;
}
@media (max-width: 560px) {
  .telegram-connection {
    flex-wrap: wrap;
    gap: 12px;
  }
  .telegram-connection-copy {
    flex-basis: calc(100% - 64px);
  }
  .telegram-status {
    margin-left: 60px;
  }
  .telegram-actions .button {
    flex: 1 1 auto;
  }
}
