/* Country restrictions share the existing exercise tags, without a large icon. */
.exercise-access-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.exercise-access-status .chip {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin: 0;
}
.exercise-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-inline: 8px;
  color: var(--text-muted);
  border-color: var(--border-accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}
.exercise-geo-badge .student-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  overflow: visible;
}
.exercise-geo-badge .chip-label { font-size: 12px; }
.exercise-geo-blocked { cursor: not-allowed; }
.exercise-geo-blocked:hover { border-color: var(--border); }
.exercise-geo-blocked:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.account-blocked-page .card-content { text-align: center; }
.account-blocked-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  color: var(--accent-light);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
}
.account-blocked-icon .student-icon { width: 34px; height: 34px; }
.account-blocked-page .hero-row { justify-content: center; }
.account-blocked-page h1 { overflow-wrap: anywhere; }

/* Match the application's 1024px switch from bottom tabs to a left sidebar. */
.student-tabbar .desktop-admin-tab { display: none !important; }
@media (min-width: 1024px) {
  .student-tabbar .desktop-admin-tab {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left;
  }
  .student-tabbar.student-has-admin-link .toolbar-inner {
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  .exercise-access-status { grid-column: 2; }
  .exercise-access-status .exercise-status { grid-column: auto; }
}
@media (max-width: 360px) {
  .exercise-access-status .chip { padding-inline: 7px; }
  .exercise-access-status .chip-label { font-size: 11px; }
}
