.account-view-nav {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 5px;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.account-view-nav a {
  min-width: 110px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.account-view-nav a[aria-current="page"] {
  background: var(--green);
  color: #fff;
}

.account-view-nav a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.profile-section form > label:not(.account-check) {
  min-width: 0;
}

#deliveryDetailsForm input {
  max-width: 100%;
}

#accountView,
#calendarView {
  padding-bottom: 20px;
}

@media (max-width: 800px) {
  .account-view-nav {
    width: 100%;
  }

  .account-view-nav a {
    flex: 1;
    min-width: 0;
  }
}
