.nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(75 85 99);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-link:hover {
  background-color: rgb(243 244 246);
  color: rgb(17 24 39);
}

.nav-link-active {
  background-color: rgb(17 24 39);
  color: white;
}

.nav-link-active:hover {
  background-color: rgb(31 41 55);
  color: white;
}

.dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: rgb(55 65 81);
  text-decoration: none;
  transition: background-color 150ms ease;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: rgb(249 250 251);
}

.dropdown-item-active {
  background-color: rgb(249 250 251);
  font-weight: 500;
}

.dark .dropdown-item {
  color: rgb(226 232 240);
}

.dark .dropdown-item:hover,
.dark .dropdown-item-active {
  background-color: rgb(51 65 85);
}

.profile-popup-item {
  border-radius: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 150ms ease, color 150ms ease;
}

.profile-popup-item svg {
  color: rgba(255, 255, 255, 0.5);
  transition: color 150ms ease;
}

.profile-popup-item:hover,
.profile-popup-item:focus-visible,
.dark .profile-popup-item:hover,
.dark .profile-popup-item:focus-visible {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.profile-popup-item.dropdown-item-active,
.dark .profile-popup-item.dropdown-item-active {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
}

.profile-popup-item:hover svg,
.profile-popup-item:focus-visible svg {
  color: rgba(255, 255, 255, 0.58);
}

.profile-popup-item.dropdown-item-active svg {
  color: rgba(255, 255, 255, 0.72);
}

.profile-popup-item--danger {
  color: rgb(252 165 165);
}

.profile-popup-item--danger:hover,
.profile-popup-item--danger:focus-visible,
.dark .profile-popup-item--danger:hover,
.dark .profile-popup-item--danger:focus-visible {
  background-color: rgba(248, 113, 113, 0.08);
  color: rgb(252 165 165);
}

.profile-popup-item--danger svg {
  color: currentColor;
}

.profile-popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem;
  color: rgb(255 255 255);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.profile-popup-cta:hover,
.profile-popup-cta:focus-visible {
  background-color: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgb(255 255 255);
}

.profile-popup-cta--secondary {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.profile-popup-cta--secondary:hover,
.profile-popup-cta--secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgb(255 255 255);
}

.profile-popup-heading {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255);
}

.navbar-auth-popup input.profile-popup-field {
  width: 100%;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0.95rem;
  color: rgb(255 255 255);
  font-size: 0.92rem;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.navbar-auth-popup input.profile-popup-field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.navbar-auth-popup input.profile-popup-field:focus,
.navbar-auth-popup input.profile-popup-field:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.92);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.navbar-auth-popup input.profile-popup-field:-webkit-autofill,
.navbar-auth-popup input.profile-popup-field:-webkit-autofill:hover,
.navbar-auth-popup input.profile-popup-field:-webkit-autofill:focus {
  -webkit-text-fill-color: rgb(255 255 255);
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset;
  caret-color: rgb(255 255 255);
}

input.account-form-field,
select.account-form-field,
textarea.account-form-field {
  border-radius: 1.35rem;
}

input.account-form-field:focus,
input.account-form-field:focus-visible,
select.account-form-field:focus,
select.account-form-field:focus-visible,
textarea.account-form-field:focus,
textarea.account-form-field:focus-visible {
  outline: none;
  border-color: rgb(38 38 38);
  box-shadow: 0 0 0 3px rgba(38, 38, 38, 0.12);
}

.account-university-dropdown {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
}

.account-university-dropdown .program-filter-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgb(229 229 229);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 0.72rem 3rem 0.72rem 1.1rem;
  color: rgb(23 23 23);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.account-university-dropdown .program-filter-trigger:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgb(229 229 229);
}

.account-university-dropdown .program-filter-trigger:focus,
.account-university-dropdown .program-filter-trigger:focus-visible,
.account-university-dropdown.is-open .program-filter-trigger {
  outline: none;
  border-color: rgb(38 38 38);
  box-shadow: 0 0 0 3px rgba(38, 38, 38, 0.12);
}

.account-university-dropdown .program-filter-trigger-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-university-dropdown .program-filter-chevron {
  position: absolute;
  top: 50%;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: rgb(115 115 115);
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.account-university-dropdown.is-open .program-filter-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.account-university-dropdown .program-filter-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.account-university-dropdown .program-filter-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 40;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  background: rgba(7, 7, 7, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.account-university-dropdown .program-filter-search-shell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.account-university-dropdown .program-filter-search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.account-university-dropdown .program-filter-search-field:focus-within {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.account-university-dropdown .program-search-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.account-university-dropdown .program-filter-search-input {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  outline: none;
  text-transform: uppercase;
}

.account-university-dropdown .program-filter-search-input:focus,
.account-university-dropdown .program-filter-search-input:focus-visible,
.account-university-dropdown .program-filter-search-input:active {
  outline: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-university-dropdown .program-filter-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.account-university-dropdown .program-search-clear {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}

.account-university-dropdown .program-search-clear svg {
  width: 100%;
  height: 100%;
  display: block;
}

.account-university-dropdown .program-search-clear:hover,
.account-university-dropdown .program-search-clear:focus-visible {
  color: #ffffff;
  outline: none;
  opacity: 0.78;
}

.account-university-dropdown .program-filter-search-results {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.1rem;
}

.account-university-dropdown .program-filter-empty {
  padding: 0.95rem 0.9rem;
  border-radius: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-university-dropdown .program-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  overflow: hidden;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.account-university-dropdown .program-filter-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.account-university-dropdown .program-filter-option:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.account-university-dropdown .program-filter-option.is-selected {
  background: rgba(255, 255, 255, 0.13);
}

.account-university-dropdown .program-filter-option-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-university-dropdown .program-filter-check {
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
}

.profile-popup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.profile-popup-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.profile-popup-checkbox input {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: rgb(255 255 255);
}

.profile-popup-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  cursor: pointer;
}

.profile-popup-link:hover,
.profile-popup-link:focus-visible {
  color: rgb(255 255 255);
  text-decoration: underline;
}

.profile-popup-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.profile-popup-error {
  border-radius: 0.95rem;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.26);
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgb(254 202 202);
}

.shop-nav-cart-item {
  border-radius: 1rem;
  padding: 0.55rem;
  text-decoration: none;
}

.shop-nav-cart-thumb {
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.48);
}

.shop-nav-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-nav-cart-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgb(255 255 255);
}

.shop-nav-cart-meta {
  margin: 0.28rem 0 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.64);
}

.shop-nav-cart-price {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

.shop-nav-cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.shop-nav-cart-summary-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.shop-nav-cart-summary-value {
  font-size: 0.95rem;
  color: rgb(255 255 255);
}

.nav-main-reveal {
  display: inline-block;
  overflow: hidden;
  padding-top: 0.06em;
  margin-top: -0.06em;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.nav-main-reveal-text {
  display: block;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.menu-open .nav-main-reveal-text {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
  transform: translate3d(0, 24%, 0);
  opacity: 0.35;
  will-change: clip-path, transform, opacity;
  animation: nav-main-curtain-reveal 340ms linear both;
  animation-delay: var(--nav-reveal-delay, 0ms);
}

@keyframes nav-main-curtain-reveal {
  0% {
    clip-path: inset(100% 0 0 0);
    -webkit-clip-path: inset(100% 0 0 0);
    transform: translate3d(0, 24%, 0);
    opacity: 0.35;
  }
  100% {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-open .nav-main-reveal-text {
    animation: none;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    transform: none;
    opacity: 1;
  }
}
