// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

.occurrence-count {
  display: flex;
  margin-left: auto !important;

  :global(.label):first-child {
    align-self: center;
  }

  :global(.new-occurrences-count) {
    &:global(.single-arrow) {
      display: flex;
      align-items: center;
    }

    .arrow {
      display: inline-block;
    }

    &:not(:global(.single-arrow)) {
      :global(.label) {
        margin-top: 8px;
      }

      .arrow {
        transform: rotate(15deg) scale(1.4);
      }
    }
  }

  .old-occurrences-count {
    :global(.label) {
      margin-bottom: 8px;
    }

    .arrow {
      display: inline-block;
      transform: rotate(-15deg) scale(1.4);
    }
  }
}
