// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

@use '../mixins';
@use '../variables';

.CriticalIdlePrimaryDeviceModal__content {
  max-width: 440px;
  padding-block: 12px;
  padding-inline: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.CriticalIdlePrimaryDeviceModal__icon {
  &::after {
    content: '';
    display: block;
    width: 52px;
    height: 52px;
    @include mixins.color-svg(
      '../images/icons/v3/error/error-circle.svg',
      variables.$color-orange
    );
  }
}

.CriticalIdlePrimaryDeviceModal__header {
  @include mixins.font-title-medium;
  margin-block: 12px;
}

.CriticalIdlePrimaryDeviceModal__description {
  margin-block: 12px;
  margin-inline: 8px;
  color: light-dark(variables.$color-gray-60, variables.$color-gray-25);
  a {
    text-decoration: none;
  }
}

.CriticalIdlePrimaryDeviceModal__button {
  display: flex;
  justify-content: center;
  margin-block-start: 18px;

  button {
    padding-inline: 26px;
  }
}
