.utm-view-switch {
  padding: 16px 15px 0;
  text-align: center;
}
.utm-view-switch .utm-view-switch-group {
  display: inline-flex;
  border: 1px solid #577CFF;
  border-radius: 8px;
  overflow: hidden;
}
.utm-view-switch button {
  margin: 0;
  padding: 6px 20px;
  border: 0;
  background: #fff;
  color: #577CFF;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
.utm-view-switch button + button {
  border-left: 1px solid #577CFF;
}
.utm-view-switch button:hover, .utm-view-switch button:focus {
  background: rgba(87, 124, 255, 0.1);
  color: #577CFF;
  outline: 0;
}
.utm-view-switch button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(87, 124, 255, 0.4);
}
.utm-view-switch button.active, .utm-view-switch button.active:hover {
  background: #577CFF;
  color: #fff;
  cursor: default;
}

@media (min-width: 768px) {
  .modal-wrapper:has(> #utm-modal) {
    left: auto;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  #utm-modal {
    width: auto;
  }
}
#short-links-table td:first-child {
  overflow-wrap: anywhere;
}

#short-links-table > tbody > tr > td {
  padding: 12px 10px;
  vertical-align: middle;
}

#short-links-table > tbody > tr > td:nth-child(-n+5) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.utm-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #577CFF;
  border-radius: 8px;
  background: transparent;
  color: #577CFF;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
}
.utm-action:hover, .utm-action:focus {
  background: rgba(87, 124, 255, 0.1);
  outline: 0;
}
.utm-action:focus-visible {
  box-shadow: 0 0 0 2px rgba(87, 124, 255, 0.4);
}
.utm-action [class^=icon-] {
  font-size: 12px;
}

.utm-action-deactivate {
  border-color: #ff5a57;
  color: #ff5a57;
}
.utm-action-deactivate:hover, .utm-action-deactivate:focus {
  background: rgba(255, 90, 87, 0.1);
}
.utm-action-deactivate:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 90, 87, 0.4);
}
