:root {
  --deep: #041526;
  --mid: #0b2f4a;
  --accent: #1fa2ff;
  --accent-2: #6edff6;
  --foam: #d9f4ff;
  --text: #e8f4ff;
  --muted: #9fc4d8;
  --exam-neutral: rgba(129, 212, 250, 0.18);
  --exam-pass: rgba(105, 223, 157, 0.32);
  --exam-fail: rgba(255, 136, 136, 0.28);
  --exam-answer: #0f3c64;
  --exam-panel: rgba(6, 24, 40, 0.9);
  --exam-panel-border: rgba(255, 255, 255, 0.12);
  --exam-button-border: rgba(129, 212, 250, 0.4);
  --exam-button-text: #e8f4ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(14px, 1vw + 0.35rem, 18px);
  background: radial-gradient(120% 120% at 20% 20%, rgba(31, 162, 255, 0.15), transparent 45%), radial-gradient(120% 120% at 80% 10%, rgba(110, 223, 246, 0.16), transparent 40%), linear-gradient(135deg, #031120, #0a2238 45%, #0f3f65 100%);
  color: var(--text);
  min-height: 100vh;
  overflow: auto;
  letter-spacing: 0.01em;
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.8;
  mix-blend-mode: screen;
  animation: drift 16s ease-in-out infinite alternate;
}

.glow.glow-1 {
  width: 36vmax;
  height: 36vmax;
  top: -8%;
  right: -10%;
  background: radial-gradient(circle at 30% 30%, rgba(31, 162, 255, 0.35), transparent 55%);
}

.glow.glow-2 {
  width: 28vmax;
  height: 28vmax;
  bottom: -14%;
  left: -10%;
  background: radial-gradient(circle at 60% 50%, rgba(110, 223, 246, 0.32), transparent 60%);
  animation-duration: 18s;
}

.wave {
  position: absolute;
  left: -12%;
  width: 124%;
  border-radius: 55% 45% 0 0;
  transform-origin: center;
}

.wave.wave-1 {
  height: 44%;
  bottom: -10%;
  background: linear-gradient(180deg, rgba(31, 162, 255, 0.4) 0%, rgba(12, 56, 90, 0.9) 60%, rgba(7, 27, 47, 1) 100%);
  filter: blur(3px);
}

.wave.wave-2 {
  height: 42%;
  bottom: -18%;
  background: linear-gradient(180deg, rgba(0, 122, 223, 0.25) 0%, rgba(8, 36, 60, 0.85) 80%);
  filter: blur(7px);
  opacity: 0.7;
  transform: rotate(-2deg);
}

.floaters {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(14px 14px at 12% 22%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(18px 18px at 78% 30%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(10px 10px at 65% 70%, rgba(110, 223, 246, 0.14), transparent 55%),
    radial-gradient(12px 12px at 28% 78%, rgba(255, 255, 255, 0.1), transparent 55%);
  opacity: 0.45;
  animation: sway 22s ease-in-out infinite alternate;
}

.layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.5rem;
  width: 100%;
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
}

.app {
  display: flex;
  gap: 1.5rem;
  padding: 3rem 2.5rem 3.5rem;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.sidebar {
  width: 280px;
  flex: 0 0 280px;
}

.content-panel {
  flex: 1 1 auto;
}

.sidebar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.sidebar .logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.75rem;
  background: rgba(31, 162, 255, 0.12);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar .logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.sidebar .logo .meta {
  margin: 0;
  text-align: left;
}

.sidebar .logo .name {
  color: #e8f4ff;
  font-weight: 800;
}

.sidebar .logo .muted-text {
  color: rgba(232, 244, 255, 0.7);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nav a {
  text-decoration: none;
}

.nav .item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid transparent;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.nav .item .bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(110, 223, 246, 0.6);
}

.nav .item .label {
  font-weight: 700;
}

.nav .item:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav .item.is-active {
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.15), rgba(110, 223, 246, 0.15));
  border-color: rgba(110, 223, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 122, 223, 0.25);
}

.sidebar-actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.68rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 99, 132, 0.45);
  background: rgba(255, 99, 132, 0.16);
  color: #ffd4de;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.logout-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 99, 132, 0.68);
  background: rgba(255, 99, 132, 0.24);
}

.content-panel {
  width: 100%;
}

.grid-top,
.grid-bottom,
.view {
  width: 100%;
}

.view-courses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  width: 100%;
}

.view-courses .tile {
  align-content: start;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.grid-two .tile {
  min-height: clamp(260px, 45vh, 520px);
}

.list-title,
.list-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.grid-three .title {
  font-size: clamp(14px, 0.95vw + 0.35rem, 16px);
}

.grid-three .desc {
  font-size: clamp(13px, 0.8vw + 0.3rem, 15px);
}

.grid-three .list-title,
.grid-three .list-meta {
  font-size: clamp(12px, 0.75vw + 0.25rem, 14px);
}

.view-courses .grid-three .title {
  font-size: clamp(12px, 0.62vw + 0.2rem, 14px);
}

.view-courses .grid-three .desc {
  font-size: clamp(10.5px, 0.5vw + 0.18rem, 12px);
}

.view-courses .grid-three .list-title,
.view-courses .grid-three .list-meta {
  font-size: clamp(9.5px, 0.44vw + 0.16rem, 11px);
}

.view-courses .grid-three .tag {
  font-size: clamp(0.6rem, 0.28vw + 0.34rem, 0.72rem);
  padding: clamp(0.12rem, 0.15vw + 0.07rem, 0.2rem) clamp(0.38rem, 0.24vw + 0.18rem, 0.5rem);
  gap: clamp(0.14rem, 0.1vw + 0.08rem, 0.2rem);
  line-height: 1.15;
  white-space: nowrap;
}

.view-courses .grid-three .list-title {
  gap: 0.32rem;
  white-space: nowrap;
}

/* Lower three course tiles: show up to 4 rows, then scroll */
@media (min-width: 1025px) {
  .view-courses .grid-three {
    align-items: start;
  }

  .view-courses .grid-three .tile {
    min-height: auto;
    align-self: start;
  }

  .view-courses .grid-three .list {
    gap: 0.45rem;
    min-height: calc((4 * 2.35rem) + (3 * 0.45rem));
    max-height: calc((4 * 2.35rem) + (3 * 0.45rem));
    overflow-y: auto;
  }

  .view-courses .grid-three .list .list-item {
    min-height: 2.35rem;
    padding: 0.42rem 0.6rem;
    gap: 0.5rem;
  }
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.content-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.content-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.view-fahrten {
  width: 100%;
}

.view-fahrten .tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: clamp(420px, 70vh, 820px);
}

.view-fahrten .calendly-embed {
  flex: 1;
  min-height: clamp(520px, 75vh, 920px);
  height: clamp(520px, 75vh, 920px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.view-fahrten .calendly-inline-widget {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.view-nachrichten .tile {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.view-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.view-support .tile--support {
  max-width: 980px;
  align-content: start;
  gap: 0.75rem;
}

.view-pruefung {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.view-pruefung .tile--examdata {
  align-content: start;
  gap: 0.8rem;
}

.pruefung-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.pruefung-section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.pruefung-section h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.pruefung-list {
  display: grid;
  gap: 0.55rem;
}

.pruefung-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 0.58rem 0.66rem;
  display: grid;
  gap: 0.28rem;
}

.pruefung-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.pruefung-item__kind {
  font-weight: 800;
  color: var(--text);
}

.pruefung-item__meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.pruefung-item__line {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.38;
}

.pruefung-item__line strong {
  color: #d7eafb;
  font-weight: 800;
}

.pruefung-item__link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.1rem;
  color: #bfefff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
}

.pruefung-item__link:hover {
  text-decoration: underline;
}

.pruefung-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.pruefung-state--upcoming {
  background: rgba(68, 208, 123, 0.16);
  color: #a7f2c8;
  border-color: rgba(68, 208, 123, 0.58);
}

.pruefung-state--cancel {
  background: rgba(255, 99, 132, 0.16);
  color: #ffc4cf;
  border-color: rgba(255, 99, 132, 0.55);
}

.pruefung-state--past {
  background: rgba(110, 223, 246, 0.15);
  color: #c9ecff;
  border-color: rgba(110, 223, 246, 0.45);
}

.support-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.support-form__label {
  display: block;
  font-weight: 700;
  color: #d5e7f4;
  font-size: 0.95rem;
}

.support-form__input,
.support-form__textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.support-form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.45;
}

.support-form__input::placeholder,
.support-form__textarea::placeholder {
  color: rgba(233, 244, 255, 0.65);
}

.support-form__input:focus,
.support-form__textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(110, 223, 246, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.support-form__actions {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.support-form__submit {
  appearance: none;
  border: 1px solid rgba(110, 223, 246, 0.45);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.35), rgba(110, 223, 246, 0.34));
  color: #e8f4ff;
  border-radius: 12px;
  font-weight: 800;
  padding: 0.72rem 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.support-form__submit:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 223, 246, 0.65);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.46), rgba(110, 223, 246, 0.44));
}

.support-form__submit:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.support-form__status {
  color: var(--muted);
  font-size: 0.92rem;
}

.support-form__status.is-success {
  color: #8deac2;
}

.support-form__status.is-error {
  color: #ffc4cf;
}

.view-falschfragen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  width: 100%;
}

.view-falschfragen .tile {
  align-content: start;
  gap: 0.9rem;
}

.ff-overview-hint {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 174, 66, 0.4);
  background: rgba(255, 174, 66, 0.12);
  color: #ffe2b8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ff-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.ff-progress-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.ff-progress-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ff-progress-value {
  color: var(--foam);
  font-size: 1.15rem;
  font-weight: 900;
}

.ff-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ff-mode-card {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: var(--text);
  padding: 0.8rem 0.85rem;
  text-align: left;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.ff-mode-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.ff-mode-card:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ff-mode-title {
  font-weight: 800;
  line-height: 1.2;
}

.ff-mode-count {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--foam);
}

.ff-mode-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.ff-question-meta {
  font-weight: 800;
  color: var(--foam);
}

.ff-question-type {
  color: var(--muted);
  font-size: 0.9rem;
}

.ff-question-text {
  font-size: 1rem;
  line-height: 1.45;
}

.ff-question-image {
  width: min(320px, 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  justify-self: center;
  object-fit: contain;
}

.ff-answers {
  display: grid;
  gap: 0.6rem;
}

.ff-answer {
  width: 100%;
  padding: 0.78rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 60, 100, 0.92);
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ff-answer.is-correct {
  background: rgba(84, 206, 131, 0.92);
  color: #052214;
  border-color: rgba(84, 206, 131, 0.9);
}

.ff-answer.is-correct-soft {
  background: rgba(140, 226, 170, 0.6);
  color: #052214;
  border-color: rgba(140, 226, 170, 0.82);
}

.ff-answer.is-wrong {
  background: rgba(255, 130, 130, 0.9);
  color: #3b0612;
  border-color: rgba(255, 130, 130, 0.92);
}

.ff-answer.is-neutral {
  background: rgba(15, 60, 100, 0.6);
  color: rgba(255, 255, 255, 0.82);
}

.ff-answer:disabled {
  cursor: default;
  opacity: 1;
}

.ff-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message-item {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.12s ease, background 0.12s ease;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.message-item header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
}

.message-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.message-title {
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.message-meta {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.empty {
  color: var(--muted);
}

.message-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.2rem;
}

.message-overlay.is-open {
  display: flex;
}

.message-overlay__card {
  background: linear-gradient(145deg, rgba(10, 34, 52, 0.9), rgba(18, 48, 74, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  max-width: 720px;
  width: min(720px, 100%);
  max-height: 80vh;
  padding: 1.2rem 1.4rem;
  overflow: auto;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.message-overlay__header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.message-overlay__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.message-overlay__meta {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.message-overlay__body {
  line-height: 1.6;
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.message-overlay__close {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease, transform 0.1s ease;
}

.message-overlay__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .app {
    flex-direction: column;
    padding: 2rem 1.25rem;
  }

  .sidebar {
    width: 100%;
    flex: 0 0 auto;
  }

  .view-courses {
    gap: 1rem;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .grid-three {
    grid-template-columns: 1fr;
  }

  .tile {
    padding: 0.9rem 0.85rem;
  }

  .list {
    max-height: clamp(220px, 50vh, 520px);
  }

  .ff-progress-grid,
  .ff-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pruefung-grid {
    grid-template-columns: 1fr;
  }

  .support-form__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-form__submit {
    width: 100%;
  }
}

.tile {
  padding: 1.1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.35rem;
  min-height: 160px;
}

.tile--link {
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.tile--link:visited {
  color: var(--text);
}

.tile--link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.tile--link:focus-visible {
  outline: 2px solid rgba(110, 223, 246, 0.9);
  outline-offset: 2px;
}

.tile .title {
  font-weight: 800;
  margin: 0;
}

.tile .desc {
  color: var(--muted);
  margin: 0;
}

.list {
  margin-top: 0.35rem;
  display: grid;
  gap: 0.6rem;
  max-height: clamp(240px, 55vh, 640px);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.list-item {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}

.tile[data-kind="NAV"],
.tile[data-kind="See"] {
  cursor: pointer;
}

.list-item--active {
  border-color: rgba(68, 208, 123, 0.85);
  background: rgba(68, 208, 123, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.list-title {
  font-weight: 800;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.list-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  white-space: nowrap;
}

.list-empty {
  color: var(--muted);
  font-style: italic;
  padding: 0.5rem 0.25rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(68, 208, 123, 0.14);
  color: #a7f2c8;
  font-weight: 800;
  border: 1px solid rgba(68, 208, 123, 0.6);
  font-size: 0.85rem;
}

.tag--upgrade {
  background: rgba(66, 135, 245, 0.2);
  color: #b9d6ff;
  border-color: rgba(66, 135, 245, 0.65);
}

.tag--combo {
  background: rgba(68, 208, 123, 0.14);
  color: #a7f2c8;
  border-color: rgba(68, 208, 123, 0.6);
}

.tile--wide {
  grid-column: span 2;
}

.tile--tall {
  min-height: 220px;
}

.tile--binnen {
  grid-area: binnen;
}

.tile--see {
  grid-area: see;
}

.tile--nav {
  grid-area: nav;
}

.tile--ubi {
  grid-area: ubi;
}

.tile--src {
  grid-area: src;
}

.view-dashboard .dashboard-grid {
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr);
  align-items: start;
}

.view-dashboard .dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.view-dashboard .tile--personal {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  align-content: start;
  gap: 0.75rem;
}

.view-dashboard .tile--service {
  grid-column: 1;
  grid-row: 2;
}

.view-dashboard .dashboard-personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.view-dashboard .dashboard-personal-item {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.view-dashboard .dashboard-personal-item--wide {
  grid-column: 1 / -1;
}

.view-dashboard .dashboard-personal-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.view-dashboard .dashboard-personal-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.view-dashboard .tile--progress {
  grid-area: auto;
  justify-self: stretch;
  margin: 0;
  width: 100%;
  max-width: none;
  align-self: start;
}

.view-dashboard .tile--progress .progress-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.view-dashboard .tile--progress .bubble {
  min-width: 0;
}

.view-dashboard .tile--service {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  align-content: start;
  gap: 0.9rem;
}

.view-dashboard .tile--infos {
  grid-area: auto;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  align-content: start;
  gap: 0.65rem;
}

.view-dashboard .tile--infos .message-list {
  max-height: clamp(220px, 34vh, 460px);
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (max-width: 1180px) {
  .view-dashboard .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .view-dashboard .dashboard-side,
  .view-dashboard .tile--personal,
  .view-dashboard .tile--service {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .view-dashboard .dashboard-personal-grid {
    grid-template-columns: 1fr;
  }
}

.service-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.service-book-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(66, 135, 245, 0.65);
  background: rgba(66, 135, 245, 0.2);
  color: #b9d6ff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.service-book-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(66, 135, 245, 0.9);
  background: rgba(66, 135, 245, 0.3);
}

.service-payment-note {
  margin: 0;
  padding: 0.58rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(110, 223, 246, 0.26);
  background: rgba(110, 223, 246, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-payment-note--success {
  border-color: rgba(68, 208, 123, 0.58);
  background: rgba(68, 208, 123, 0.16);
  color: #baf5d2;
}

.service-payment-note--cancel {
  border-color: rgba(255, 184, 99, 0.6);
  background: rgba(255, 184, 99, 0.16);
  color: #ffe3bf;
}

.service-payment-note--blocked {
  border-color: rgba(255, 115, 115, 0.6);
  background: rgba(255, 115, 115, 0.16);
  color: #ffd1d1;
}

.service-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.service-panel h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
}

.service-row--hint {
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.service-badge--ok {
  background: rgba(68, 208, 123, 0.14);
  color: #a7f2c8;
  border-color: rgba(68, 208, 123, 0.58);
}

.service-badge--missing {
  background: rgba(255, 99, 132, 0.16);
  color: #ffc4cf;
  border-color: rgba(255, 99, 132, 0.55);
}

.service-locked-note {
  margin: 0.25rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 223, 246, 0.28);
  background: rgba(110, 223, 246, 0.08);
  color: var(--text);
  line-height: 1.45;
}

.service-locked-note strong {
  color: #bfefff;
}

.service-upload-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-upload-actions {
  display: grid;
  gap: 0.65rem;
}

.service-upload-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.service-upload-form input[type="file"] {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.service-upload-form input[type="file"]::file-selector-button {
  margin-right: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(110, 223, 246, 0.42);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.22), rgba(110, 223, 246, 0.22));
  color: #e8f4ff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.service-upload-form input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 223, 246, 0.58);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.3), rgba(110, 223, 246, 0.3));
}

.service-upload-form input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(110, 223, 246, 0.42);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.22), rgba(110, 223, 246, 0.22));
  color: #e8f4ff;
  font-weight: 700;
  cursor: pointer;
}

.service-upload-form button {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(110, 223, 246, 0.42);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.22), rgba(110, 223, 246, 0.22));
  color: #e8f4ff;
  font-weight: 700;
  cursor: pointer;
}

.service-upload-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.view-pruefungsmodus {
  display: grid;
  gap: 1.5rem;
}

.view-pruefungsmodus .grid-two {
  grid-auto-rows: 1fr;
}

.tile--exam {
  gap: 0.65rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tile--exam .exam-open {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.tile--exam .exam-open.list-item {
  color: var(--text);
}

.tile--exam .exam-open.list-item .list-title {
  color: #ffffff;
}

.tile--exam .exam-open.list-item .list-meta {
  color: var(--muted);
}

.tile--exam .exam-open:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tile--exam .exam-open:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

.tile--exam .exam-open:disabled .list-title {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.tile--exam .exam-open:disabled .list-meta {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
}

.exam-panel[hidden],
.exam-overlay[hidden],
.exam-overview-overlay[hidden] {
  display: none !important;
}

.exam-overview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 17, 32, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 900;
}

.exam-overview-overlay .exam-panel {
  width: min(860px, 100%);
  max-height: 86vh;
  overflow-y: auto;
}

.mode-progress {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.mode-progress__label {
  color: var(--muted);
  font-size: 0.95rem;
}

.mode-progress__value {
  color: var(--foam);
  font-weight: 700;
}

.mode-progress__bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mode-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 162, 255, 0.7), rgba(110, 223, 246, 0.9));
  transition: width 0.2s ease;
}

.exam-panel {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--exam-panel-border);
  background: var(--exam-panel);
  display: grid;
  gap: 0.85rem;
}

.exam-panel--flutter {
  box-shadow: 0 20px 50px rgba(2, 12, 20, 0.45);
  gap: 1rem;
}

.exam-panel__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exam-panel__logo img {
  width: 70px;
  height: auto;
}

.exam-panel__title {
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.exam-panel__message {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.exam-panel__close {
  border: none;
  cursor: pointer;
}

.exam-panel__close--full {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(129, 212, 250, 0.85), rgba(31, 162, 255, 0.75));
  color: #041526;
  font-weight: 700;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.exam-grid--see {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exam-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(129, 212, 250, 0.25);
  background: rgba(8, 36, 60, 0.6);
}

.exam-split__btn {
  padding: 0.85rem 0.5rem;
  min-height: 52px;
  border: none;
  background: var(--exam-neutral);
  color: var(--exam-button-text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.exam-split__btn--left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.exam-split__btn:hover {
  transform: translateY(-1px);
}

.exam-split__btn.exam-bogen--pass {
  background: var(--exam-pass);
  color: #eafff4;
}

.exam-split__btn.exam-bogen--fail {
  background: var(--exam-fail);
  color: #fff4f4;
}

.exam-bogen {
  border: none;
  border-radius: 14px;
  padding: 0.95rem 0.75rem;
  min-height: 52px;
  background: var(--exam-neutral);
  color: var(--exam-button-text);
  font-weight: 700;
  border: 1px solid var(--exam-button-border);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.exam-bogen:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(3, 17, 32, 0.35);
}

.exam-bogen--pass {
  background: var(--exam-pass);
  border-color: rgba(105, 223, 157, 0.55);
  color: #eafff4;
}

.exam-bogen--fail {
  background: var(--exam-fail);
  border-color: rgba(255, 136, 136, 0.5);
  color: #fff4f4;
}

.exam-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 17, 32, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999;
}

.exam-card {
  width: min(920px, 100%);
  max-height: 92vh;
  background: rgba(7, 26, 44, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.exam-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exam-card__title {
  font-weight: 800;
}

.exam-card__meta {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-weight: 700;
  color: var(--foam);
}

.exam-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.exam-card__body {
  padding: 1.2rem;
  overflow-y: auto;
  display: grid;
  gap: 0.85rem;
}

.exam-question-type {
  color: var(--muted);
  font-size: 0.95rem;
}

.exam-question {
  font-size: 1rem;
}

.exam-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.exam-answers {
  display: grid;
  gap: 0.65rem;
}

.exam-answer {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--exam-answer);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease;
}

.exam-answer:hover {
  transform: translateY(-1px);
}

.exam-answer.is-correct {
  background: rgba(68, 208, 123, 0.9);
  color: #041526;
}

.exam-answer.is-wrong {
  background: rgba(255, 120, 120, 0.9);
  color: #041526;
}

.exam-answer:disabled {
  cursor: not-allowed;
  opacity: 0.95;
}

.exam-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.exam-card__left-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.exam-next,
.exam-cancel {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(31, 162, 255, 0.3);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
}

.exam-cancel {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.exam-card-pdf {
  text-decoration: none;
  min-height: 42px;
}

.exam-card-pdf[hidden] {
  display: none !important;
}

.exam-next:disabled {
  background: rgba(31, 162, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  opacity: 0.9;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .exam-grid--see {
    grid-template-columns: 1fr;
  }

  .exam-split {
    grid-template-columns: 1fr;
  }

  .exam-split__btn--left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .exam-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .exam-card__left-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1080px) {
  .grid-top {
    grid-template-columns: 1fr;
  }

  .grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ff-progress-grid,
  .ff-mode-grid {
    grid-template-columns: 1fr;
  }

  .ff-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-panels {
    grid-template-columns: 1fr;
  }

  .service-upload-form {
    grid-template-columns: 1fr;
  }

  .grid-bottom {
    grid-template-columns: 1fr;
  }
}

.progress-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.bubble {
  flex: 1 1 140px;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bubble .label {
  font-weight: 700;
}

.bubble .value {
  color: var(--foam);
  font-weight: 800;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-box {
  background: rgba(3, 17, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.5rem;
  color: #e8f4ff;
  width: fit-content;
  max-width: min(520px, calc(100% - 2rem));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.modal-message {
  margin-bottom: 1rem;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
}

.modal-actions button {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #e8f4ff;
  cursor: pointer;
  font-weight: 700;
}

.modal-actions button:last-child {
  background: linear-gradient(135deg, #1fa2ff 0%, #12d8fa 45%, #007adf 100%);
  color: #031727;
}

.bubble .value::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(110, 223, 246, 0.5);
}

.card {
  width: clamp(560px, 72vw, 780px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.75rem 3rem;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(110, 223, 246, 0.2), transparent 60%);
  transform: rotate(-12deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(31, 162, 255, 0.12);
  color: var(--foam);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(110, 223, 246, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.1rem 0 0.5rem;
}

.brand-mark {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(31, 162, 255, 0.22), rgba(110, 223, 246, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-mark img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

h1 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.field label {
  display: block;
  font-weight: 700;
  color: #d5e7f4;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input::placeholder {
  color: rgba(233, 244, 255, 0.65);
}

.input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(110, 223, 246, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.link {
  color: var(--foam);
  font-weight: 700;
}

.button {
  margin-top: 0.45rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #1fa2ff 0%, #12d8fa 45%, #007adf 100%);
  color: #031727;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 122, 223, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0, 122, 223, 0.45);
  filter: brightness(1.02);
}

.button:active {
  transform: translateY(0);
}

.meta {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.meta a {
  color: var(--foam);
  font-weight: 700;
}

.note {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.note p {
  margin: 0;
  line-height: 1.45;
}

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: #d7eafb;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.store-link + .store-link {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.store-link:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.14);
}

.store-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  font-size: 1rem;
}

.store-link--apple .store-link__icon {
  font-size: 1.1rem;
}

.store-link--play .store-link__icon {
  font-size: 0.86rem;
}

.store-link--apple {
  background: rgba(255, 255, 255, 0.08);
}

.store-link--play {
  background: rgba(110, 223, 246, 0.14);
}

.view-onlinekurs {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.onlinekurs-hero {
  align-content: start;
  gap: 0.9rem;
}

.onlinekurs-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.onlinekurs-hero__eyebrow {
  margin: 0 0 0.28rem;
  color: #9bc6e2;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
}

.onlinekurs-hero h2 {
  margin: 0;
  font-size: clamp(1.45rem, 1.05vw + 1.05rem, 2.05rem);
}

.onlinekurs-admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(105, 223, 157, 0.7);
  background: rgba(105, 223, 157, 0.17);
  color: #b6f5d3;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.onlinekurs-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.onlinekurs-fact {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.62rem 0.68rem;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.15rem;
}

.onlinekurs-fact__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #d9f2ff;
}

.onlinekurs-fact__label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.onlinekurs-submenu {
  position: sticky;
  top: 0.75rem;
  z-index: 60;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(7, 30, 48, 0.94), rgba(16, 49, 72, 0.9));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.onlinekurs-submenu::-webkit-scrollbar {
  height: 8px;
}

.onlinekurs-submenu::-webkit-scrollbar-thumb {
  background: rgba(110, 223, 246, 0.4);
  border-radius: 999px;
}

.onlinekurs-submenu__item {
  appearance: none;
  font: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  text-decoration: none;
  color: #d8ecfb;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}

.onlinekurs-submenu__item:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 223, 246, 0.65);
  background: rgba(110, 223, 246, 0.14);
}

.onlinekurs-submenu__item.is-active {
  border-color: rgba(110, 223, 246, 0.8);
  background: rgba(110, 223, 246, 0.2);
  box-shadow: 0 8px 20px rgba(6, 90, 146, 0.35);
}

.onlinekurs-submenu__index {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  color: #e4f3ff;
}

.onlinekurs-submenu__label {
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.onlinekurs-topics {
  display: grid;
  gap: 1rem;
}

.view-onlinekurs-pdf .onlinekurs-topics {
  display: none;
}

.onlinekurs-pdf-panel {
  align-content: start;
  gap: 0.85rem;
}

.onlinekurs-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.onlinekurs-pdf-toolbar__meta {
  color: #d8efff;
  font-weight: 700;
  font-size: 0.9rem;
}

.onlinekurs-pdf-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.onlinekurs-pdf-frame {
  width: 100%;
  min-height: clamp(620px, 78vh, 1100px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
}

.onlinekurs-pdf-note {
  margin: 0;
  color: #b8d7ea;
  font-size: 0.86rem;
}

.onlinekurs-topic {
  padding: 0.58rem;
  min-height: 0;
  scroll-margin-top: 5.2rem;
}

.onlinekurs-accordion {
  display: grid;
  gap: 0.8rem;
}

.onlinekurs-topic__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 0.55rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.12s ease;
}

.onlinekurs-topic__summary::-webkit-details-marker {
  display: none;
}

.onlinekurs-accordion[open] .onlinekurs-topic__summary {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.onlinekurs-topic__content {
  display: grid;
  gap: 1.05rem;
}

.onlinekurs-page-block {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.onlinekurs-page-accordion {
  display: block;
}

.onlinekurs-page-accordion__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0.95rem 0.78rem;
  display: grid;
  gap: 0.32rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(110, 223, 246, 0.18), rgba(31, 162, 255, 0.11));
}

.onlinekurs-page-accordion__summary::-webkit-details-marker {
  display: none;
}

.onlinekurs-page-accordion__title {
  color: #d6efff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.onlinekurs-page-accordion__preview {
  color: #bdddf3;
  font-size: 0.88rem;
  line-height: 1.5;
}

.onlinekurs-page-accordion__content {
  padding: 1.02rem 1.12rem 1.12rem;
}

.onlinekurs-page-block__text {
  display: grid;
  gap: 0.82rem;
}

.onlinekurs-page-ref {
  margin: 0;
  color: #9ec7e1;
  font-size: 0.82rem;
  font-weight: 700;
}

.onlinekurs-learn-heading {
  margin: 0;
  color: #e1f2ff;
  font-size: 1rem;
  font-weight: 800;
}

.onlinekurs-learn-paragraph {
  margin: 0;
  color: #dcecf8;
  font-size: 0.98rem;
  line-height: 1.68;
}

.onlinekurs-learn-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.42rem;
}

.onlinekurs-learn-list li {
  color: #dcecf8;
  line-height: 1.56;
  font-size: 0.97rem;
}

.onlinekurs-qa {
  margin: 0;
  padding: 0.5rem 0.62rem;
  border-radius: 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.onlinekurs-qa--question {
  border: 1px solid rgba(110, 223, 246, 0.36);
  background: rgba(110, 223, 246, 0.12);
  color: #d8f3ff;
}

.onlinekurs-qa--answer {
  border: 1px solid rgba(105, 223, 157, 0.32);
  background: rgba(105, 223, 157, 0.11);
  color: #d8f6e8;
}

.onlinekurs-figure-ref {
  margin: 0;
  color: #b9d8eb;
  font-size: 0.9rem;
  font-style: italic;
}

.onlinekurs-page-block__figures {
  margin-top: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.62rem;
}

.onlinekurs-page-block__figures--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.onlinekurs-page-block__figures--two-col .onlinekurs-image-real--half {
  width: 100%;
}

.onlinekurs-image-real {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.onlinekurs-image-real img {
  width: 100%;
  height: auto;
  display: block;
}

.onlinekurs-image-real figcaption {
  padding: 0.5rem 0.62rem;
  color: #bfddec;
  font-size: 0.84rem;
  line-height: 1.4;
}

.onlinekurs-image-real--half {
  width: min(50%, 680px);
}

@media (max-width: 900px) {
  .onlinekurs-image-real--half {
    width: 100%;
  }

  .onlinekurs-page-block__figures--two-col {
    grid-template-columns: 1fr;
  }
}

.onlinekurs-topic__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.onlinekurs-topic__head h3 {
  margin: 0;
  font-size: clamp(1.1rem, 0.62vw + 0.92rem, 1.34rem);
}

.onlinekurs-topic__eyebrow {
  margin: 0 0 0.24rem;
  color: #9bc6e2;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.onlinekurs-topic__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(66, 135, 245, 0.68);
  background: rgba(66, 135, 245, 0.18);
  color: #b9d6ff;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.onlinekurs-topic__toggle-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.onlinekurs-topic__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 223, 246, 0.56);
  background: rgba(110, 223, 246, 0.12);
  color: #d8f3ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.onlinekurs-topic__toggle--close {
  display: none;
}

.onlinekurs-accordion[open] .onlinekurs-topic__toggle--open {
  display: none;
}

.onlinekurs-accordion[open] .onlinekurs-topic__toggle--close {
  display: inline-flex;
}

.onlinekurs-topic__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.onlinekurs-topic__text .desc {
  margin-bottom: 0.55rem;
}

.onlinekurs-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.onlinekurs-list li {
  line-height: 1.45;
  color: #dcecf8;
}

.onlinekurs-focus {
  margin-top: 0.75rem;
  border: 1px solid rgba(110, 223, 246, 0.38);
  background: rgba(110, 223, 246, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.66rem;
  color: #d8f3ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.onlinekurs-deepdive {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.onlinekurs-deepdive h4 {
  margin: 0;
  font-size: 0.96rem;
  color: #d8f3ff;
  font-weight: 800;
}

.onlinekurs-deepdive__text {
  margin: 0;
  padding: 0.56rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #dcecf8;
  line-height: 1.5;
  font-size: 0.9rem;
}

.onlinekurs-topic__media {
  display: grid;
  gap: 0.65rem;
}

.onlinekurs-photo {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.onlinekurs-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.onlinekurs-photo figcaption {
  padding: 0.45rem 0.62rem;
  color: #b6d6ea;
  font-size: 0.8rem;
  line-height: 1.35;
}

.onlinekurs-graphic {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
}

.onlinekurs-graphic svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

.onlinekurs-checklist {
  display: grid;
  gap: 0.45rem;
}

.onlinekurs-checklist__item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.5rem 0.62rem;
  color: #d8ebf7;
  font-size: 0.9rem;
}

.onlinekurs-timeline {
  display: grid;
  gap: 0.45rem;
}

.onlinekurs-timeline__item {
  border: 1px solid rgba(110, 223, 246, 0.38);
  background: rgba(110, 223, 246, 0.12);
  border-radius: 10px;
  padding: 0.45rem 0.62rem;
  font-weight: 700;
  color: #d8f3ff;
  font-size: 0.88rem;
}

.onlinekurs-warning {
  border: 1px solid rgba(255, 176, 87, 0.5);
  background: rgba(255, 176, 87, 0.14);
  color: #ffe4c0;
  border-radius: 10px;
  padding: 0.56rem 0.66rem;
  font-size: 0.9rem;
  line-height: 1.42;
}

.onlinekurs-alerts {
  display: grid;
  gap: 0.45rem;
}

.onlinekurs-alerts__item {
  border: 1px solid rgba(255, 99, 132, 0.45);
  background: rgba(255, 99, 132, 0.15);
  color: #ffd6df;
  border-radius: 10px;
  padding: 0.48rem 0.62rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.onlinekurs-image-placeholder {
  border: 1px dashed rgba(110, 223, 246, 0.48);
  background:
    linear-gradient(135deg, rgba(110, 223, 246, 0.08), rgba(31, 162, 255, 0.08)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.01) 8px, rgba(255, 255, 255, 0.01) 16px);
  border-radius: 12px;
  padding: 0.66rem 0.72rem;
  display: grid;
  gap: 0.34rem;
}

.onlinekurs-image-placeholder__label {
  color: #bde3fb;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.onlinekurs-image-placeholder__name {
  display: inline-block;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 21, 38, 0.62);
  color: #e6f3ff;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.35;
  word-break: break-all;
}

.onlinekurs-image-placeholder__hint {
  color: #c9e3f5;
  font-size: 0.86rem;
  line-height: 1.4;
}

.onlinekurs-cta-grid {
  display: grid;
  gap: 0.5rem;
}

.onlinekurs-cta {
  text-decoration: none;
  color: #e8f4ff;
  border: 1px solid rgba(110, 223, 246, 0.45);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.25), rgba(110, 223, 246, 0.22));
  border-radius: 10px;
  padding: 0.56rem 0.68rem;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.onlinekurs-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 223, 246, 0.72);
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.34), rgba(110, 223, 246, 0.3));
}

@media (max-width: 1180px) {
  .onlinekurs-topic__layout {
    grid-template-columns: 1fr;
  }

  .onlinekurs-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .onlinekurs-submenu {
    top: 0.4rem;
  }

  .onlinekurs-facts {
    grid-template-columns: 1fr;
  }

  .onlinekurs-submenu__item {
    padding: 0.4rem 0.62rem;
  }

  .onlinekurs-topic {
    scroll-margin-top: 4.1rem;
  }

  .onlinekurs-pdf-frame {
    min-height: 72vh;
  }
}

@media (max-width: 720px) {
  .layout {
    padding: 2.5rem 1.5rem;
  }

  .card {
    padding: 2.2rem 1.8rem;
  }

  .brand {
    align-items: flex-start;
  }

  .store-links {
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .store-link {
    justify-content: center;
  }

  .store-link + .store-link {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 980px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav .item {
    padding: 0.65rem 0.75rem;
  }

  .sidebar-actions {
    margin-top: 0;
    margin-left: auto;
    width: auto;
  }

  .logout-btn {
    width: auto;
    min-width: 110px;
    padding: 0.62rem 0.78rem;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(6%, -4%, 0);
  }
  100% {
    transform: translate3d(2%, 5%, 0);
  }
}

@keyframes sway {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  100% {
    transform: translate3d(2%, -3%, 0) rotate(1deg);
  }
}
