@use '../../styles/font' as *;
@use '../../styles/variables' as *;

.not-found-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(760px, calc(100vh - 140px));
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(83, 109, 254, 0.1) 0%,
    rgba(83, 109, 254, 0.04) 100%
  );
  border-radius: 12px;
}

.not-found-page__container {
  width: 100%;
  max-width: 420px;
}

.not-found-page__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.not-found-page__brand-logo {
  width: 40px;
  height: 40px;
}

.not-found-page__brand-title {
  margin: 0;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: $blue;
}

.not-found-page__card {
  padding: 0;
  box-shadow: none !important;
}

.not-found-page__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px !important;
}

.not-found-page__status {
  margin: 0;
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: $blue;
}

.not-found-page__title {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: $dark-grey;
}

.not-found-page__subtitle {
  margin: 12px 0 0;
  font-size: $fs-normal;
  font-weight: 400;
  color: $grey;
}

.not-found-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
}

.not-found-page__action-button {
  min-width: 170px;
}

@media (max-width: $small) {
  .not-found-page {
    min-height: calc(100vh - 120px);
    padding: 16px;
    border-radius: 8px;
  }

  .not-found-page__brand-title {
    font-size: 26px;
  }

  .not-found-page__card-content {
    padding: 24px 16px !important;
  }

  .not-found-page__status {
    font-size: 60px;
  }

  .not-found-page__title {
    font-size: 24px;
  }

  .not-found-page__action-button {
    width: 100%;
  }
}
