.student-area-page {
  color: #0b1d35;
  background: #f4f2ed;
}

.student-eyebrow {
  margin: 0 0 var(--space-2);
  color: #d71837;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-public-hero,
.student-dashboard-hero {
  padding: var(--space-5) 0 var(--space-4);
  color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(220, 25, 57, 0.58), transparent 28rem), #071a32;
}

.student-public-hero h1,
.student-dashboard-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.student-public-hero > .container > p:last-child,
.student-dashboard-title p {
  max-width: 700px;
  color: #cbd5df;
  font-size: 1.15rem;
}

.student-public-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-5) var(--space-5);
}

.student-register-invite,
.student-panel,
.student-auth-card,
.student-empty {
  padding: var(--space-3);
  border: 1px solid #d9dee4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 26, 50, 0.08);
}

.student-register-invite {
  position: sticky;
  top: var(--space-4);
}

.student-register-invite h2,
.student-auth-card h2,
.student-panel h3 {
  margin: 0 0 var(--space-2);
  line-height: 1.1;
}

.student-register-invite > a,
.student-primary-button,
.student-empty a {
  display: inline-flex;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #d71837;
  font-weight: 800;
}

.student-register-invite > span {
  display: block;
  margin-top: var(--space-2);
  color: #657286;
}

.student-auth-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(215, 24, 55, 0.18), transparent 30rem),
    linear-gradient(135deg, #061a31 0%, #031426 55%, #120d24 100%);
}

.student-auth-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(2, 15, 33, 0.82) 0%, rgba(2, 15, 33, 0.5) 52%, rgba(2, 15, 33, 0.16) 100%);
  pointer-events: none;
}

.student-auth-bubbles {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.student-auth-bubbles span {
  position: absolute;
  display: block;
  opacity: 0.7;
  animation: student-auth-float 9s ease-in-out infinite alternate;
}

.student-auth-bubbles span:nth-child(1) {
  top: -120px;
  right: 3%;
  width: 360px;
  height: 360px;
  border-radius: 48% 52% 60% 40% / 55% 43% 57% 45%;
  background: radial-gradient(circle at 30% 27%, #ff8a65 0%, #e30613 42%, #6d28d9 78%, transparent 100%);
  box-shadow: inset -22px -28px 50px rgba(2, 15, 33, 0.76), inset 14px 16px 32px rgba(255, 255, 255, 0.28);
}

.student-auth-bubbles span:nth-child(2) {
  right: 30%;
  bottom: -125px;
  width: 280px;
  height: 280px;
  border-radius: 58% 42% 48% 52% / 44% 57% 43% 56%;
  background: radial-gradient(circle at 32% 26%, #67e8f9 0%, #2563eb 44%, #4f46e5 76%, transparent 100%);
  box-shadow: inset -18px -22px 42px rgba(2, 15, 33, 0.76), inset 12px 12px 25px rgba(255, 255, 255, 0.25);
  animation-delay: -3s;
}

.student-auth-bubbles span:nth-child(3) {
  top: 45%;
  right: 4%;
  width: 145px;
  height: 145px;
  border-radius: 52% 48% 61% 39% / 43% 56% 44% 57%;
  background: radial-gradient(circle at 32% 25%, #fde68a 0%, #f97316 42%, #e30613 76%, transparent 100%);
  box-shadow: inset -10px -14px 28px rgba(2, 15, 33, 0.72), inset 8px 8px 18px rgba(255, 255, 255, 0.28);
  animation-delay: -5s;
}

.student-auth-bubbles span:nth-child(4) {
  top: 15%;
  right: 35%;
  width: 95px;
  height: 95px;
  border-radius: 44% 56% 51% 49% / 57% 44% 56% 43%;
  background: radial-gradient(circle at 30% 26%, #d9f99d 0%, #22c55e 40%, #059669 70%, #064e3b 87%, transparent 100%);
  box-shadow: inset -8px -11px 19px rgba(2, 15, 33, 0.64), 0 0 30px rgba(34, 197, 94, 0.16);
  animation-delay: -7s;
}

@keyframes student-auth-float {
  from {
    transform: translate3d(0, -8px, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(10px, 12px, 0) rotate(3deg);
  }
}

.student-auth-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 780px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-5) var(--space-5);
}

.student-auth-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.student-auth-intro h1 span {
  color: #ff344f;
}

.student-auth-intro > h1 + p {
  max-width: 570px;
  color: #d5dfeb;
  font-size: 1.12rem;
  line-height: 1.7;
}

.student-auth-benefits {
  display: grid;
  gap: var(--space-2);
  max-width: 620px;
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.student-auth-benefits li {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 34px;
}

.student-auth-benefits li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  content: "\2713";
  color: #fff;
  background: rgba(227, 6, 19, 0.75);
  font-size: 0.75rem;
  font-weight: 900;
}

.student-auth-benefits strong {
  color: #fff;
}

.student-auth-benefits span {
  color: #adbbcb;
  font-size: 0.92rem;
  line-height: 1.5;
}

.student-auth-card {
  color: #0b1d35;
}

.student-auth-card form,
.student-panel {
  display: grid;
  gap: var(--space-2);
}

.student-auth-card label,
.student-panel label,
.student-bookmark-form label {
  display: grid;
  gap: var(--space-1);
  color: #27384e;
  font-weight: 800;
}

.student-auth-card input,
.student-panel input,
.student-panel select,
.student-panel textarea,
.student-bookmark-form select,
.student-bookmark-form textarea {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid #c9d1dc;
  border-radius: 7px;
  color: #0b1d35;
  background: #fff;
  font: inherit;
}

.student-auth-card small {
  color: #748094;
  font-weight: 500;
}

.student-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.student-auth-switch {
  margin: var(--space-3) 0 0;
  color: #667487;
  line-height: 1.8;
}

.student-auth-switch a {
  color: #b80e2a;
  font-weight: 800;
}

.student-flash {
  margin-bottom: var(--space-3);
  padding: var(--space-2);
  border-radius: 8px;
  color: #16572d;
  background: #e9f7ed;
}

.student-flash--error {
  color: #81132a;
  background: #fde8ec;
}

.student-dashboard-title {
  display: flex;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: flex-end;
}

.student-dashboard-title form button {
  padding: var(--space-2) var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 7px;
  color: #fff;
  background: transparent;
  font-weight: 800;
}

.student-tabs {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-4);
  overflow-x: auto;
}

.student-tabs a {
  flex: 0 0 auto;
  padding: var(--space-2) var(--space-2);
  border-radius: 8px 8px 0 0;
  color: #d4dce5;
  font-weight: 800;
}

.student-tabs a.current {
  color: #071a32;
  background: #f4f2ed;
}

.student-tabs span {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  justify-content: center;
  align-items: center;
  margin-left: var(--space-1);
  border-radius: 50%;
  color: #fff;
  background: #d71837;
  font-size: 0.72rem;
}

.student-dashboard-content {
  min-height: 600px;
  padding-block: var(--space-4) var(--space-5);
}

.student-section-heading {
  display: flex;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--space-4);
}

.student-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
}

.student-section-heading > a {
  color: #b80e2a;
  font-weight: 800;
}

.student-bookmark-list {
  display: grid;
  gap: var(--space-2);
}

.student-bookmark-card {
  padding: var(--space-3);
  border: 1px solid #d7dde5;
  border-radius: 12px;
  background: #fff;
}

.student-bookmark-top {
  display: flex;
  gap: var(--space-2);
  justify-content: space-between;
}

.student-bookmark-summary,
.guest-bookmark-content {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.student-bookmark-summary > div,
.guest-bookmark-content > div {
  min-width: 0;
}

.student-area-page .uni-logo-box {
  --uni-logo-size: 64px;
  width: var(--uni-logo-size);
  height: var(--uni-logo-size);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  padding: var(--space-1);
  color: #8a95a7;
  background: #fff;
}

.student-area-page .uni-logo-box img,
.student-area-page .uni-logo-box svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.student-bookmark-top span {
  color: #d71837;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-bookmark-top h3 {
  margin: var(--space-1) 0;
  font-size: 1.4rem;
}

.student-bookmark-top p {
  margin: 0;
  color: #667487;
}

.student-bookmark-top .student-live-state {
  margin-top: var(--space-2);
  color: #53657a;
  font-size: 0.82rem;
  font-weight: 700;
}

.student-live-state.is-active {
  color: #16713a;
}

.student-live-state.is-expired {
  color: #a3152e;
}

.student-icon-button,
.student-text-button {
  border: 0;
  color: #b80e2a;
  background: transparent;
  font-weight: 800;
}

.student-icon-button {
  font-size: 1.7rem;
}

.student-bookmark-form {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(260px, 1fr) auto;
  gap: var(--space-2);
  align-items: end;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid #e4e7eb;
}

.student-small-button {
  padding: var(--space-2) var(--space-2);
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #071a32;
  font-weight: 800;
}

.student-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: start;
}

.student-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.student-check input {
  width: auto;
}

.student-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-2);
  align-items: center;
  padding-block: var(--space-2);
  border-bottom: 1px solid #e3e7ec;
}

.student-search-row > div {
  display: grid;
}

.student-search-row span {
  color: #748094;
  font-size: 0.8rem;
}

.student-danger-panel {
  border-color: #e6abb6;
}

.student-danger-panel button {
  padding: var(--space-2);
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #9c0e27;
  font-weight: 800;
}

.guest-bookmark-grid {
  display: grid;
  gap: var(--space-2);
}

.guest-bookmark-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid #d7dde5;
  border-radius: 12px;
  background: #fff;
}

.guest-bookmark-item span {
  color: #d71837;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-bookmark-item h2 {
  margin: var(--space-1) 0;
  font-size: 1.35rem;
}

@media (max-width: 900px) {
  .student-public-list,
  .student-auth-shell,
  .student-settings-grid {
    grid-template-columns: 1fr;
  }

  .student-register-invite {
    position: static;
  }

  .student-auth-shell {
    min-height: 0;
    gap: var(--space-4);
  }

  .student-auth-bubbles span:nth-child(1) {
    top: -80px;
    right: -135px;
    width: 290px;
    height: 290px;
  }

  .student-auth-bubbles span:nth-child(2) {
    right: -85px;
    bottom: -100px;
    width: 220px;
    height: 220px;
  }

  .student-auth-bubbles span:nth-child(3) {
    display: none;
  }

  .student-auth-bubbles span:nth-child(4) {
    top: 36%;
    right: -24px;
    width: 78px;
    height: 78px;
    opacity: 0.5;
  }
}

@media (max-width: 700px) {
  .student-public-hero,
  .student-dashboard-hero {
    padding-top: var(--space-5);
  }

  .student-dashboard-title,
  .student-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-bookmark-form {
    grid-template-columns: 1fr;
  }

  .student-auth-shell {
    padding-top: var(--space-5);
  }

  .student-auth-intro h1 {
    font-size: clamp(2.4rem, 10.5vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-auth-bubbles span {
    animation: none;
  }
}
