/* stylelint-disable-next-line @stylistic/max-line-length */
$icons: "android", "apple", "brave", "chrome", "edge", "firefox", "linux", "opera", "safari", "samsung", "ubuntu", "unknown", "vivaldi", "windows", "xbox";

@mixin device-icon($icon-name) {
  .iconDevice__#{$icon-name} {
    background-image: url("../../../assets/devices/#{$icon-name}.svg");
  }
}

.SettingsActiveSession {
  :global(.modal-dialog) {
    max-width: 28rem;
  }
}

.iconDevice {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;

  background-repeat: no-repeat;
  background-size: 5rem;
}

@each $icon in $icons {
  @include device-icon($icon);
}

.title {
  margin-bottom: 0.25rem;
  text-align: center;
}

.note,
.date {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-align: center;
}

.box {
  margin: 1rem 0;
  padding: 1rem 1rem 0.5rem;
  border-radius: var(--border-radius-default);
  background: var(--color-background-secondary);
}

.actionHeader {
  margin-top: 1px;
}

.actionName {
  margin-right: auto;
}
