/**
 * @file
 * Styles for the events month navigator bar.
 */

.events-month-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0 0 28px;
  padding: 14px 20px;
  background: #0046ad; /* Dark blue background */
  border-radius: 50px; /* Fully rounded corners */
  box-sizing: border-box;
}

.events-month-filter__label {
  min-width: 160px;
  color: #fff; /* White text */
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.events-month-filter__prev,
.events-month-filter__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff; /* White circular background */
  color: #0046ad; /* Blue arrow color */
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.events-month-filter__prev:hover,
.events-month-filter__next:hover,
.events-month-filter__prev:focus,
.events-month-filter__next:focus {
  background: #f0f0f0;
  color: #0046ad;
  outline: none;
}

.events-month-filter__prev:focus-visible,
.events-month-filter__next:focus-visible {
  box-shadow: 0 0 0 2px #0046ad, 0 0 0 4px #fff;
}

@media (max-width: 575.98px) {
  .events-month-filter {
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
  }

  .events-month-filter__label {
    min-width: 0;
    font-size: 18px;
  }

  .events-month-filter__prev,
  .events-month-filter__next {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}