:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  --bg: #0b111b;
  --bg-soft: #0f1725;
  --surface: #131f34;
  --surface-strong: #1a2740;
  --text: #e8eefc;
  --muted: #9caaca;
  --primary: #2d8cff;
  --primary-strong: #1e63da;
  --action: #ff8a1e;
  --action-strong: #e96f00;
  --border: rgba(123, 151, 206, 0.18);
  --shadow: none;
  --site-header-offset: 130px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  padding-top: 130px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.login-body {
  padding-top: 0;
}

.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  margin: 0;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.638);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-actions {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 2rem;
  margin-right: 2rem;
  gap: 0.55rem;
}

.menu-btn-about {
  margin-left: auto;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 0;
  padding: 0.5rem 0.84rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 214, 0.38);
  background: rgba(17, 30, 49, 0);
  color: #d9e6ff;
  box-shadow: none;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

a.menu-btn:hover {
  border-color: rgba(255, 138, 30, 0.5);
  color: #fff;
}

.menu-btn.is-active {
  border-color: rgba(255, 138, 30, 0.65);
  background: rgba(255, 138, 30, 0.12);
  color: #fff;
}

.about-page-layout {
  padding-top: 0.5rem;
}

.about-panel {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.about-panel h1 {
  margin: 0.2rem 0 1.25rem;
  font-family: "Montserrat", "Inter", sans-serif;
}

.about-content {
  display: grid;
  gap: 2rem;
}

.about-block {
  display: grid;
  gap: 0.85rem;
}

.about-heading {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.25rem;
  color: #f3f7ff;
  letter-spacing: -0.02em;
}

.about-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.about-lead {
  font-size: 1.02rem;
  color: #c5d4f0;
}

.about-content a {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mentor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 140, 255, 0.65);
  background: rgba(45, 140, 255, 0.16);
  color: #b9dcff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.about-founder-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(8, 15, 28, 0.55);
}

.about-founder-photo-wrap {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 138, 30, 0.45);
  background: linear-gradient(145deg, rgba(45, 140, 255, 0.35), rgba(255, 138, 30, 0.35));
  display: grid;
  place-items: center;
}

.about-founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-founder-photo-fallback {
  font-size: 2rem;
  font-weight: 700;
  color: #f3f7ff;
  letter-spacing: 0.04em;
}

.about-founder-text {
  flex: 1 1 240px;
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.about-founder-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

.about-founder-role {
  margin: -0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--action);
  font-weight: 600;
}

.about-highlights {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-highlight-card {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 22, 38, 0.75);
}

.about-highlight-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-family: "Montserrat", "Inter", sans-serif;
  color: #e8eefc;
}

.about-highlight-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.about-actions .nav-btn {
  text-decoration: none;
}

.audience-guide-panel .about-lead {
  margin-bottom: 1rem;
}

.audience-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.audience-jump-nav a {
  display: inline-flex;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #d5e2ff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(12, 22, 38, 0.65);
}

.audience-jump-nav a:hover {
  border-color: rgba(255, 138, 30, 0.5);
  color: #fff;
}

.audience-sections {
  display: grid;
  gap: 1.5rem;
}

.audience-section {
  scroll-margin-top: 150px;
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(8, 15, 28, 0.5);
}

.audience-section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.audience-section-head h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.15rem;
  color: #f3f7ff;
}

.audience-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.audience-section-student .audience-badge {
  background: rgba(45, 140, 255, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(45, 140, 255, 0.35);
}

.audience-section-teacher .audience-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.audience-section-mentor .audience-badge {
  background: rgba(255, 138, 30, 0.15);
  color: #fdba74;
  border: 1px solid rgba(255, 138, 30, 0.4);
}

.audience-section-parent .audience-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.audience-section-body {
  display: grid;
  gap: 0.85rem;
}

.audience-tips {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.audience-tips li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.audience-tips strong {
  color: #e2e8f0;
}

.audience-cta-hint {
  margin: 0.25rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(124, 155, 214, 0.25);
  font-size: 0.94rem;
}

.audience-cta-hint a {
  color: var(--action);
}

.mentor-candidate-box {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 155, 214, 0.35);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.75));
}

.mentor-candidate-box h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  color: #f1f5f9;
}

.mentor-candidate-box p {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.mentor-candidate-box .nav-btn-primary {
  width: auto;
}

.mentorship-info-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.mentorship-info-panel > p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.mentorship-info-list {
  margin: 0 0 1rem;
}

.mentorship-request-box {
  margin-top: 1.5rem;
}

.info-section-exam .audience-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.info-section-competition .audience-badge {
  background: rgba(244, 114, 182, 0.12);
  color: #f9a8d4;
  border: 1px solid rgba(244, 114, 182, 0.35);
}

.info-facts {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(124, 155, 214, 0.2);
}

.info-facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.92rem;
}

.info-facts dt {
  margin: 0;
  font-weight: 600;
  color: #94a3b8;
}

.info-facts dd {
  margin: 0;
  color: #e2e8f0;
}

.panel-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 520px) {
  .info-facts > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.mentor-application-card {
  max-width: 520px;
  max-height: min(92vh, 720px);
  overflow-y: auto;
}

.mentor-branches-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.mentor-branch-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.mentor-add-branch-btn {
  margin-bottom: 0.85rem;
  width: 100%;
}

.form-message.is-error {
  color: #fca5a5;
}

.top-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 80;
  margin: 0;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 27, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto; 
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 0;
  padding: 0.5rem 0.84rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 214, 0.38);
  background: rgba(17, 30, 49, 0.78);
  color: #d9e6ff;
  box-shadow: none;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  box-sizing: border-box;
  white-space: nowrap;
}

.nav-btn-primary {
  background: linear-gradient(130deg, var(--action), var(--action-strong));
  color: #fff7ef;
  border: 1px solid transparent;
}

.nav-btn-notal {
  text-decoration: none;
}

.notal-mark {
  display: inline;
  font: inherit;
  line-height: inherit;
}

.notal-word-not,
.notal-word-al {
  display: inline;
}

.notal-word-not {
  color: inherit;
}

.notal-word-al {
  color: var(--action);
}

.menu-toggle {
  display: none;
  width: auto;
  margin-top: 0;
  padding: 0.42rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 214, 0.38);
  background: rgba(17, 30, 49, 0.78);
  color: #d9e6ff;
  box-shadow: none;
}

.site-header,
.bento-grid,
.layout {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.home-landing {
  --home-gutter: clamp(1.5rem, 2.6vw, 2.85rem);
  width: min(1360px, calc(100% - var(--home-gutter) * 2));
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: clamp(1rem, 2vw, 2rem);
  margin-top: 0.35rem;
}

.layout {
  --home-gutter: clamp(1.5rem, 2.6vw, 2.85rem);
  width: min(1360px, calc(100% - var(--home-gutter) * 2));
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: clamp(1rem, 2vw, 2rem);
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-landing .home-hero-grid {
  animation: home-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .home-landing .home-hero-grid,
  .trending-item {
    animation: none;
  }

  .hero-rotate-track {
    transition: none !important;
    transform: none !important;
  }

  .hero-rotate-item:not(:first-child) {
    display: none !important;
  }

  .trending-item:hover,
  .hero-btn:hover,
  .stat-link:hover .stat-link-icon {
    transform: none;
  }
}

.home-hero-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 981px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
    gap: clamp(1.25rem, 2.2vw, 2rem);
    align-items: stretch;
  }

  .home-landing .site-header {
    padding-right: 0.25rem;
    margin-left: 0;
    padding-left: 0;
  }

  .eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
  }

  .hero-title {
    max-width: none;
  }

  .hero-title-line {
    font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  }

  .hero-subtitle {
    margin-top: 0.95rem;
    font-size: clamp(1.05rem, 1.55vw, 1.25rem);
    max-width: 40ch;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 1.2rem;
    gap: 0.6rem;
  }

  .hero-btn {
    padding: 0.68rem 1.1rem;
    font-size: 0.94rem;
  }
}

.site-header {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.15rem 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body > .site-header {
  margin-top: 1rem;
  margin-bottom: 1.35rem;
  padding: clamp(1.15rem, 2.2vw, 1.6rem) clamp(1.15rem, 2.4vw, 1.7rem);
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-left: 3px solid var(--action);
  border-radius: 14px;
  background: rgba(12, 22, 38, 0.92);
  box-shadow: 0 12px 30px rgba(6, 14, 27, 0.24);
}

body > .site-header .eyebrow {
  margin-bottom: 0.55rem;
  color: #ffb04a;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

body > .site-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #f3f7ff;
}

body > .site-header p:not(.eyebrow) {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
  font-size: clamp(0.94rem, 1.45vw, 1.05rem);
}

.home-landing .site-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}

.hero-title {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 20ch;
}

.hero-title-line {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero-title-phrase {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  row-gap: 0;
}

.hero-title-prefix,
.hero-title-suffix {
  display: inline-block;
  white-space: nowrap;
}

.hero-title-accent {
  color: var(--action);
  margin-top: 0.04em;
}

.hero-rotate {
  --hero-rotate-gap: 0.35em;
  --hero-rotate-line: 1.06;
  --hero-rotate-pad-y: 0.06em;
  --hero-rotate-row-h: calc(var(--hero-rotate-line) * 1em + var(--hero-rotate-pad-y) * 2);
  --hero-rotate-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-rotate-slide: 0.65s;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  margin: 0;
}

.hero-rotate-placeholder {
  display: inline;
  white-space: nowrap;
}

.hero-rotate.is-ready .hero-rotate-placeholder {
  display: none;
}

.hero-rotate:not(.is-ready) .hero-rotate-window {
  position: absolute;
  left: -9999px;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  height: auto;
  overflow: visible;
  width: max-content;
}

.hero-rotate.is-ready .hero-rotate-window {
  position: static;
  visibility: visible;
  pointer-events: auto;
}

.hero-rotate:not(.is-ready) .hero-rotate-track {
  transition: none !important;
  transform: none !important;
}

.hero-rotate.is-ready .hero-rotate-window {
  height: var(--hero-rotate-row-h);
  overflow: hidden;
}

.hero-rotate-window {
  display: block;
  overflow: hidden;
  min-width: 0;
  width: max-content;
  text-align: left;
  height: var(--hero-rotate-row-h, calc(var(--hero-rotate-line) * 1em + var(--hero-rotate-pad-y) * 2));
  line-height: var(--hero-rotate-line);
}

.hero-rotate-track {
  display: flex;
  flex-direction: column;
  gap: var(--hero-rotate-gap);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform var(--hero-rotate-slide) var(--hero-rotate-ease);
}

.hero-rotate-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: var(--hero-rotate-row-h, auto);
  min-height: calc(var(--hero-rotate-line) * 1em + var(--hero-rotate-pad-y) * 2);
  margin: 0;
  padding: var(--hero-rotate-pad-y) 0;
  line-height: var(--hero-rotate-line);
  white-space: nowrap;
  box-sizing: border-box;
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.58;
}

.site-header h1,
.panel h2,
.bento-card h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 0;
  padding: 0.62rem 1rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hero-btn-primary {
  background: var(--action);
  color: #fff;
}

.hero-btn-primary:hover {
  background: var(--action-strong);
  transform: translateY(-1px);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-btn-ghost {
  background: transparent;
  color: var(--muted);
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.hero-btn-ghost:hover {
  color: var(--text);
}

.home-stats-panel {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.stat-sidebar {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

@media (min-width: 981px) {
  .home-stats-panel {
    grid-template-columns: minmax(164px, 188px) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
  }

  .stat-sidebar {
    grid-template-rows: 1fr auto;
    align-content: stretch;
    min-height: 100%;
  }

  .stat-card-communities {
    min-height: 0;
    padding: 1rem 0.95rem 1.15rem;
  }

  .stat-card-communities .stat-value-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0.45rem 0 0.65rem;
  }

  .stat-card-communities .stat-number {
    font-size: clamp(2.85rem, 6.2vw, 4.1rem);
  }

  .stat-card-communities .stat-link {
    margin-top: auto;
  }

  .mentor-strip-compact {
    flex: 0 0 auto;
  }

  .stat-card-trending {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .trending-list {
    flex: 1;
  }
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.22s ease;
  min-width: 0;
}

.stat-card-communities {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.stat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stat-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 0 2px rgba(61, 214, 140, 0.18);
  flex-shrink: 0;
}

.stat-value-wrap {
  margin: 0.1rem 0 0.35rem;
}

.stat-number {
  display: block;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.stat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.52rem 0.7rem;
  border-radius: 9px;
  border: 1px solid rgba(45, 140, 255, 0.28);
  background: rgba(45, 140, 255, 0.07);
  color: #a8ccff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.stat-link-icon {
  font-size: 0.95em;
  line-height: 1;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.stat-link:hover {
  color: #d4e8ff;
  background: rgba(45, 140, 255, 0.14);
  border-color: rgba(45, 140, 255, 0.45);
}

.stat-link:hover .stat-link-icon {
  transform: translateX(3px);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.stat-card-trending {
  min-width: 0;
}

.stat-card-trending .stat-card-head {
  margin-bottom: 0.65rem;
}

.trending-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  animation: home-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.trending-media {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.trending-media .trending-rank {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 0.75rem;
}

.trending-item:hover {
  border-color: rgba(255, 138, 30, 0.38);
  background: rgba(255, 138, 30, 0.04);
  transform: translateX(4px);
}

.stat-number.is-skeleton {
  display: block;
  width: min(5.5rem, 70%);
  height: clamp(2.2rem, 4.5vw, 2.85rem);
  border-radius: 12px;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(116, 155, 227, 0.12) 0%,
    rgba(116, 155, 227, 0.24) 50%,
    rgba(116, 155, 227, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: bento-skeleton-shimmer 1.35s ease-in-out infinite;
}

.trending-list.is-loading .trending-item-skeleton {
  pointer-events: none;
}

.trending-item-skeleton {
  border-color: rgba(116, 155, 227, 0.14);
}

.bento-skeleton {
  display: block;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(116, 155, 227, 0.1) 0%,
    rgba(116, 155, 227, 0.22) 50%,
    rgba(116, 155, 227, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: bento-skeleton-shimmer 1.35s ease-in-out infinite;
}

.bento-skeleton-rank {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex-shrink: 0;
}

.bento-skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
}

.bento-skeleton-line {
  height: 0.82rem;
  border-radius: 6px;
}

.bento-skeleton-line-title {
  width: min(12rem, 88%);
}

.bento-skeleton-line-meta {
  width: min(5.5rem, 55%);
  opacity: 0.85;
}

.trending-item-skeleton:nth-child(2) .bento-skeleton {
  animation-delay: 0.12s;
}

.trending-item-skeleton:nth-child(3) .bento-skeleton {
  animation-delay: 0.24s;
}

@keyframes bento-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-number.is-skeleton,
  .bento-skeleton,
  .feed-skeleton-avatar,
  .feed-skeleton-action {
    animation: none;
    background: rgba(116, 155, 227, 0.16);
  }
}

.trending-item-loading {
  opacity: 0.7;
}

.trending-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(45, 140, 255, 0.12);
  color: var(--primary);
  flex-shrink: 0;
}

.trending-avatar {
  display: grid;
  grid-template: 1fr / 1fr;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(126, 161, 228, 0.32);
  text-decoration: none;
}

.trending-avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trending-avatar-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: rgba(45, 140, 255, 0.18);
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trending-avatar-img[hidden],
.trending-avatar-fallback[hidden] {
  display: none !important;
}

.trending-item:nth-child(1) .trending-avatar-fallback {
  background: rgba(255, 138, 30, 0.16);
  color: #ffd8b0;
}

.trending-item:nth-child(1) .trending-rank {
  background: rgba(255, 138, 30, 0.16);
  color: var(--action);
}

.trending-item:nth-child(2) .trending-rank {
  background: rgba(45, 140, 255, 0.14);
  color: #7eb8ff;
}

.trending-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.trending-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trending-name:hover {
  color: var(--action);
}

.trending-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.trending-go {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.trending-go:hover {
  color: var(--action);
  background: rgba(255, 138, 30, 0.1);
}

.mentor-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.mentor-strip-compact {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0;
  padding: 0.8rem 0.85rem;
}

.mentor-strip-compact .mentor-strip-title {
  font-size: 0.95rem;
}

.mentor-strip-compact .mentor-strip-desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
}

.mentor-strip-compact .mentor-strip-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.84rem;
  padding: 0.48rem 0.7rem;
}

@media (min-width: 981px) {
  .mentor-strip:not(.mentor-strip-compact) .mentor-strip-desc {
    display: none;
  }

  .mentor-strip:not(.mentor-strip-compact) .mentor-strip-copy {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .mentor-strip:not(.mentor-strip-compact) .mentor-strip-label {
    margin: 0;
  }

  .mentor-strip:not(.mentor-strip-compact) .mentor-strip-title {
    margin: 0;
  }

  .mentor-strip:not(.mentor-strip-compact) .mentor-strip-label::after {
    content: "·";
    margin-left: 0.55rem;
    color: var(--muted);
    font-weight: 400;
  }
}

.mentor-strip-label {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mentor-strip-title {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.mentor-strip-desc {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mentor-strip-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.bento-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1rem;
}

.bento-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  padding: 1rem;
}

.bento-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bento-card h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.05rem;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.bento-card-mentor p {
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.bento-card-mentor .nav-btn-primary {
  margin-top: 0.15rem;
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
}

.leaderboard {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.32rem;
}

.leaderboard li {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0.45rem 0;
}

.leaderboard li:last-child {
  border-bottom: none;
}

.leaderboard strong {
  color: var(--action);
}

.bento-stat-heading {
  margin: 0.15rem 0 0.35rem;
}

.bento-animated-stat,
.bento-member-count {
  font-variant-numeric: tabular-nums;
}

.bento-community-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.bento-community-link:hover {
  color: #ff8a1e;
}

.bento-visibility-hint {
  margin-left: 0.2rem;
  font-size: 0.85em;
  opacity: 0.9;
}

.bento-communities-placeholder,
.bento-communities-empty {
  opacity: 0.85;
}

.layout {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

body:has(> .site-header) .layout {
  margin-top: 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: none;
}

.campaign-ended-panel {
  border-color: rgba(116, 155, 227, 0.28);
}

.campaign-ended-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 30, 0.35);
  background: rgba(255, 138, 30, 0.1);
  color: #ffd8b0;
  font-weight: 600;
  line-height: 1.45;
}

.panel h2 {
  margin-top: 0.15rem;
  margin-bottom: 0.7rem;
  font-size: 1.03rem;
}

label {
  display: block;
  margin: 0.68rem 0 0.34rem;
  font-weight: 500;
  color: #bfceec;
  font-size: 0.9rem;
}

input,
select,
textarea,
button {
  width: 100%;
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid rgba(126, 161, 228, 0.35);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  background: rgba(9, 16, 29, 0.8);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #7587ad;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 140, 255, 0.2);
  background: rgba(8, 15, 28, 0.94);
}

textarea {
  resize: vertical;
}

button {
  margin-top: 0.9rem;
  border: none;
  border-radius: 10px;
  padding: 0.69rem 0.86rem;
  background: linear-gradient(130deg, var(--primary), var(--primary-strong));
  color: #f8fbff;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 20px rgba(18, 66, 141, 0.3);
}

.top-menu .menu-btn:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.secondary {
  background: rgba(45, 140, 255, 0.13);
  color: #d8e6ff;
  border: 1px solid rgba(107, 154, 235, 0.38);
  width: auto;
  margin-top: 0;
  padding: 0.45rem 0.7rem;
  box-shadow: none;
}

.forum-header,
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.panel-header h2 {
  margin: 0;
}

.panel-header .nav-btn-primary {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.answer-toggle-btn {
  width: auto;
  margin-top: 0.2rem;
}

.answer-form {
  margin-top: 0.65rem;
  gap: 0.55rem;
  max-height: min(72vh, 540px);
  overflow: hidden;
}

.answer-form[hidden] {
  display: none !important;
}

.answer-form:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.question-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.92rem;
  min-width: 0;
  max-width: 100%;
}

.question-list.is-loading .question-card-skeleton {
  pointer-events: none;
}

.question-card-skeleton {
  border-color: rgba(116, 155, 227, 0.14);
}

.feed-skeleton-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feed-skeleton-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.feed-skeleton-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.feed-skeleton-line-title {
  height: 1rem;
  width: min(70%, 18rem);
}

.feed-skeleton-line-meta {
  height: 0.75rem;
  width: min(45%, 10rem);
  opacity: 0.9;
}

.feed-skeleton-line-content {
  height: 0.72rem;
  width: 100%;
}

.feed-skeleton-line-content--short {
  width: 72%;
}

.feed-skeleton-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.feed-skeleton-action {
  width: 4.2rem;
  height: 1.85rem;
  border-radius: 8px;
}

.question-card-skeleton:nth-child(2) .bento-skeleton {
  animation-delay: 0.1s;
}

.question-card-skeleton:nth-child(3) .bento-skeleton {
  animation-delay: 0.2s;
}

.question-card-skeleton[style*="--feed-skeleton-delay"] .bento-skeleton {
  animation-delay: var(--feed-skeleton-delay, 0s);
}

.question-card {
  position: relative;
  border: 1px solid rgba(116, 155, 227, 0.26);
  border-radius: 14px;
  padding: 0.92rem;
  background: rgba(12, 22, 38, 0.9);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.question-accordion-toggle {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(124, 155, 214, 0.28);
  border-radius: 8px;
  background: rgba(17, 30, 49, 0.65);
  color: var(--muted);
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.question-accordion-toggle:hover {
  background: rgba(45, 140, 255, 0.14);
  border-color: rgba(124, 155, 214, 0.45);
  transform: none;
  filter: none;
  box-shadow: none;
}

.question-accordion-chevron {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(-1px, -1px);
  transition: transform 0.22s ease;
}

.question-card.is-expanded .question-accordion-chevron {
  transform: rotate(45deg) translate(-1px, -1px);
}

.question-summary-toggle {
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.question-summary-toggle:hover {
  background: rgba(255, 255, 255, 0.025);
}

.question-summary-toggle:focus-visible {
  outline: 2px solid rgba(45, 140, 255, 0.55);
  outline-offset: 2px;
}

.question-accordion-panel {
  margin-top: 0.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.question-accordion-panel:not([hidden]) {
  animation: question-accordion-open 0.22s ease;
}

@keyframes question-accordion-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .question-accordion-panel:not([hidden]) {
    animation: none;
  }

  .question-accordion-chevron {
    transition: none;
  }
}

.question-card.feed-item-highlight,
.answer.feed-item-highlight,
.answer-reply.feed-item-highlight {
  border-color: rgba(255, 138, 30, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 138, 30, 0.2);
}

.hero-actions[hidden] {
  display: none !important;
}

.question-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.question-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 138, 30, 0.45);
  background: linear-gradient(145deg, rgba(45, 140, 255, 0.35), rgba(255, 138, 30, 0.35));
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
}

.question-avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.question-avatar-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.question-avatar-img[hidden],
.question-avatar-fallback[hidden] {
  display: none !important;
}

.question-body {
  flex: 1;
  min-width: 0;
}

.question-card:hover {
  border-color: rgba(255, 138, 30, 0.48);
  box-shadow: 0 10px 24px rgba(6, 14, 27, 0.45);
  transform: translateY(-1px);
}

.question-title {
  margin: 0;
  font-size: 1.03rem;
  color: #f3f7ff;
}

.question-meta {
  margin: 0.4rem 0;
  color: #98acd0;
  font-size: 0.85rem;
}

.question-content {
  margin: 0.4rem 0 0.7rem;
}

.rich-content {
  color: #dbe8ff;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.rich-content p {
  margin: 0.35rem 0;
}

.rich-content p:first-child {
  margin-top: 0;
}

.rich-content p:last-child {
  margin-bottom: 0;
}

.rich-content a {
  color: #9ec5ff;
}

.rich-content ul,
.rich-content ol {
  margin: 0.35rem 0;
  padding-left: 1.25rem;
}

.rich-content blockquote {
  margin: 0.5rem 0;
  padding: 0.45rem 0.75rem;
  border-left: 3px solid var(--action);
  background: rgba(255, 138, 30, 0.08);
  border-radius: 0 8px 8px 0;
}

.rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(126, 161, 228, 0.28);
}

.quill-editor-host {
  margin-bottom: 0.35rem;
}

.quill-editor-wrap {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(126, 161, 228, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(9, 16, 29, 0.8);
  font-family: inherit;
  max-width: 100%;
  min-width: 0;
}

.quill-editor-wrap .ql-toolbar.ql-snow,
.quill-editor-wrap .ql-container.ql-snow {
  border: none;
}

.quill-editor-wrap .ql-toolbar.ql-snow {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(126, 161, 228, 0.35);
  background: rgba(8, 15, 28, 0.94);
  padding: 0.45rem 0.5rem;
}

.quill-editor-wrap .ql-container.ql-snow {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: min(42vh, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(9, 16, 29, 0.88);
  font-size: 0.95rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 161, 228, 0.45) transparent;
}

.quill-editor-wrap .ql-container.ql-snow::-webkit-scrollbar {
  width: 8px;
}

.quill-editor-wrap .ql-container.ql-snow::-webkit-scrollbar-thumb {
  background: rgba(126, 161, 228, 0.4);
  border-radius: 8px;
}

.quill-editor-wrap .ql-editor {
  min-height: 120px;
  height: auto;
  overflow: visible;
  color: var(--text);
  line-height: 1.55;
}

.quill-editor-wrap .ql-editor.ql-blank::before {
  color: #7587ad;
  font-style: normal;
  font-weight: 400;
}

.quill-editor-wrap .ql-editor img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(126, 161, 228, 0.28);
}

.quill-editor-wrap .ql-snow button.ql-image.ql-image-uploading {
  opacity: 0.55;
  pointer-events: none;
}

/* Görsel boyutlandırma (köşeden sürükle) */
.quill-editor-wrap .ql-container.ql-snow {
  position: relative;
}

.quill-editor-wrap .ql-editor img {
  cursor: pointer;
}

.rekabetli-image-resize-overlay {
  position: absolute;
  box-sizing: border-box;
  border: 1px dashed rgba(255, 138, 30, 0.85);
  pointer-events: none;
  z-index: 30;
}

.rekabetli-image-size-label {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(12, 22, 38, 0.94);
  border: 1px solid rgba(126, 161, 228, 0.35);
  color: #bfceec;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.rekabetli-image-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ff8a1e;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  box-sizing: border-box;
}

.rekabetli-image-handle-nw {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}

.rekabetli-image-handle-ne {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}

.rekabetli-image-handle-sw {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}

.rekabetli-image-handle-se {
  bottom: -6px;
  right: -6px;
  cursor: nwse-resize;
}

/* Araç çubuğu: Detay etiketi ile aynı ton (#bfceec) */
.quill-editor-wrap .ql-snow .ql-stroke {
  stroke: #bfceec;
}

.quill-editor-wrap .ql-snow .ql-fill {
  fill: #bfceec;
}

.quill-editor-wrap .ql-snow .ql-picker-label {
  color: #bfceec;
}

.quill-editor-wrap .ql-snow .ql-picker-label .ql-stroke {
  stroke: #bfceec;
}

.quill-editor-wrap .ql-snow button {
  color: #bfceec;
}

.quill-editor-wrap .ql-snow button:hover,
.quill-editor-wrap .ql-snow .ql-picker-label:hover {
  color: #f3f7ff;
}

.quill-editor-wrap .ql-snow button:hover .ql-stroke,
.quill-editor-wrap .ql-snow .ql-picker-label:hover .ql-stroke {
  stroke: #f3f7ff;
}

.quill-editor-wrap .ql-snow button:hover .ql-fill,
.quill-editor-wrap .ql-snow .ql-picker-label:hover .ql-fill {
  fill: #f3f7ff;
}

.quill-editor-wrap .ql-snow button.ql-active {
  color: var(--action);
}

.quill-editor-wrap .ql-snow button.ql-active .ql-stroke {
  stroke: var(--action);
}

.quill-editor-wrap .ql-snow button.ql-active .ql-fill {
  fill: var(--action);
}

/* Açılır liste (başlık vb.) */
.quill-editor-wrap .ql-snow .ql-picker-options {
  background: linear-gradient(160deg, rgba(20, 32, 53, 0.98), rgba(15, 25, 42, 0.96));
  border: 1px solid rgba(126, 161, 228, 0.38);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
}

.quill-editor-wrap .ql-snow .ql-picker.ql-expanded .ql-picker-label {
  border-color: rgba(126, 161, 228, 0.35);
  color: #f3f7ff;
}

.quill-editor-wrap .ql-snow .ql-picker-options .ql-picker-item {
  color: #bfceec;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.quill-editor-wrap .ql-snow .ql-picker-options .ql-picker-item:hover {
  color: #f3f7ff;
  background: rgba(45, 140, 255, 0.16);
}

.quill-editor-wrap .ql-snow .ql-picker-options .ql-selected {
  color: #ffe8d2;
  background: rgba(255, 138, 30, 0.18);
}

/* Bağlantı ve diğer araç ipuçları (tooltip pop-up) */
.rekabetli-quill-tooltip,
.quill-editor-wrap .ql-snow .ql-tooltip {
  background: linear-gradient(160deg, rgba(20, 32, 53, 0.98), rgba(15, 25, 42, 0.96));
  border: 1px solid rgba(126, 161, 228, 0.38);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48);
  color: #bfceec;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
  z-index: 220;
}

.rekabetli-quill-tooltip::before,
.quill-editor-wrap .ql-snow .ql-tooltip::before {
  color: #bfceec;
  font-weight: 500;
}

.rekabetli-quill-tooltip[data-mode="link"]::before,
.quill-editor-wrap .ql-snow .ql-tooltip[data-mode="link"]::before {
  content: "Bağlantı ekle:";
}

.rekabetli-quill-tooltip[data-mode="video"]::before,
.quill-editor-wrap .ql-snow .ql-tooltip[data-mode="video"]::before {
  content: "Video bağlantısı:";
}

.rekabetli-quill-tooltip[data-mode="formula"]::before,
.quill-editor-wrap .ql-snow .ql-tooltip[data-mode="formula"]::before {
  content: "Formül:";
}

.rekabetli-quill-tooltip input[type="text"],
.quill-editor-wrap .ql-snow .ql-tooltip input[type="text"] {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(126, 161, 228, 0.35);
  border-radius: 8px;
  padding: 0.48rem 0.58rem;
  background: rgba(9, 16, 29, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.rekabetli-quill-tooltip input[type="text"]::placeholder,
.quill-editor-wrap .ql-snow .ql-tooltip input[type="text"]::placeholder {
  color: #7587ad;
}

.rekabetli-quill-tooltip input[type="text"]:focus,
.quill-editor-wrap .ql-snow .ql-tooltip input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.2);
}

.rekabetli-quill-tooltip a,
.quill-editor-wrap .ql-snow .ql-tooltip a {
  color: #9ec5ff;
  font-weight: 600;
  text-decoration: none;
}

.rekabetli-quill-tooltip a:hover,
.quill-editor-wrap .ql-snow .ql-tooltip a:hover {
  color: #c8dcff;
  text-decoration: underline;
}

.rekabetli-quill-tooltip a.ql-preview,
.quill-editor-wrap .ql-snow .ql-tooltip a.ql-preview {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.answer-form > label,
.answer-form > .answer-editor-label {
  flex-shrink: 0;
}

.answer-form .quill-editor-host {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.answer-form .quill-editor-wrap {
  flex: 1 1 auto;
  min-height: 0;
}

.answer-form .quill-editor-wrap .ql-container.ql-snow {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  overflow-y: auto;
}

.answer-form .quill-editor-wrap .ql-editor {
  min-height: 88px;
}

.answer-form > button[type="submit"] {
  flex-shrink: 0;
  margin-top: auto;
  width: auto;
}

.question-accordion-panel .answer-toggle-btn {
  width: auto;
  margin-top: 0.65rem;
}

.answer-reply-form .quill-editor-host {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.answer-reply-form .quill-editor-wrap .ql-editor {
  min-height: 72px;
}

.answer-reply-form > button[type="submit"] {
  width: auto;
  justify-self: start;
}

.answer-editor-label {
  display: block;
  margin: 0.5rem 0 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: #bfceec;
}

.answer .rich-content {
  margin-top: 0.25rem;
}

.question-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
}

.question-actions .action-btn {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0;
}

.question-actions .action-btn:hover {
  transform: none;
  box-shadow: none;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 154, 235, 0.38);
  background: rgba(45, 140, 255, 0.1);
  color: #d8e6ff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: none;
}

.action-btn:hover {
  filter: brightness(1.08);
  box-shadow: none;
}

.action-btn[aria-pressed="true"] {
  border-color: rgba(255, 138, 30, 0.55);
  background: rgba(255, 138, 30, 0.16);
  color: #ffe8d2;
}

.like-btn[aria-pressed="true"] span:first-child {
  color: #ff6b4a;
}

.action-btn.danger {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 80, 80, 0.12);
  color: #ffc9c9;
}

.question-owner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.edited-meta {
  color: rgba(200, 214, 240, 0.72);
}

.feed-edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
  min-width: 0;
}

.post-edit-form {
  margin-top: 0.5rem;
}

.comment-edit-form {
  margin-top: 0.45rem;
}

.feed-edit-title,
.post-edit-title {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 214, 0.35);
  background: rgba(8, 14, 26, 0.65);
  color: #e8f0ff;
  font-size: 1rem;
}

.feed-edit-editor-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feed-edit-editor-panel > .feed-edit-editor-host {
  margin-bottom: 0;
}

.feed-edit-editor-host .quill-editor-host {
  margin-bottom: 0;
}

.feed-edit-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.55rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(124, 155, 214, 0.22);
}

.feed-edit-footer .nav-btn,
.feed-edit-footer .secondary {
  width: auto;
  margin-top: 0;
}

.feed-edit-footer .nav-btn:disabled,
.feed-edit-footer .secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.post-edit-actions,
.comment-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.answer-owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.answer-edit-btn,
.answer-delete-btn,
.answer-reply-delete-btn {
  width: auto;
}

.answer-delete-btn {
  margin-top: 0;
}

.action-btn.danger:hover {
  background: rgba(255, 80, 80, 0.2);
}

.answers {
  margin: 0.2rem 0 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.answer {
  border-left: 3px solid var(--action);
  background: rgba(255, 138, 30, 0.08);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: #dbe8ff;
}

.answer p {
  margin: 0.2rem 0 0;
  white-space: pre-wrap;
}

.answer-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem;
}

.answer-replies {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(124, 155, 214, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.answer-replies-list {
  display: grid;
  gap: 0.5rem;
}

.answer-reply {
  border-left: 2px solid rgba(124, 155, 214, 0.45);
  background: rgba(8, 14, 26, 0.45);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}

.answer-reply-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 0.92rem;
}

.answer-reply-content {
  margin-top: 0.2rem;
}

.answer-reply-toggle-btn {
  align-self: flex-start;
  width: auto;
}

.answer-reply-form {
  display: grid;
  gap: 0.55rem;
}

.answer-reply-form[hidden] {
  display: none;
}

.answer-reply-editor-label {
  font-size: 0.9rem;
  color: #b8c9e8;
}

.answer-rating-block {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 155, 214, 0.22);
  background: rgba(8, 14, 26, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.answer-rating-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
}

.answer-rating-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
}

.answer-rating-summary {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}

.answer-rating-avg {
  color: var(--action);
  font-weight: 700;
  font-size: 0.95rem;
}

.answer-rating-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.answer-rating-stars {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(124, 155, 214, 0.35);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.answer-rating-block .answer-rating-star {
  width: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(124, 155, 214, 0.28);
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  filter: none;
  letter-spacing: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.answer-rating-block .answer-rating-star:last-child {
  border-right: none;
}

.answer-rating-star-num {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.answer-rating-block .answer-rating-star:hover:not(:disabled) {
  background: rgba(255, 138, 30, 0.18);
  color: #fff;
  transform: none;
  filter: none;
  box-shadow: none;
}

.answer-rating-block .answer-rating-star.is-selected {
  background: linear-gradient(180deg, rgba(255, 138, 30, 0.45), rgba(255, 138, 30, 0.28));
  color: #fff;
}

.answer-rating-block .answer-rating-star:disabled {
  opacity: 0.55;
  cursor: wait;
}

.answer-rating-yours {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--action);
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 138, 30, 0.12);
  border: 1px solid rgba(255, 138, 30, 0.28);
}

.answer-rating-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

@media (max-width: 480px) {
  .answer-rating-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .answer-rating-summary {
    white-space: normal;
  }

  .answer-rating-block .answer-rating-star {
    min-width: 2.05rem;
    height: 2.2rem;
  }
}

.profile-answer-rating {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--action);
  font-weight: 600;
}

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

body.question-modal-open,
body.notifications-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: var(--site-header-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: rgba(4, 9, 17, 0.65);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.modal-overlay:not([hidden]) {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.25rem 1rem 2rem;
}

.modal-overlay[hidden] {
  display: none;
}

.checkout-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(2px);
}

.checkout-loading-overlay[hidden] {
  display: none !important;
}

.checkout-loading-card {
  width: min(420px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(8, 15, 28, 0.96);
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.4);
  text-align: center;
}

.checkout-loading-spinner {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  border-radius: 999px;
  border: 2px solid rgba(147, 197, 253, 0.35);
  border-top-color: #60a5fa;
  animation: checkout-spin 0.8s linear infinite;
  margin-bottom: 0.6rem;
}

.checkout-loading-title {
  margin: 0;
  color: #f3f7ff;
  font-size: 1rem;
  font-weight: 700;
}

.checkout-loading-message {
  margin: 0.35rem 0 0;
  color: #bfdbfe;
  font-size: 0.9rem;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 12, 23, 0.44);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 4.2rem 0.8rem 0.8rem;
}

.mobile-menu-overlay[hidden] {
  display: none;
}

.mobile-menu-sheet {
  width: min(360px, 100%);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(15, 27, 45, 0.96), rgba(13, 22, 37, 0.96));
  box-shadow: var(--shadow);
  padding: 0.95rem;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.mobile-menu-actions {
  display: grid;
  gap: 0.55rem;
}

.mobile-menu-actions .nav-btn {
  width: 100%;
  margin-top: 0;
}

.modal-card {
  width: min(560px, 100%);
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(20, 32, 53, 0.98), rgba(15, 25, 42, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.modal-card #question-form,
.modal-card .modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-form label,
.modal-form .form-label-block {
  margin-top: 0.35rem;
}

.modal-form .form-label-block {
  display: block;
  margin-bottom: 0.34rem;
  font-weight: 500;
  color: #bfceec;
  font-size: 0.9rem;
}

.modal-form .community-avatar-block {
  margin: 0.15rem 0 0.35rem;
}

.community-visibility-fieldset {
  margin: 0.35rem 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(126, 161, 228, 0.28);
  border-radius: 12px;
  background: rgba(9, 16, 29, 0.45);
}

.community-visibility-fieldset legend {
  padding: 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #bfceec;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(126, 161, 228, 0.3);
  background: rgba(9, 16, 29, 0.65);
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.radio-option input {
  width: auto;
  margin: 0;
}

.radio-option:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.18);
}

.form-message {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #9eb6e8;
}

.form-message.is-error {
  color: #fca5a5;
}

.register-message--success {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
  text-align: left;
}

.register-message--success .register-message-title {
  font-size: 0.98rem;
  color: #86efac;
}

.register-message--success .register-message-body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d1fae5;
}

.register-message--error {
  margin-top: 0.6rem;
  color: #fca5a5;
}

.community-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.community-card-head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.community-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(126, 161, 228, 0.35);
}

.community-card-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 140, 255, 0.2);
  color: #dbeafe;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-public {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.badge-private {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

/* Topluluk sayfası */
.community-page-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.community-page-layout > .panel {
  margin: 0;
}

.community-page .community-join-actions .details-btn {
  display: inline-block;
  width: auto;
  margin-top: 0;
  box-shadow: none;
  transform: none;
  filter: none;
}

.community-page .community-join-actions .details-btn.is-danger {
  border: 1px solid rgba(248, 113, 113, 0.55);
  background: rgba(220, 38, 38, 0.18);
  color: #fecaca;
}

.community-page .community-join-actions .details-btn.is-danger:hover {
  background: rgba(220, 38, 38, 0.3);
  border-color: rgba(248, 113, 113, 0.85);
  color: #fff1f2;
  transform: none;
  filter: none;
  box-shadow: none;
}

.community-page .community-join-actions .details-btn.is-leave {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

.community-page .community-join-actions .details-btn.is-leave:hover {
  background: rgba(148, 163, 184, 0.22);
  border-color: rgba(203, 213, 225, 0.55);
  color: #f8fafc;
  transform: none;
  filter: none;
  box-shadow: none;
}

.communities-load-error {
  color: #fca5a5;
}

.communities-empty {
  margin: 0.5rem 0 0;
  text-align: center;
}

.community-page-error {
  max-width: 720px;
  margin: 1rem auto;
  padding: 0 1rem;
  text-align: center;
}

.community-info-panel {
  padding: 1.15rem 1.2rem;
}

.community-back-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #9eb6e8;
  font-size: 0.9rem;
  text-decoration: none;
}

.community-back-link:hover {
  color: #dbeafe;
}

.community-info-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.community-info-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(126, 161, 228, 0.35);
  background: rgba(45, 140, 255, 0.15);
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
}

.community-info-avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-info-avatar-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.35rem;
  font-weight: 700;
}

.community-info-avatar-img[hidden],
.community-info-avatar-fallback[hidden] {
  display: none !important;
}

.community-info-title {
  margin: 0.2rem 0 0.35rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.community-visibility-badge {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.community-visibility-badge.is-public {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.community-visibility-badge.is-private {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.community-info-meta {
  margin: 0;
  color: #9eb6e8;
  font-size: 0.92rem;
}

.community-info-purpose {
  margin: 0.95rem 0 0;
  color: #c9d7f2;
  line-height: 1.55;
}

.community-admin-note {
  margin: 0.75rem 0 0;
  color: #fbbf24;
  font-size: 0.9rem;
}

.community-join-actions {
  margin-top: 1rem;
}

.community-page-layout .community-info-panel {
  margin-bottom: 0;
}

.community-info-panel .community-panel-accordion {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(126, 161, 228, 0.18);
}

.community-panel-accordion .activity-accordion-section.is-open .activity-accordion-panel {
  max-height: min(280px, 50vh);
  overflow-x: hidden;
  overflow-y: auto;
}

.community-member-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid rgba(126, 161, 228, 0.14);
}

.community-member-remove-btn {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  margin-top: 0;
  align-self: center;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border-radius: 8px;
  padding: 0.28rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  filter: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.community-member-remove-btn:hover {
  background: rgba(248, 113, 113, 0.22);
  border-color: rgba(248, 113, 113, 0.7);
  transform: none;
  filter: none;
  box-shadow: none;
}

.community-join-request-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
}

.community-join-approve-btn,
.community-join-reject-btn {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  filter: none;
}

.community-join-approve-btn {
  border: 1px solid rgba(74, 222, 128, 0.45);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.community-join-approve-btn:hover {
  background: rgba(34, 197, 94, 0.24);
  border-color: rgba(74, 222, 128, 0.7);
  transform: none;
  filter: none;
  box-shadow: none;
}

.community-join-reject-btn {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

.community-join-reject-btn:hover {
  background: rgba(248, 113, 113, 0.22);
  border-color: rgba(248, 113, 113, 0.7);
  transform: none;
  filter: none;
  box-shadow: none;
}

.community-member-item:last-child {
  border-bottom: none;
}

.community-member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(45, 140, 255, 0.15);
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
}

.community-member-avatar img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-member-avatar-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.community-member-avatar img[hidden],
.community-member-avatar-fallback[hidden] {
  display: none !important;
}

.community-member-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.community-member-body strong {
  font-weight: 600;
}

.community-member-role {
  color: #8fa3cc;
  font-size: 0.82rem;
}

.community-feed-gate {
  margin: 0 0 0.75rem;
}

.feed-guest-cta {
  margin-top: 0.25rem;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 138, 30, 0.45);
  background: linear-gradient(155deg, rgba(255, 138, 30, 0.1), rgba(45, 140, 255, 0.08));
  text-align: center;
}

.feed-guest-cta-text {
  margin: 0 0 0.85rem;
  color: #dbeafe;
  line-height: 1.5;
  font-size: 0.95rem;
}

.feed-guest-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.feed-guest-cta-actions .nav-btn {
  width: auto;
  margin-top: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.details-btn.is-pending,
.details-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.details-btn.is-request {
  border-color: rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
}

.details-btn.is-request:hover {
  border-color: rgba(168, 85, 247, 0.75);
  color: #f3e8ff;
  background: rgba(168, 85, 247, 0.12);
}

.details-btn.is-member {
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
}

/* Pop-up bütünü kayar; editör içinde ayrı kaydırma yok */
.modal-card .quill-editor-wrap .ql-container.ql-snow {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  flex: none;
}

.modal-card .quill-editor-wrap .ql-editor {
  min-height: 7.5rem;
  height: auto;
  overflow: visible;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.modal-header h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
}

.icon-btn {
  width: auto;
  margin-top: 0;
  padding: 0.35rem 0.62rem;
  background: rgba(45, 140, 255, 0.13);
  border: 1px solid rgba(107, 154, 235, 0.38);
  color: #d8e6ff;
  box-shadow: none;
}

.confirm-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 9, 17, 0.72);
  backdrop-filter: blur(4px);
}

.confirm-dialog-overlay[hidden] {
  display: none;
}

.confirm-dialog-card {
  width: min(480px, 100%);
  padding: 1.15rem 1.2rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(116, 155, 227, 0.35);
  background: linear-gradient(160deg, rgba(20, 32, 53, 0.98), rgba(15, 25, 42, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.confirm-dialog-card.is-danger {
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 107, 107, 0.12);
}

.confirm-dialog-title {
  margin: 0 0 0.55rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.12rem;
  color: #f3f7ff;
}

.confirm-dialog-message {
  margin: 0 0 1rem;
  color: #c5d4f2;
  font-size: 0.94rem;
  line-height: 1.45;
  white-space: pre-line;
}

.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
}

.confirm-dialog-cancel,
.confirm-dialog-confirm,
.confirm-dialog-secondary {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: 2.65rem;
  padding: 0.69rem 0.85rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  font-size: 0.88rem;
  font-weight: 600;
}

.confirm-dialog-secondary[hidden] {
  display: none !important;
}

.confirm-dialog-secondary {
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.22);
  cursor: pointer;
}

.confirm-dialog-secondary:hover {
  background: rgba(37, 99, 235, 0.34);
}

.confirm-dialog-cancel.secondary {
  box-shadow: none;
  padding: 0.69rem 0.85rem;
}

.confirm-dialog-confirm.danger {
  background: linear-gradient(130deg, #e85a4a, #c73d32);
  border: 1px solid rgba(255, 120, 100, 0.5);
}

.confirm-dialog-confirm.danger:hover {
  filter: brightness(1.06);
}

.auth-layout {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
}

.auth-panel {
  width: min(520px, 100%);
}

.profile-panel {
  width: min(860px, 100%);
}

.profile-form {
  margin-top: 0.4rem;
}

.profile-avatar-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.4rem 0 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(116, 155, 227, 0.26);
  background: rgba(8, 15, 28, 0.65);
}

.profile-avatar-wrap {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 138, 30, 0.5);
  background: linear-gradient(145deg, rgba(45, 140, 255, 0.35), rgba(255, 138, 30, 0.35));
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
}

.profile-avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 700;
}

.profile-avatar-img[hidden],
.profile-avatar-fallback[hidden] {
  display: none !important;
}

.profile-avatar-actions {
  display: grid;
  gap: 0.45rem;
}

.avatar-upload-label {
  margin-top: 0;
  cursor: pointer;
  text-align: center;
}

.profile-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-message {
  margin-top: 0.75rem;
}

.profile-message-error {
  color: #ff9f9f;
}

.profile-delete-btn {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.profile-delete-btn:hover {
  background: rgba(248, 113, 113, 0.25);
  border-color: rgba(248, 113, 113, 0.72);
  color: #fff1f2;
}

.admin-panel {
  max-width: 1200px;
}

/* —— Admin paneli (sol menü + içerik) —— */
.admin-page .site-footer {
  margin-left: var(--admin-sidebar-width, 16.5rem);
}

.admin-shell {
  --admin-sidebar-width: 16.5rem;
  display: flex;
  min-height: calc(100vh - 4.5rem);
  padding-top: 4.5rem;
}

.admin-sidebar {
  position: fixed;
  top: 4.5rem;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: var(--admin-sidebar-width);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 0.75rem 1.5rem;
  border-right: 1px solid var(--border);
  background: rgba(6, 12, 24, 0.97);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.admin-sidebar-title {
  margin: 0;
  padding: 0 0.55rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
}

.admin-nav-group-label {
  margin: 0.85rem 0 0.35rem;
  padding: 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.admin-nav-group-label:first-child {
  margin-top: 0;
}

.admin-nav-btn {
  width: 100%;
  margin: 0;
  padding: 0.72rem 0.8rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #c5d4ef;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-nav-btn:hover {
  background: rgba(45, 140, 255, 0.12);
  color: #f3f7ff;
  transform: none;
}

.admin-nav-btn.is-active {
  background: rgba(45, 140, 255, 0.2);
  color: #93c5fd;
  box-shadow: inset 3px 0 0 #60a5fa;
}

.admin-nav-btn-label {
  min-width: 0;
  line-height: 1.35;
}

.admin-nav-count {
  flex-shrink: 0;
  min-width: 1.5rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
}

.admin-nav-btn.is-active .admin-nav-count {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(96, 165, 250, 0.35);
  color: #dbeafe;
}

.admin-main {
  flex: 1;
  min-width: 0;
  margin-left: var(--admin-sidebar-width);
  padding: 1.5rem 1.75rem 2.5rem;
  max-width: 1280px;
}

.admin-main-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-main-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
}

.admin-main-desc {
  margin: 0.35rem 0 0;
  max-width: 52ch;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.admin-main-message {
  margin: 0;
  flex: 1 1 220px;
  max-width: 420px;
  text-align: right;
}

.admin-main-message:not(.empty) {
  text-align: left;
}

.admin-section-view {
  display: none;
}

.admin-section-view.is-active {
  display: block;
}

.admin-section-card {
  border: 1px solid rgba(124, 155, 214, 0.18);
  border-radius: 16px;
  background: rgba(8, 14, 26, 0.55);
  padding: 1rem 1.1rem;
}

.admin-section-card + .admin-section-card {
  margin-top: 1rem;
}

.admin-section-card--form {
  padding: 1.15rem 1.25rem 1.25rem;
}

.admin-subsection-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.admin-campaign-form {
  display: grid;
  gap: 1rem;
}

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

.admin-form-field {
  display: grid;
  gap: 0.35rem;
}

.admin-form-field--full {
  grid-column: 1 / -1;
}

.admin-form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.admin-campaign-recipients {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(124, 155, 214, 0.14);
}

.admin-campaign-recipients-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.admin-campaign-recipients-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-table-wrap--recipients {
  max-height: 280px;
}

.admin-section {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-section-head h2 {
  margin: 0;
  font-size: 1rem;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line-color);
  border-radius: 12px;
  background: rgba(4, 10, 20, 0.35);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(124, 155, 214, 0.12);
  vertical-align: middle;
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--surface) 90%, #1d4ed8 10%);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.admin-table tbody tr:hover td {
  background: rgba(45, 140, 255, 0.04);
}

.admin-table td.empty {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem;
}

.admin-iban-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-table .secondary {
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.admin-inline-note {
  display: block;
  max-width: 16rem;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.admin-page-accordion {
  margin-top: 1rem;
}

.admin-accordion-panel {
  overflow: hidden;
}

.activity-accordion-section.is-open .admin-accordion-panel {
  max-height: none;
}

.admin-notal-notes-list {
  display: grid;
  gap: 0.85rem;
}

.admin-notal-note-card {
  border: 1px solid rgba(124, 155, 214, 0.22);
  border-radius: 12px;
  background: rgba(8, 14, 26, 0.45);
  padding: 0.85rem 0.95rem;
}

.admin-notal-note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.55rem;
}

.admin-notal-note-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.admin-notal-note-meta {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-notal-note-stats {
  margin: 0;
  font-size: 0.84rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.admin-notal-note-stats strong {
  color: var(--action);
}

.admin-notal-feedback-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.admin-notal-feedback-item {
  border-top: 1px solid rgba(124, 155, 214, 0.16);
  padding-top: 0.45rem;
  font-size: 0.84rem;
  color: #dbe4f5;
}

.admin-notal-feedback-item:first-child {
  border-top: none;
  padding-top: 0;
}

.admin-notal-feedback-score {
  font-weight: 700;
  color: var(--action);
}

.admin-notal-feedback-empty {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-page {
  padding-top: 4.5rem;
}

.profile-page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 15, 28, 0.94);
  backdrop-filter: blur(10px);
}

.profile-page-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-width: 0;
}

.profile-page-nav .brand {
  min-width: 0;
  flex-shrink: 1;
}

.profile-page-nav .brand-logo {
  max-width: 100%;
}

.nav-btn-home-icon {
  display: none;
  font-size: 1.1rem;
  line-height: 1;
}

.nav-btn-home-text {
  display: inline;
}

.profile-page-nav .notifications-btn {
  padding: 0.5rem 0.62rem;
}

.mentor-panel-mobile-toggle {
  display: none;
  width: auto;
  margin: 0 auto 0.85rem;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(107, 154, 235, 0.38);
  border-radius: 10px;
  background: rgba(45, 140, 255, 0.13);
  color: #d8e6ff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.mentor-panel-mobile-backdrop {
  display: none;
}

.mentor-panel-mobile-close {
  display: none;
}

body.mentor-panel-menu-open {
  overflow: hidden;
}

.profile-page-layout {
  min-height: calc(100vh - 4rem);
  align-items: flex-start;
  padding-top: 1rem;
}

.profile-page-accordion {
  margin-top: 0.5rem;
}

.profile-activity-hint {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.profile-accordion-panel .profile-form {
  margin-top: 0;
}

.activity-accordion {
  display: grid;
  gap: 0.55rem;
}

.activity-accordion-section {
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.45);
  overflow: hidden;
}

.activity-accordion-trigger {
  width: 100%;
  margin: 0;
  padding: 0.82rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: none;
  border-radius: 0;
  background: rgba(45, 140, 255, 0.08);
  color: #f3f7ff;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.activity-accordion-trigger:hover {
  transform: none;
  background: rgba(45, 140, 255, 0.14);
  filter: none;
}

.activity-accordion-section.is-open .activity-accordion-trigger {
  background: rgba(255, 138, 30, 0.12);
  border-bottom: 1px solid rgba(116, 155, 227, 0.22);
}

.activity-accordion-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-accordion-count {
  min-width: 1.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 138, 30, 0.2);
  color: #ffe8d2;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.activity-accordion-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #d8e6ff;
  border-bottom: 2px solid #d8e6ff;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.activity-accordion-section.is-open .activity-accordion-chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.activity-accordion-panel {
  display: grid;
  gap: 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0.85rem;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding 0.25s ease;
}

.activity-accordion-section.is-open .activity-accordion-panel {
  max-height: 8000px;
  opacity: 1;
  padding: 0.75rem 0.85rem 0.9rem;
}

.activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.activity-actions .secondary,
.activity-actions .activity-action-link {
  margin-top: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.activity-item {
  border: 1px solid rgba(116, 155, 227, 0.24);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(8, 15, 28, 0.55);
}

.activity-item-highlight {
  border-color: rgba(255, 138, 30, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 138, 30, 0.2);
}

.activity-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #f3f7ff;
}

.activity-meta {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #98acd0;
}

.activity-content {
  margin: 0;
  white-space: pre-wrap;
  color: #dbe8ff;
}

.activity-thread-label {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #98acd0;
}

.activity-thread {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.activity-comment {
  border-left: 3px solid var(--action);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 138, 30, 0.08);
}

.activity-comment p {
  margin: 0.25rem 0 0;
  white-space: pre-wrap;
}

.activity-thread-empty {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}


.notifications-wrap {
  position: relative;
}

.notifications-btn {
  position: relative;
  margin-top: 0;
  min-width: 2.5rem;
  justify-content: center;
}

.notifications-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.15rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ff5a3c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.notifications-popup {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(340px, 92vw);
  max-height: 380px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(116, 155, 227, 0.35);
  background: rgba(10, 18, 32, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 120;
  padding: 0.55rem;
}

.notifications-popup[hidden] {
  display: none !important;
}

.notifications-backdrop {
  position: fixed;
  inset: 0;
  z-index: 195;
  background: rgba(6, 12, 23, 0.52);
}

.notifications-backdrop[hidden] {
  display: none !important;
}

.notifications-popup.notifications-popup--mobile {
  position: fixed;
  inset: auto 0 0 0;
  width: auto;
  max-width: none;
  max-height: min(72vh, 520px);
  margin: 0;
  border-radius: 16px 16px 0 0;
  z-index: 200;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.notifications-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0.35rem 0.55rem;
  border-bottom: 1px solid rgba(116, 155, 227, 0.22);
  margin-bottom: 0.35rem;
}

.notifications-popup-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.notifications-dismiss-btn {
  margin: 0;
  padding: 0.28rem 0.62rem;
  border-radius: 8px;
  border: 1px solid rgba(116, 155, 227, 0.32);
  background: rgba(17, 30, 49, 0.55);
  color: #b8c9e8;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
}

.notifications-dismiss-btn:hover:not(:disabled) {
  background: rgba(45, 140, 255, 0.14);
  border-color: rgba(124, 155, 214, 0.45);
  color: #e8f0ff;
  transform: none;
  filter: none;
}

.notifications-dismiss-btn:disabled,
.notifications-dismiss-btn[hidden] {
  display: none;
}

.notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.notification-item {
  width: 100%;
  margin-top: 0;
  padding: 0.62rem 0.7rem;
  text-align: left;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(45, 140, 255, 0.08);
  color: #dbe8ff;
  box-shadow: none;
  display: grid;
  gap: 0.2rem;
}

.notification-item.unread {
  border-color: rgba(255, 138, 30, 0.35);
  background: rgba(255, 138, 30, 0.1);
}

.notification-item:hover {
  transform: none;
  filter: brightness(1.06);
}

.notification-text {
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.notification-time {
  font-size: 0.76rem;
  color: #98acd0;
}

.notifications-empty {
  margin: 0.4rem 0.2rem;
  padding: 0.5rem;
}

.auth-panel h1 {
  margin: 0 0 0.3rem;
  font-family: "Montserrat", "Inter", sans-serif;
}

.auth-subtitle {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.full-width {
  width: 100%;
}

.auth-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.profile-mentor-action {
  margin-top: 1rem;
}

/* —— Mentör paneli (sol menü) —— */
.mentor-panel-shell {
  --mentor-panel-sidebar-width: 15rem;
  display: flex;
  min-height: calc(100vh - 4.5rem);
}

.mentor-panel-sidebar {
  position: fixed;
  top: 4.5rem;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: var(--mentor-panel-sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0.65rem 1.25rem;
  border-right: 1px solid var(--border);
  background: rgba(6, 12, 24, 0.97);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.mentor-panel-sidebar-title {
  margin: 0;
  padding: 0 0.55rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mentor-panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.1rem;
}

.mentor-panel-nav-btn {
  width: 100%;
  margin: 0;
  padding: 0.78rem 0.85rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #c5d4ef;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mentor-panel-nav-btn:hover {
  background: rgba(45, 140, 255, 0.12);
  color: #f3f7ff;
  transform: none;
}

.mentor-panel-nav-btn.is-active {
  background: rgba(45, 140, 255, 0.2);
  color: #93c5fd;
  box-shadow: inset 3px 0 0 #60a5fa;
}

.mentor-panel-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 0;
  flex-shrink: 0;
}

.mentor-panel-nav-row {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding-right: 0.1rem;
}

.mentor-panel-nav-row > .mentor-panel-nav-btn--parent {
  flex: 1;
  min-width: 0;
}

.mentor-panel-nav-btn--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-right: 0.65rem;
}

.mentor-panel-nav-unread-count {
  margin-left: auto;
}

.mentor-panel-nav-accordion-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: -2px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(45, 140, 255, 0.08);
  color: #c5d4ef;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mentor-panel-nav-accordion-toggle:hover {
  background: rgba(45, 140, 255, 0.18);
  color: #eaf2ff;
}

.mentor-panel-nav-accordion-toggle:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.mentor-panel-nav-btn--parent.is-active-group:not(.is-active) {
  background: rgba(45, 140, 255, 0.1);
  color: #bfdbfe;
}

.mentor-panel-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mentor-panel-nav-chevron {
  display: block;
  flex-shrink: 0;
  width: 0.56rem;
  height: 0.56rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
  transform-origin: center;
  transition: transform 0.18s ease;
  opacity: 0.88;
}

.mentor-panel-nav-group.is-open .mentor-panel-nav-chevron {
  transform: translateY(-2px) rotate(45deg);
}

.mentor-panel-subnav {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0 0 0.2rem 0.55rem;
  border-left: 2px solid rgba(96, 165, 250, 0.22);
  margin-left: 0.55rem;
  max-height: min(50vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.mentor-panel-subnav[hidden] {
  display: none !important;
}

.mentor-panel-subnav-empty {
  margin: 0;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.mentor-panel-nav-btn--sub {
  padding: 0.58rem 0.62rem;
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.mentor-panel-nav-btn--sub.is-active {
  box-shadow: inset 2px 0 0 #60a5fa;
}

.mentor-panel-nav-btn--sub.is-active-child {
  box-shadow: inset 2px 0 0 #fb923c;
  background: rgba(255, 138, 30, 0.1);
  color: #ffe8d2;
}

.mentor-panel-subnav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.mentor-panel-subnav-count {
  flex-shrink: 0;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(45, 140, 255, 0.2);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.mentor-package-student-count {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #bfdbfe;
}

.mentor-package-panel-hint {
  margin-bottom: 1rem;
}

.mentor-package-panel-root {
  position: relative;
  margin-top: 0.35rem;
  display: grid;
  gap: 1.35rem;
}

.mentor-package-student-root {
  position: relative;
}

.panel-inline-skeleton {
  margin-top: 0.25rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.18);
  background: rgba(9, 16, 30, 0.58);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.panel-inline-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(147, 197, 253, 0.35);
  border-top-color: #60a5fa;
  animation: panel-skeleton-shimmer 1.1s linear infinite;
  flex-shrink: 0;
}

.panel-inline-loading-text {
  margin: 0;
  font-size: 0.9rem;
  color: #bfdbfe;
  font-weight: 600;
}

.mentor-package-section-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-package-students-section,
.mentor-package-requests-section,
.mentor-package-tasks-section {
  min-width: 0;
}

.mentor-package-students-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.mentor-students-accordion-root,
.mentor-linked-students-list-host {
  min-width: 0;
}

.mentor-students-accordion.activity-accordion-section {
  border-color: rgba(116, 155, 227, 0.24);
}

.mentor-students-accordion-panel.activity-accordion-panel {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.mentor-students-accordion.activity-accordion-section.is-open .mentor-students-accordion-panel {
  padding-top: 0.65rem;
  padding-bottom: 0.75rem;
}

.mentor-students-accordion-panel .mentor-package-students-list,
.mentor-students-accordion-panel .mentor-linked-students-list {
  max-height: min(42vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
}

.mentor-package-students-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 15, 28, 0.5);
}

.mentor-package-students-open {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.mentor-package-students-open:hover {
  filter: none;
}

.mentor-package-students-open:hover .mentor-package-students-name {
  color: #bfdbfe;
}

.mentor-package-students-open:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.65);
  outline-offset: 2px;
  border-radius: 8px;
}

.mentor-package-students-open::after {
  content: "›";
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 0.15rem;
  font-size: 1.15rem;
  line-height: 1;
  color: #94a3b8;
}

.mentor-package-student-back {
  margin: 0 0 0.75rem;
  align-self: flex-start;
}

.mentor-package-student-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.mentor-package-student-page-title {
  margin: 0;
  min-width: 0;
}

.mentor-package-student-page-actions {
  flex-shrink: 0;
}

.mentor-package-student-page-actions .mentor-package-students-remove-btn {
  margin: 0;
  white-space: nowrap;
}

.mentor-wallet-payout-request {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mentor-wallet-payout-amount-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mentor-wallet-payout-amount-field > label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.mentor-wallet-payout-amount-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.mentor-wallet-payout-amount-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  font-size: 1rem;
}

.mentor-wallet-payout-amount-input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  border-color: rgba(59, 130, 246, 0.65);
}

.mentor-wallet-payout-max-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 0.85rem;
}

.mentor-wallet-payout-amount-hint,
.mentor-wallet-payout-fee-summary {
  margin: 0;
}

.mentor-wallet-payout-fee-summary:not(.empty) {
  color: #cbd5e1;
}

.mentor-self-billing-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
  cursor: pointer;
}

.mentor-self-billing-agreement input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  max-width: 1.05rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex: 0 0 1.05rem;
  align-self: flex-start;
  accent-color: #3b82f6;
}

.mentor-self-billing-agreement-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.mentor-schedule-onboarding-banner {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(15, 23, 42, 0.4));
  color: #e2e8f0;
}

.mentor-schedule-onboarding-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.mentor-schedule-onboarding-banner-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mentor-package-student-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 15, 28, 0.5);
}

.mentor-package-student-hero-avatar {
  width: 3.25rem;
  height: 3.25rem;
}

.mentor-package-student-hero-body {
  min-width: 0;
}

.mentor-package-student-package-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.16);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 600;
}

.mentor-package-student-enrolled {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.mentor-package-student-messages {
  margin-top: 1.1rem;
}

.mentor-package-messages-accordion {
  margin-top: 1.1rem;
}

.mentor-package-messages-accordion.activity-accordion-section.is-open
  .mentor-package-messages-unread {
  display: none;
}

.activity-accordion-section.is-open .mentor-package-messages-panel {
  padding: 0.65rem 0.5rem 0.75rem;
}

.mentor-package-student-msg-list {
  max-height: min(36vh, 360px);
  margin-bottom: 0.65rem;
}

.mentor-package-student-schedule-host,
.student-enrollment-schedule-host {
  margin-top: 1.1rem;
}

.mentor-meeting-schedule-accordion {
  margin-top: 0;
}

.mentor-meeting-schedule-panel.activity-accordion-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mentor-meeting-schedule-hint {
  margin: 0;
}

.mentor-meeting-schedule-builder {
  display: grid;
  gap: 0.45rem;
  max-width: 24rem;
}

.mentor-meeting-schedule-add-btn {
  width: auto;
  justify-self: start;
}

.mentor-meeting-schedule-other-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.mentor-meeting-schedule-other-toggle input {
  width: auto;
}

.mentor-meeting-schedule-note-input,
.student-meeting-schedule-note-input {
  min-height: 4.5rem;
  resize: vertical;
}

.mentor-meeting-schedule-draft-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.mentor-meeting-schedule-draft-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.24);
  background: rgba(8, 16, 30, 0.55);
}

.mentor-meeting-schedule-remove-btn {
  width: auto;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
}

.mentor-meeting-schedule-compose-actions,
.mentor-meeting-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.mentor-meeting-schedule-actions--pair {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
  gap: 0.55rem;
}

.mentor-meeting-schedule-compose-actions button,
.mentor-meeting-schedule-actions button {
  width: auto;
}

.mentor-meeting-schedule-actions--pair .mentor-meeting-schedule-action-btn {
  flex: 1 1 0;
  min-width: 7.25rem;
  margin-top: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease;
}

.mentor-meeting-schedule-action-btn--primary {
  border: none;
  background: linear-gradient(130deg, var(--primary), var(--primary-strong));
  color: #f8fbff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.mentor-meeting-schedule-action-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(18, 66, 141, 0.32);
}

.mentor-meeting-schedule-action-btn--secondary {
  border: 1px solid rgba(107, 154, 235, 0.38);
  background: rgba(45, 140, 255, 0.13);
  color: #d8e6ff;
  box-shadow: none;
}

.mentor-meeting-schedule-action-btn--secondary:hover {
  transform: translateY(-1px);
  background: rgba(45, 140, 255, 0.2);
  border-color: rgba(126, 175, 255, 0.5);
  box-shadow: none;
  filter: none;
}

.mentor-meeting-schedule-action-btn--danger {
  border: 1px solid rgba(248, 113, 113, 0.42);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  box-shadow: none;
}

.mentor-meeting-schedule-action-btn--danger:hover {
  transform: translateY(-1px);
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(252, 165, 165, 0.55);
  box-shadow: none;
  filter: none;
}

.mentor-meeting-schedule-reminder-info,
.student-meeting-schedule-reminder-info {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #9eb4d8;
}

.mentor-meeting-warning-accordion,
.mentor-invite-warning-accordion {
  margin: 0.65rem 0;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.16),
    rgba(127, 29, 29, 0.12)
  );
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.12),
    0 8px 22px rgba(120, 53, 15, 0.14);
  overflow: hidden;
}

.mentor-meeting-warning-summary,
.mentor-invite-warning-summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fde68a;
}

.mentor-meeting-warning-summary::-webkit-details-marker,
.mentor-invite-warning-summary::-webkit-details-marker {
  display: none;
}

.mentor-meeting-warning-badge,
.mentor-invite-warning-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.65);
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.mentor-meeting-warning-summary-text,
.mentor-invite-warning-summary-text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.mentor-meeting-warning-chevron,
.mentor-invite-warning-chevron {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  opacity: 0.85;
}

.mentor-meeting-warning-accordion[open] .mentor-meeting-warning-chevron,
.mentor-invite-warning-accordion[open] .mentor-invite-warning-chevron {
  transform: rotate(-135deg);
}

.mentor-meeting-warning-body,
.mentor-invite-warning-body {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid rgba(251, 191, 36, 0.22);
}

.mentor-meeting-warning-body p,
.mentor-invite-warning-body p {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #fde68a;
}

.mentor-meeting-warning-body p:first-child,
.mentor-invite-warning-body p:first-child {
  margin-top: 0.72rem;
}

.mentor-meeting-warning-body a,
.mentor-invite-warning-body a {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mentor-meeting-postpone-compose-warning {
  margin-bottom: 0.65rem;
}

.student-meeting-refund-section {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(116, 155, 227, 0.22);
  display: grid;
  gap: 0.45rem;
}

.student-meeting-refund-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f7ff;
}

.student-meeting-refund-hint {
  margin: 0;
}

.student-meeting-refund-btn {
  justify-self: flex-start;
}

.student-meeting-review-section {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(116, 155, 227, 0.22);
  display: grid;
  gap: 0.5rem;
}

.student-meeting-review-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f7ff;
}

.student-meeting-review-hint {
  margin: 0;
}

.student-meeting-review-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.student-meeting-review-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(116, 155, 227, 0.35);
  border-radius: 999px;
  background: rgba(8, 16, 30, 0.5);
  color: rgba(191, 219, 254, 0.45);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.student-meeting-review-star.is-selected {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(120, 53, 15, 0.2);
}

.student-meeting-reviews-host {
  margin-top: 1rem;
}

.student-meeting-reviews-panel {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.student-meeting-reviews-dismiss {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.85rem;
  height: 1.85rem;
  min-width: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.student-meeting-reviews-dismiss:hover {
  border-color: rgba(248, 250, 252, 0.65);
  color: #f8fafc;
}

.mentor-meeting-schedule-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-meeting-schedule-status-card,
.student-meeting-schedule-form {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.24);
  background: rgba(8, 16, 30, 0.55);
}

.mentor-meeting-schedule-status-head,
.student-meeting-schedule-meta {
  margin: 0 0 0.55rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-meeting-schedule-option-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.mentor-meeting-schedule-note,
.mentor-meeting-schedule-response,
.mentor-meeting-schedule-student-note,
.mentor-meeting-schedule-reminder-info,
.student-meeting-schedule-reminder-info,
.student-meeting-schedule-mentor-note,
.student-meeting-schedule-note,
.student-meeting-schedule-done {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.mentor-meeting-schedule-response,
.student-meeting-schedule-done {
  color: #bbf7d0;
  font-weight: 600;
}

.mentor-meeting-schedule-empty,
.student-meeting-schedule-empty {
  margin: 0;
  color: var(--muted);
}

.student-meeting-schedule-section {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.student-meeting-schedule-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.student-meeting-schedule-options {
  margin: 0 0 0.65rem;
  padding: 0;
  border: none;
  display: grid;
  gap: 0.45rem;
}

.student-meeting-schedule-options legend {
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: #e8f0ff;
}

.student-meeting-schedule-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.22);
  background: rgba(8, 16, 30, 0.45);
  cursor: pointer;
}

.student-meeting-schedule-option input {
  width: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.student-meeting-schedule-form button[type="submit"] {
  width: auto;
  margin-top: 0.35rem;
}

.mentor-meeting-schedule-panel button[type="button"]:not(.mentor-meeting-schedule-remove-btn) {
  width: auto;
}

.mentor-package-student-tasks-section {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.mentor-package-student-tasks-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentor-task-pack-student-list {
  margin-top: 0.15rem;
}

.mentor-task-pack-student-edit-slot {
  margin-top: 0.25rem;
}

.mentor-task-pack-student-new {
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(116, 155, 227, 0.28);
}

.mentor-task-pack-student-new-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #dbeafe;
}

.student-mentors-list-grid {
  display: grid;
  gap: 0.75rem;
}

.student-mentors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15.5rem, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.student-mentors-layout-main {
  min-width: 0;
}

.upcoming-meetings-box-host {
  margin-bottom: 1rem;
}

.upcoming-meetings-box-host[hidden] {
  display: none !important;
}

.upcoming-meetings-box {
  margin: 0 0 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.12),
    rgba(8, 16, 30, 0.82)
  );
  box-shadow: 0 8px 24px rgba(15, 40, 90, 0.18);
}

.upcoming-meetings-box-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f0ff;
}

.upcoming-meetings-list {
  display: grid;
  gap: 0.75rem;
}

.upcoming-meeting-item {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.24);
  background: rgba(10, 20, 36, 0.72);
}

.upcoming-meeting-item-when {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f3f7ff;
}

.upcoming-meeting-item-platform {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: #93c5fd;
}

.upcoming-meeting-item-context {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  color: #8fa3c7;
}

.upcoming-meeting-item-link {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(116, 155, 227, 0.18);
}

.upcoming-meeting-item-link-note {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: #8fa3c7;
}

.upcoming-meeting-item-link-copy {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}

.upcoming-meeting-item-link-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(4, 10, 20, 0.65);
  color: #e8f0ff;
  font-size: 0.82rem;
}

.upcoming-meeting-item-link-copy-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

.upcoming-meeting-item-link-waiting {
  margin: 0;
  font-size: 0.84rem;
  color: #fbbf24;
}

.meeting-nav-target--interactive {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.meeting-nav-target--interactive:hover,
.meeting-nav-target--interactive:focus-visible {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(37, 99, 235, 0.1);
  outline: none;
}

.upcoming-meeting-item-open-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #7c93b8;
}

.mentor-all-meetings-panel {
  margin-top: 1rem;
}

.all-meetings-calendar-host {
  margin-top: 1.25rem;
}

.all-meetings-calendar-host[hidden] {
  display: none !important;
}

.all-meetings-calendar-box {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(8, 16, 30, 0.55);
}

.all-meetings-calendar-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f0ff;
}

.meetings-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.meetings-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.meetings-calendar-nav-btn {
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
}

.meetings-calendar-range-label {
  font-size: 0.88rem;
  color: #93c5fd;
  font-weight: 600;
}

.meetings-calendar-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #8fa3c7;
}

.meetings-calendar-scroll {
  overflow-x: auto;
  overscroll-behavior: contain;
}

.meetings-calendar-grid {
  display: grid;
  grid-template-columns: 3.25rem repeat(7, minmax(5.25rem, 1fr));
  grid-template-rows: auto var(--meetings-calendar-height, 728px);
  min-width: 42rem;
}

.meetings-calendar-corner {
  grid-column: 1;
  grid-row: 1;
}

.meetings-calendar-day-headers {
  grid-column: 2 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(5.25rem, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.meetings-calendar-day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.25rem;
  border-radius: 10px;
  background: rgba(10, 20, 36, 0.55);
}

.meetings-calendar-day-header.is-today {
  background: rgba(37, 99, 235, 0.18);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35);
}

.meetings-calendar-day-name {
  font-size: 0.72rem;
  color: #8fa3c7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meetings-calendar-day-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8f0ff;
}

.meetings-calendar-time-axis {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  height: var(--meetings-calendar-height);
  border-right: 1px solid rgba(116, 155, 227, 0.18);
}

.meetings-calendar-time-label {
  position: absolute;
  left: 0;
  right: 0.2rem;
  transform: translateY(-50%);
  font-size: 0.72rem;
  line-height: 1;
  color: #7c93b8;
  text-align: right;
  pointer-events: none;
}

.meetings-calendar-days {
  grid-column: 2 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(5.25rem, 1fr));
  gap: 0.35rem;
}

.meetings-calendar-day-column {
  position: relative;
  min-height: var(--meetings-calendar-height);
  border-left: 1px solid rgba(116, 155, 227, 0.12);
  background: rgba(4, 10, 20, 0.35);
}

.meetings-calendar-day-column.is-today {
  background: rgba(37, 99, 235, 0.06);
}

.meetings-calendar-day-body {
  position: relative;
  height: var(--meetings-calendar-height);
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(116, 155, 227, 0.06) 0,
      rgba(116, 155, 227, 0.06) 1px,
      transparent 1px,
      transparent calc(var(--meetings-hour-height) / 2)
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(116, 155, 227, 0.14) 0,
      rgba(116, 155, 227, 0.14) 1px,
      transparent 1px,
      transparent var(--meetings-hour-height)
    );
}

.meetings-calendar-hour-slot {
  display: none;
}

.meetings-calendar-event {
  position: absolute;
  left: 0.12rem;
  right: 0.12rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0.1rem 0.22rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.28), rgba(15, 40, 90, 0.82));
  color: #f3f7ff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.meetings-calendar-event:hover,
.meetings-calendar-event:focus-visible {
  border-color: rgba(147, 197, 253, 0.75);
  box-shadow: 0 4px 14px rgba(15, 40, 90, 0.28);
  outline: none;
}

.meetings-calendar-event.is-past {
  opacity: 0.62;
  background: rgba(10, 20, 36, 0.82);
}

.meetings-calendar-event-label {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-mentors-planned-aside {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(8, 16, 30, 0.55);
}

.student-planned-meetings-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0ff;
}

.student-planned-meetings-hint {
  margin: 0 0 0.75rem;
}

.student-planned-meetings-stack {
  display: grid;
  gap: 0.65rem;
}

.student-planned-meetings-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #8fa3c7;
}

.student-planned-meeting-card {
  margin: 0;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.24);
  background: rgba(10, 20, 36, 0.72);
}

.student-planned-meeting-card--highlight {
  padding: 1rem 1.05rem;
  border-color: rgba(96, 165, 250, 0.42);
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.14),
    rgba(8, 16, 30, 0.82)
  );
  box-shadow: 0 8px 24px rgba(15, 40, 90, 0.22);
}

.student-planned-meeting-card--interactive {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.student-planned-meeting-card--interactive:hover,
.student-planned-meeting-card--interactive:focus-visible {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(45, 140, 255, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.student-planned-meeting-card-badge {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
}

.student-planned-meeting-card-when {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5ff;
}

.student-planned-meeting-card--highlight .student-planned-meeting-card-when {
  font-size: 1.12rem;
}

.student-planned-meeting-card-context {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: #a8bddf;
}

.student-planned-meeting-card-reminder {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #9eb4d8;
}

.student-planned-meeting-card-open-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7eb6ff;
}

.student-enrollment-planned-meeting-host {
  margin-top: 0.35rem;
}

@media (max-width: 960px) {
  .student-mentors-layout {
    grid-template-columns: 1fr;
  }

  .student-mentors-planned-aside {
    order: -1;
  }
}

.student-mentor-card {
  width: 100%;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 14px;
  background: rgba(10, 20, 36, 0.72);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.student-mentor-card:hover {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(45, 140, 255, 0.1);
}

.student-mentor-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.student-mentor-card-avatar {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.student-mentor-card-body {
  min-width: 0;
}

.student-mentor-card-mentor {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0ff;
}

.student-mentor-card-package {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #bfdbfe;
}

.student-mentor-card-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.student-enrollment-hero .student-enrollment-mentor-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f0ff;
}

.student-notal-panel {
  max-width: 42rem;
}

.student-notal-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.18);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: #ffedd5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.student-notal-lead {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #dbeafe;
}

.student-notal-features {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.student-notal-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
  max-width: 28rem;
}

.mentor-package-students-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.mentor-package-students-remove-btn {
  margin: 0;
  white-space: nowrap;
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.mentor-package-students-remove-btn:hover {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fff1f2;
}

.mentor-package-students-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.25), rgba(8, 15, 28, 0.9));
}

.mentor-package-students-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-package-students-avatar-fallback {
  font-size: 0.82rem;
  font-weight: 700;
  color: #dbeafe;
}

.mentor-package-students-body {
  min-width: 0;
}

.mentor-package-students-name {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f7ff;
}

.mentor-package-students-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.mentor-package-requests-section {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.mentor-package-tasks-section {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
}

.mentor-package-tasks-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentor-task-pack-toolbar {
  display: flex;
  justify-content: flex-start;
}

.mentor-task-pack-add-btn {
  border: 1px solid rgba(116, 155, 227, 0.45);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  background: rgba(74, 128, 214, 0.18);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.mentor-task-pack-add-btn:hover {
  background: rgba(74, 128, 214, 0.28);
}

.mentor-task-pack-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mentor-task-pack-empty {
  margin: 0;
}

.mentor-task-pack-card {
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(10, 20, 36, 0.72);
}

.mentor-task-pack-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}

.mentor-task-pack-card-title {
  margin: 0;
  font-size: 1.02rem;
}

.mentor-task-pack-card-schedule {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.mentor-task-pack-card-desc {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.mentor-task-pack-card-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mentor-task-pack-card-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.mentor-task-pack-card-actions button {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0;
  white-space: nowrap;
}

.mentor-task-pack-delete-btn {
  border: 1px solid rgba(220, 90, 90, 0.45);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  background: rgba(180, 50, 50, 0.15);
  color: #ffb4b4;
  cursor: pointer;
}

.mentor-task-pack-delete-btn:hover {
  background: rgba(180, 50, 50, 0.28);
}

.mentor-task-pack-card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  min-width: 0;
}

.mentor-task-pack-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.55);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mentor-task-pack-status-badge.is-active {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(22, 101, 52, 0.22);
  color: #bbf7d0;
}

.mentor-task-pack-card--active {
  border-color: rgba(74, 222, 128, 0.28);
}

.mentor-task-pack-activate-btn {
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  background: rgba(22, 101, 52, 0.2);
  color: #bbf7d0;
  cursor: pointer;
  font-weight: 600;
}

.mentor-task-pack-activate-btn:hover:not(:disabled) {
  background: rgba(22, 101, 52, 0.34);
}

.mentor-task-pack-activate-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mentor-task-pack-stop-btn {
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  background: rgba(154, 52, 18, 0.22);
  color: #ffedd5;
  cursor: pointer;
  font-weight: 600;
}

.mentor-task-pack-stop-btn:hover {
  background: rgba(154, 52, 18, 0.34);
}

.mentor-task-pack-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid rgba(116, 155, 227, 0.35);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(8, 16, 30, 0.88);
}

.mentor-task-pack-form label,
.mentor-task-pack-field-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.mentor-task-pack-title-input,
.mentor-task-pack-desc-input,
.mentor-task-pack-datetime,
.mentor-task-pack-file-input {
  width: 100%;
  box-sizing: border-box;
}

.mentor-task-pack-desc-input {
  resize: vertical;
  min-height: 5.5rem;
}

.mentor-task-pack-form-columns {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 26rem);
  gap: 1rem 1.25rem;
  align-items: start;
  margin-top: 0.35rem;
}

.mentor-task-pack-form-columns > * {
  min-width: 0;
}

.mentor-task-pack-schedule-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0;
}

.mentor-task-pack-schedule-intro {
  margin: -0.2rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.mentor-task-pack-schedule-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.mentor-task-pack-schedule-toggle-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 12px;
  background: rgba(8, 16, 30, 0.75);
  color: #c5d4ef;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mentor-task-pack-schedule-toggle-btn:hover {
  border-color: rgba(116, 155, 227, 0.5);
  background: rgba(45, 140, 255, 0.1);
}

.mentor-task-pack-schedule-toggle-btn.is-active {
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(45, 140, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35);
  color: #e8f0ff;
}

.mentor-task-pack-schedule-toggle-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(45, 140, 255, 0.14);
  font-size: 0.95rem;
}

.mentor-task-pack-schedule-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.mentor-task-pack-schedule-toggle-text strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.mentor-task-pack-schedule-toggle-text small {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

.mentor-task-pack-schedule-toggle-btn.is-active .mentor-task-pack-schedule-toggle-text small {
  color: #b8cceb;
}

.mentor-task-pack-schedule-panel {
  border: 1px solid rgba(116, 155, 227, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1rem 1rem;
  background: rgba(6, 14, 28, 0.72);
}

.mentor-task-pack-schedule-pane-title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
}

.mentor-task-pack-datetime-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.mentor-task-pack-datetime-label {
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0;
}

.mentor-task-pack-datetime-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(116, 155, 227, 0.3);
  border-radius: 10px;
  padding: 0.35rem 0.55rem 0.35rem 0.45rem;
  background: rgba(10, 20, 36, 0.92);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mentor-task-pack-datetime-wrap:focus-within {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 2px rgba(45, 140, 255, 0.16);
}

.mentor-task-pack-datetime-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.mentor-task-pack-datetime {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0.35rem 0.15rem;
  font: inherit;
}

.mentor-task-pack-datetime:focus {
  outline: none;
  box-shadow: none;
}

.mentor-task-pack-datetime-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.mentor-task-pack-range-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mentor-task-pack-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.mentor-task-pack-preset-chip {
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 999px;
  padding: 0.34rem 0.4rem;
  background: rgba(45, 140, 255, 0.08);
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mentor-task-pack-preset-chip:hover {
  background: rgba(45, 140, 255, 0.18);
  border-color: rgba(116, 155, 227, 0.5);
}

.mentor-task-pack-attachments-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mentor-task-pack-attachments-intro {
  margin: -0.15rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.mentor-task-pack-attachments-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid rgba(116, 155, 227, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1rem 1rem;
  background: rgba(6, 14, 28, 0.72);
}

.mentor-task-pack-attachments-block .mentor-task-pack-hint {
  margin: -0.15rem 0 0;
}

.mentor-task-pack-attachments {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mentor-task-pack-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.mentor-task-pack-attachment {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(116, 155, 227, 0.25);
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  background: rgba(12, 22, 38, 0.9);
  width: 100%;
  box-sizing: border-box;
}

.mentor-task-pack-attachment-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.mentor-task-pack-attachment-doc {
  font-size: 1.1rem;
}

.mentor-task-pack-attachment-name {
  font-size: 0.82rem;
  color: var(--link);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.mentor-task-pack-attachment-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.15rem;
}

.mentor-task-pack-attachment-pending {
  font-size: 0.82rem;
  color: var(--muted);
}

.mentor-task-pack-form-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.mentor-task-pack-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.mentor-task-pack-save-btn {
  border: 1px solid rgba(116, 155, 227, 0.45);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  background: rgba(74, 128, 214, 0.35);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 720px) {
  .mentor-task-pack-form-columns {
    grid-template-columns: 1fr;
  }

  .mentor-task-pack-schedule-toggle {
    grid-template-columns: 1fr;
  }
}

.mentor-panel-content {
  flex: 1;
  min-width: 0;
  margin-left: var(--mentor-panel-sidebar-width);
  position: relative;
}

.panel-loading-skeleton {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.1rem;
  background: rgba(7, 13, 24, 0.38);
  pointer-events: none;
}

.panel-loading-skeleton[hidden] {
  display: none !important;
}

.panel-loading-skeleton-card {
  width: min(980px, 100%);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.16);
  background: rgba(9, 16, 30, 0.72);
  display: grid;
  gap: 0.65rem;
}

.panel-loading-skeleton-line {
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(65, 87, 125, 0.25),
    rgba(147, 197, 253, 0.35),
    rgba(65, 87, 125, 0.25)
  );
  background-size: 220% 100%;
  animation: panel-skeleton-shimmer 1.1s linear infinite;
}

.panel-loading-skeleton-line--title {
  height: 1rem;
  width: 36%;
}

.panel-loading-skeleton-line--wide {
  width: 100%;
}

.panel-loading-skeleton-line--short {
  width: 64%;
}

@keyframes panel-skeleton-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -20% 0;
  }
}

.mentor-panel-view[hidden] {
  display: none !important;
}

.mentor-panel-profile-layout {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  min-height: calc(100vh - 4.5rem);
}

.mentor-panel-grid-layout {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  min-height: calc(100vh - 4.5rem);
  align-content: start;
}

.mentor-panel-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.mentor-ogrenciler-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  align-self: start;
}

.mentor-ogrenciler-column > .mentor-panel-card {
  width: 100%;
}

.mentor-panel-card {
  min-width: 0;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.3rem;
  background: rgba(12, 22, 38, 0.92);
  box-shadow: 0 12px 30px rgba(6, 14, 27, 0.22);
}

.mentor-panel-card--span-full {
  grid-column: 1 / -1;
}

.mentor-panel-card--span-8 {
  grid-column: span 8;
}

.mentor-panel-card--span-7 {
  grid-column: span 7;
}

.mentor-panel-card--span-6 {
  grid-column: span 6;
}

.mentor-panel-card--span-5 {
  grid-column: span 5;
}

.mentor-panel-card--span-4 {
  grid-column: span 4;
}

.mentor-panel-card h1 {
  margin: 0 0 0.35rem;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  color: #f3f7ff;
}

.mentor-panel-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-wallet-balance-panel {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.16), rgba(8, 15, 28, 0.92));
}

.mentor-wallet-panel h1,
.mentor-wallet-balance-panel h1 {
  margin-bottom: 0.35rem;
}

.mentor-wallet-hint {
  margin-bottom: 1rem;
}

.mentor-wallet-balance-label {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.mentor-wallet-balance-value {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 700;
  color: #f3f7ff;
  letter-spacing: -0.02em;
}

.mentor-wallet-held-panel {
  margin: 0.55rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.mentor-wallet-held-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.mentor-wallet-held-label {
  font-size: 0.84rem;
  color: #fcd34d;
}

.mentor-wallet-held-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fde68a;
}

.mentor-wallet-held-list {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.mentor-wallet-held-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: rgba(8, 15, 28, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.14);
}

.mentor-wallet-held-item-main {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.mentor-wallet-held-item-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fef3c7;
}

.mentor-wallet-held-item-meta {
  margin: 0;
  font-size: 0.76rem;
  color: #d6b35a;
}

.mentor-wallet-held-item-amount {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fde68a;
}

.mentor-wallet-balance-note {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: #bfdbfe;
}

.mentor-wallet-layout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mentor-wallet-layout-main {
  flex: 4 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentor-wallet-layout-side {
  flex: 8 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentor-wallet-layout-side .mentor-payout-panel {
  order: 1;
  flex-shrink: 0;
}

.mentor-wallet-layout-side .mentor-wallet-transactions-panel {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 12rem;
}

.mentor-wallet-layout-side.is-payout-ready .mentor-payout-panel {
  order: 2;
}

.mentor-wallet-layout-side.is-payout-ready .mentor-wallet-transactions-panel {
  order: 1;
}

.mentor-wallet-layout-main .mentor-wallet-balance-panel {
  flex-shrink: 0;
}

.mentor-wallet-referral-panel .mentor-wallet-section-title {
  margin-bottom: 0.35rem;
}

.mentor-wallet-referral-hint {
  margin: 0 0 0.75rem;
}

.mentor-wallet-referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.mentor-wallet-referral-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.22);
  background: rgba(8, 15, 28, 0.45);
}

.mentor-wallet-referral-stat--wide {
  grid-column: 1 / -1;
}

.mentor-wallet-referral-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mentor-wallet-referral-stat-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.mentor-wallet-referral-stat-note {
  font-size: 0.78rem;
  color: #bfdbfe;
  margin-top: 0.1rem;
}

.mentor-wallet-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-wallet-list-block {
  display: grid;
  gap: 0.65rem;
}

.mentor-wallet-list-block--sub {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(116, 155, 227, 0.16);
}

.mentor-wallet-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mentor-wallet-list-pager {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.mentor-wallet-list-pager-btn {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(8, 15, 28, 0.55);
  color: #e8f0ff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.mentor-wallet-list-pager-btn:hover:not(:disabled) {
  background: rgba(24, 44, 78, 0.75);
  border-color: rgba(147, 181, 245, 0.45);
}

.mentor-wallet-list-pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.mentor-wallet-list-pager-label {
  min-width: 2.8rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mentor-wallet-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.mentor-wallet-transactions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.mentor-wallet-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.75rem 0 0.35rem;
}

.mentor-wallet-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.22);
  background: rgba(8, 15, 28, 0.45);
  min-width: 7.5rem;
}

.mentor-wallet-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mentor-wallet-stat-value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.mentor-wallet-payout-request {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.mentor-wallet-payout-btn {
  width: fit-content;
}

.mentor-wallet-payout-hint,
.mentor-wallet-payout-message,
.mentor-wallet-payout-list-message {
  margin: 0;
}

.mentor-wallet-payout-list-message {
  margin-bottom: 0.55rem;
}

.mentor-wallet-section-title--sub {
  margin-top: 0;
}

.mentor-wallet-transaction,
.mentor-wallet-payout-item {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.2);
  background: rgba(8, 15, 28, 0.42);
}

.mentor-wallet-transaction-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.mentor-wallet-transaction-main,
.mentor-wallet-payout-main {
  min-width: 0;
}

.mentor-wallet-transaction-title,
.mentor-wallet-payout-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-word;
}

.mentor-wallet-transaction-meta,
.mentor-wallet-payout-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.mentor-wallet-transaction-net {
  margin: 0;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: #86efac;
  white-space: nowrap;
}

.mentor-wallet-transaction-fees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(116, 155, 227, 0.14);
}

.mentor-wallet-transaction-fee {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.55);
}

.mentor-wallet-transaction-fee dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.mentor-wallet-transaction-fee dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dbeafe;
  line-height: 1.3;
  word-break: break-word;
}

.student-wallet-transaction .mentor-wallet-transaction-net {
  color: #fca5a5;
}

.student-wallet-order-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
}

.student-wallet-order-status.is-refunded {
  color: #fca5a5;
}

.student-wallet-order-status.is-refund-pending {
  color: #fde68a;
}

.enrollment-status-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.enrollment-status-badge--large {
  margin-left: 0;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
}

.enrollment-status-badge--refunded {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.enrollment-status-badge--pending {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.student-mentor-card-status,
.mentor-package-students-meta + .enrollment-status-badge {
  margin-top: 0.2rem;
}

.student-mentor-card--refunded,
.mentor-package-students-item--refunded {
  opacity: 0.82;
}

.enrollment-refunded-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 0.2rem;
}

.enrollment-refunded-title {
  margin: 0;
  font-size: 1.15rem;
}

.enrollment-refunded-copy,
.enrollment-refunded-meta {
  margin: 0;
}

.mentor-wallet-transaction-net.is-refund {
  color: #fca5a5;
}

.student-mentor-card-status {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fca5a5;
}

.student-wallet-transaction-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.student-wallet-invoice-btn {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.student-wallet-refund-toggle {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.student-wallet-refund-toggle.is-open {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.45);
}

.student-wallet-refund-box {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(116, 155, 227, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
}

.student-wallet-refund-box[hidden] {
  display: none;
}

.student-wallet-refund-box label {
  font-size: 0.82rem;
  color: var(--muted);
}

.student-wallet-refund-hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
}

.student-wallet-refund-message {
  margin: 0;
}

.referral-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0.35rem;
}

.referral-link-input {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
}

.referral-program-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.referral-program-stat {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
}

.student-referral-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(116, 155, 227, 0.14);
}

.student-referral-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.student-referral-balance {
  margin: 0.85rem 0 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.22);
  background: rgba(59, 130, 246, 0.08);
}

.student-referral-balance-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.student-referral-balance-value {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #bfdbfe;
}

.student-referral-balance-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.student-referral-balance-stat {
  font-size: 0.76rem;
  color: var(--muted);
}

.student-referral-credits-empty {
  margin: 0.65rem 0 0;
}

.student-referral-credits-list {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.student-referral-credit-item {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.16);
  background: rgba(8, 15, 28, 0.35);
}

.student-referral-credit-title {
  margin: 0;
  font-weight: 600;
}

.student-referral-credit-meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.student-referral-credit-item.is-available {
  border-color: rgba(74, 222, 128, 0.28);
}

.student-referral-credit-item.is-pending_meeting,
.student-referral-credit-item.is-pending_hold {
  border-color: rgba(251, 191, 36, 0.22);
}

.mentor-audience-referral-panel label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-influencer-add-form {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(116, 155, 227, 0.14);
}

.admin-subsection-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.mentor-wallet-payout-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.mentor-wallet-payout-requests {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.mentor-wallet-payout-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.mentor-wallet-invoice-btn {
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

.mentor-students-panel h1 {
  margin-bottom: 0.35rem;
}

.mentor-students-panel .mentor-inbox-hint {
  margin-bottom: 1rem;
}

.profile-user-code-block {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(8, 15, 28, 0.55);
}

.profile-user-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.profile-user-code-value {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px dashed rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.12);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #bfdbfe;
}

.profile-user-code-copy {
  margin-top: 0;
}

.profile-user-code-hint {
  margin: 0.55rem 0 0;
}

.mentor-meeting-link-panel {
  border-color: rgba(96, 165, 250, 0.32);
}

.mentor-meeting-link-panel--compact {
  padding: 0.85rem 1rem 1rem;
}

.mentor-meeting-link-panel--compact .mentor-meeting-link-head h2 {
  font-size: 1rem;
}

.mentor-meeting-link-panel--compact .mentor-meeting-link-status {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.85rem;
}

.mentor-meeting-link-passive-note--compact {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.mentor-meeting-link-form--compact {
  gap: 0.5rem;
  max-width: none;
}

.mentor-meeting-link-platform-row {
  display: grid;
  gap: 0.35rem;
}

.mentor-meeting-platform-toggle--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mentor-meeting-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 999px;
  background: rgba(8, 16, 30, 0.75);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8e6ff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mentor-meeting-platform-chip:has(input:checked) {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(45, 140, 255, 0.16);
}

.mentor-meeting-platform-chip input {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

.mentor-meeting-platform-chip .mentor-meeting-platform-badge {
  font-size: 0.62rem;
  padding: 0.08rem 0.35rem;
}

.mentor-meeting-link-save-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 0.5rem;
  align-items: end;
}

.mentor-meeting-link-save-row label {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  font-weight: 600;
}

.mentor-meeting-link-save-row input {
  min-width: 0;
  padding: 0.5rem 0.62rem;
  font-size: 0.88rem;
}

.mentor-meeting-link-save-row button[type="submit"] {
  margin-top: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.mentor-meeting-link-form--compact .mentor-meeting-link-hint {
  font-size: 0.78rem;
}

.mentor-meeting-link-guides--compact {
  margin-top: 0.55rem;
  max-width: none;
}

.mentor-meeting-link-guides--compact summary {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9eb8e8;
  cursor: pointer;
}

.mentor-meeting-link-guide-blocks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.mentor-meeting-link-guide-title {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c9daf8;
}

.mentor-meeting-link-panel--compact .mentor-meeting-link-guide {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.18);
  background: rgba(8, 16, 30, 0.45);
}

.mentor-meeting-link-panel--compact .mentor-meeting-link-guide ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #9eb4d8;
}

.mentor-meeting-link-save-row button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.mentor-meeting-link-save-row button[type="submit"]:disabled:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.mentor-meeting-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mentor-meeting-link-head h2 {
  margin: 0;
}

.mentor-meeting-link-status {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

.mentor-meeting-link-status--ok {
  background: rgba(22, 101, 52, 0.28);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.mentor-meeting-link-status--warn {
  background: rgba(180, 83, 9, 0.22);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: #ffedd5;
}

.mentor-meeting-link-passive-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.28);
  background: rgba(154, 52, 18, 0.14);
  color: #fde68a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mentor-meeting-link-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 36rem;
}

.mentor-meeting-link-field-label {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.mentor-meeting-platform-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.mentor-meeting-platform-option {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 12px;
  background: rgba(8, 16, 30, 0.75);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mentor-meeting-platform-option:has(input:checked) {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(45, 140, 255, 0.14);
}

.mentor-meeting-platform-option input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.mentor-meeting-platform-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.mentor-meeting-platform-option-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-weight: 700;
  color: #e8f0ff;
}

.mentor-meeting-platform-badge {
  display: inline-flex;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.28);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #bbf7d0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mentor-meeting-platform-option-hint {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.mentor-meeting-link-hint {
  margin: 0;
}

.mentor-meeting-link-message {
  margin-top: 0.35rem;
}

.mentor-meeting-link-guides {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
  max-width: 42rem;
}

.mentor-meeting-link-guide {
  border: 1px solid rgba(116, 155, 227, 0.22);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  background: rgba(8, 16, 30, 0.55);
}

.mentor-meeting-link-guide summary {
  cursor: pointer;
  font-weight: 600;
  color: #bfdbfe;
}

.mentor-meeting-link-guide ol {
  margin: 0.65rem 0 0.15rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.mentor-meeting-link-guide a {
  color: var(--link);
}

.mentor-meeting-link-form button[type="submit"] {
  width: auto;
  align-self: flex-start;
  margin-top: 0.15rem;
}

@media (max-width: 720px) {
  .mentor-meeting-platform-toggle {
    grid-template-columns: 1fr;
  }
}

.mentor-payout-panel {
  border-color: rgba(96, 165, 250, 0.32);
  padding: 0;
  overflow: hidden;
  align-self: flex-start;
  width: 100%;
  height: auto;
  background: rgba(12, 22, 38, 0.92);
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 16px;
}

.mentor-payout-trigger {
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #f3f7ff;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.mentor-payout-trigger:hover {
  background: rgba(45, 140, 255, 0.1);
  transform: none;
  filter: none;
}

.mentor-payout-panel.is-open .mentor-payout-trigger {
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(116, 155, 227, 0.22);
  background: rgba(45, 140, 255, 0.08);
}

.mentor-payout-trigger-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mentor-payout-chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #93c5fd;
  border-bottom: 2px solid #93c5fd;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.15rem;
}

.mentor-payout-panel.is-open .mentor-payout-chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.mentor-payout-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.mentor-payout-trigger-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-payout-summary {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.mentor-payout-edit-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: #93c5fd;
}

.mentor-payout-panel-body {
  padding: 0 1.25rem 1.3rem;
}

.mentor-payout-panel-body[hidden] {
  display: none !important;
}

.mentor-payout-panel-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mentor-payout-status {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

.mentor-payout-status--ok {
  background: rgba(22, 101, 52, 0.28);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.mentor-payout-status--warn {
  background: rgba(180, 83, 9, 0.22);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: #ffedd5;
}

.mentor-payout-passive-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.28);
  background: rgba(154, 52, 18, 0.14);
  color: #fde68a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mentor-payout-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 36rem;
}

.mentor-payout-field-label {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.mentor-payout-hint {
  margin: 0;
}

.mentor-payout-bank-display {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(8, 16, 30, 0.75);
  font-weight: 600;
  color: #e8f0ff;
}

.mentor-payout-bank-display.is-empty {
  font-weight: 500;
  color: var(--muted);
}

.mentor-payout-bank-display.is-unknown {
  color: #fde68a;
  font-weight: 500;
}

.mentor-payout-message {
  margin-top: 0.35rem;
}

.mentor-payout-guide {
  border: 1px solid rgba(116, 155, 227, 0.22);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  background: rgba(8, 16, 30, 0.55);
  margin-top: 1rem;
  max-width: 42rem;
}

.mentor-payout-guide summary {
  cursor: pointer;
  font-weight: 600;
  color: #bfdbfe;
}

.mentor-payout-guide ol {
  margin: 0.65rem 0 0.15rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.mentor-payout-form button[type="submit"] {
  width: auto;
  align-self: flex-start;
  margin-top: 0.15rem;
}

.mentor-invite-panel {
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 720px);
}

.mentor-invite-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: #f3f7ff;
}

.mentor-invite-warning-accordion {
  margin: 0 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.16),
    rgba(127, 29, 29, 0.12)
  );
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.12),
    0 8px 22px rgba(120, 53, 15, 0.14);
  overflow: hidden;
}

.mentor-invite-warning-summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fde68a;
}

.mentor-invite-warning-summary::-webkit-details-marker {
  display: none;
}

.mentor-invite-warning-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.65);
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.mentor-invite-warning-summary-text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.mentor-invite-warning-chevron {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  opacity: 0.85;
}

.mentor-invite-warning-accordion[open] .mentor-invite-warning-chevron {
  transform: rotate(-135deg);
}

.mentor-invite-warning-body {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid rgba(251, 191, 36, 0.22);
}

.mentor-invite-warning-body p {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #fde68a;
}

.mentor-invite-warning-body p:first-child {
  margin-top: 0.72rem;
}

.mentor-invite-warning-body a {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mentor-invite-warning-body a:hover {
  color: #fff;
}

.mentor-invite-hint {
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.mentor-invite-form {
  display: grid;
  gap: 0.45rem;
  flex-shrink: 0;
}

.mentor-invite-form input {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mentor-invite-message {
  margin: 0.65rem 0 0;
  min-height: 1.2rem;
  flex-shrink: 0;
}

.mentor-linked-students {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(116, 155, 227, 0.22);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mentor-linked-students-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #dbeafe;
}

.mentor-linked-students-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.mentor-linked-students-list-host > .mentor-linked-students-list {
  flex: none;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.mentor-linked-students-list {
  margin: 0;
  padding: 0.15rem 0.1rem 0.15rem 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  max-height: min(52vh, 520px);
  overscroll-behavior: contain;
}

.mentor-linked-students-item {
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(8, 15, 28, 0.5);
}

.mentor-linked-students-main {
  min-width: 0;
}

.mentor-linked-students-name {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f7ff;
}

.mentor-linked-students-packages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mentor-linked-students-packages-empty {
  font-size: 0.8rem;
  color: var(--muted);
}

.mentor-linked-students-package-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.14);
  font-size: 0.74rem;
  font-weight: 600;
  color: #bfdbfe;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mentor-linked-students-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.45rem;
  align-items: center;
}

.mentor-linked-student-package-select {
  min-width: 0;
  margin: 0;
}

.mentor-linked-students-enroll-btn,
.mentor-linked-students-remove-btn {
  margin: 0;
  white-space: nowrap;
}

.mentor-linked-students-remove-btn {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.mentor-linked-students-remove-btn:hover {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fff1f2;
}

.mentor-sayfam-page .mentor-showcase-layout {
  width: min(1120px, calc(100% - 2rem));
}

@media (min-width: 761px) {
  .mentor-sayfam-page .site-footer,
  .mentor-sayfam-page .site-footer-copy {
    margin-left: var(--mentor-panel-sidebar-width, 15rem);
    width: calc(100% - var(--mentor-panel-sidebar-width, 15rem));
    box-sizing: border-box;
  }
}

.mentor-sayfam-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(116, 155, 227, 0.28);
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.55);
}

.mentor-sayfam-toolbar.is-preview {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.12);
}

.mentor-sayfam-toolbar-label {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.86rem;
  color: #bfdbfe;
}

.mentor-sayfam-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.mentor-sayfam-toolbar-btn {
  margin: 0;
}

.mentor-showcase--preview .mentor-vitrin-theme-editor,
.mentor-showcase--preview .mentor-name-hint,
.mentor-showcase--preview .mentor-vitrin-availability-toggle,
.mentor-showcase--preview .mentor-edit-btn,
.mentor-showcase--preview .mentor-editor-zone,
.mentor-showcase--preview #mentor-page-message,
.mentor-showcase--preview #mentor-photo-input {
  display: none !important;
}

.mentor-showcase--preview .mentor-vitrin-buy-btn {
  pointer-events: none;
  opacity: 0.72;
  cursor: default;
}

/* —— Mentör vitrin sayfası —— */
.mentor-showcase-layout {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  min-height: calc(100vh - 4.5rem);
}

.mentor-showcase-status {
  margin: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.mentor-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mentor-vitrin-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vitrin-accent-border, rgba(96, 165, 250, 0.35));
  border-radius: 18px;
  background: linear-gradient(
    165deg,
    var(--vitrin-accent-soft, rgba(37, 99, 235, 0.14)),
    rgba(8, 15, 28, 0.94)
  );
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 18px 44px rgba(2, 8, 18, 0.34);
}

.mentor-vitrin-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--vitrin-accent, #60a5fa), transparent 85%);
  pointer-events: none;
}

.mentor-vitrin-theme-editor {
  position: relative;
  z-index: 1;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  background: rgba(8, 15, 28, 0.42);
}

.mentor-vitrin-theme-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.mentor-vitrin-theme-hint {
  margin: 0 0 0.75rem;
}

.mentor-vitrin-theme-status {
  margin: 0.55rem 0 0;
  min-height: 1.1rem;
  font-size: 0.84rem;
  color: #86efac;
}

.mentor-vitrin-theme-status:empty {
  display: none;
}

.mentor-banner-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 18, 32, 0.75);
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.35);
}

.mentor-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  min-height: 180px;
  max-height: 360px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.08)),
    rgba(8, 15, 28, 0.9);
}

.mentor-banner-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-banner-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  color: var(--muted);
  padding: 1rem;
}

.mentor-banner-placeholder span {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mentor-banner-placeholder small {
  font-size: 0.82rem;
  color: var(--muted);
}

.mentor-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1;
  color: #e2e8f0;
  background: rgba(8, 15, 28, 0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.mentor-edit-btn:hover {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(15, 23, 42, 0.92);
  transform: scale(1.04);
}

.mentor-banner-edit {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
}

/* Masaüstü: isim üstte; mentörlük + özel ders + foto flex ile bölüşür */
.mentor-intro-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentor-intro-head {
  min-width: 0;
  padding-top: 0.25rem;
}

.mentor-intro-split {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.mentor-photo-card {
  flex: 0 0 auto;
  width: clamp(168px, 22vw, 220px);
  max-width: 220px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
}

.mentor-display-name {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mentor-intro-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0.2rem 0 0.5rem;
}

.mentor-vitrin-availability-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mentor-vitrin-availability-badge.is-active {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.mentor-vitrin-availability-badge.is-busy {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.mentor-vitrin-availability-slot {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.mentor-vitrin-availability-busy-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.mentor-vitrin-availability-busy-trigger-wrap {
  position: relative;
  display: inline-flex;
}

.mentor-vitrin-availability-badge--interactive {
  margin: 0;
  border: 1px solid rgba(248, 113, 113, 0.35);
  cursor: pointer;
  font: inherit;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.mentor-vitrin-availability-badge--interactive:hover,
.mentor-vitrin-availability-busy-trigger-wrap.is-open .mentor-vitrin-availability-badge--interactive {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.22);
}

.mentor-vitrin-availability-popover {
  position: absolute;
  z-index: 12;
  top: calc(100% + 0.45rem);
  left: 0;
  width: min(18.5rem, calc(100vw - 2rem));
  padding: 0.72rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 12px 28px rgba(2, 8, 18, 0.42);
}

.mentor-vitrin-availability-popover[hidden] {
  display: none !important;
}

.mentor-vitrin-availability-popover p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #dbe4f0;
}

.mentor-vitrin-availability-save-btn {
  margin-top: 0;
  padding: 0.34rem 0.78rem;
  font-size: 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.mentor-vitrin-availability-save-btn.is-saved {
  opacity: 0.82;
  cursor: default;
}

.mentor-vitrin-availability-toggle {
  margin-top: 0;
  padding: 0.4rem 0.82rem;
  font-size: 0.82rem;
  border-radius: 999px;
  white-space: nowrap;
}

.mentor-showcase--preview .mentor-vitrin-availability-toggle {
  display: none !important;
}

.mentor-name-hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.mentor-name-hint a {
  color: #93c5fd;
  text-decoration: none;
}

.mentor-name-hint a:hover {
  text-decoration: underline;
}

.mentor-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 18, 32, 0.85);
  box-shadow: 0 12px 28px rgba(2, 8, 18, 0.28);
}

.mentor-photo-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mentor-photo-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #93c5fd;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.22), rgba(8, 15, 28, 0.95));
}

.mentor-photo-fallback[hidden],
.mentor-banner-placeholder[hidden] {
  display: none !important;
}

.mentor-photo-edit {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 3;
}

.mentor-about-section {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.4rem;
  background: rgba(10, 18, 32, 0.55);
}

.mentor-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.mentor-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.mentor-about-content {
  color: #dbe4f0;
  line-height: 1.7;
  font-size: 0.98rem;
}

.mentor-about-content.mentor-vitrin-about {
  padding: 1.2rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(8, 15, 28, 0.72));
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-left: 4px solid #60a5fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mentor-about-content p {
  margin: 0 0 0.85rem;
}

.mentor-about-content p:last-child {
  margin-bottom: 0;
}

.mentor-about-empty {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.mentor-about-modal {
  width: min(640px, calc(100vw - 2rem));
}

.mentor-about-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .mentor-panel-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mentor-panel-content > .mentor-panel-mobile-toggle:first-child {
    align-self: center;
  }

  .mentor-panel-mobile-backdrop {
    display: block;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 84;
    background: rgba(3, 8, 18, 0.58);
  }

  .mentor-panel-mobile-backdrop[hidden] {
    display: none;
  }

  .mentor-panel-sidebar {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    z-index: 86;
    width: 100%;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-right: none;
    border-bottom: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.22s ease;
  }

  .mentor-panel-shell.is-sidebar-open .mentor-panel-sidebar {
    display: flex;
    flex-direction: column;
    max-height: min(72vh, 28rem);
    padding: 0.65rem 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
  }

  .mentor-panel-shell.is-sidebar-open .mentor-panel-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .panel-loading-skeleton-card {
    width: 100%;
  }

  .mentor-panel-mobile-close {
    display: block;
    flex-shrink: 0;
    width: 100%;
    margin-top: 0.65rem;
    margin-bottom: 0;
  }

  .mentor-panel-sidebar-title {
    display: block;
    padding-top: 0.15rem;
  }

  .mentor-panel-subnav {
    max-height: min(38vh, 14rem);
  }

  .mentor-panel-nav {
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
    width: 100%;
  }

  .mentor-panel-nav-btn {
    flex: none;
    width: 100%;
    text-align: left;
    padding: 0.62rem 0.72rem;
    font-size: 0.88rem;
  }

  .mentor-panel-nav-btn--sub {
    font-size: 0.82rem;
  }

  .mentor-panel-nav-btn.is-active,
  .mentor-panel-nav-btn--sub.is-active {
    box-shadow: inset 3px 0 0 #60a5fa;
  }

  .mentor-panel-shell {
    flex-direction: column;
  }

  .mentor-panel-content {
    margin-left: 0;
  }

  .admin-page .site-footer {
    margin-left: 0;
  }

  .admin-shell {
    flex-direction: column;
    padding-top: 4.5rem;
  }

  .admin-sidebar {
    position: sticky;
    top: 4.5rem;
    z-index: 75;
    width: 100%;
    padding: 0.65rem 0.75rem 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-sidebar-title {
    display: none;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .admin-nav-group-label {
    display: none;
  }

  .admin-nav-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 0.55rem 0.8rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .admin-nav-btn.is-active {
    box-shadow: inset 0 -3px 0 #60a5fa;
  }

  .admin-main {
    margin-left: 0;
    padding: 1rem 0.85rem 2rem;
  }

  .admin-main-head {
    margin-bottom: 0.85rem;
  }

  .admin-main-message {
    max-width: none;
    text-align: left;
  }

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

  .admin-section-card {
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
  }

  .admin-table {
    min-width: 560px;
  }

  .profile-page-nav {
    padding: 0.55rem 0.65rem;
    gap: 0.45rem;
  }

  .profile-page-nav .brand-logo {
    height: 28px;
    max-width: 7.5rem;
    object-fit: contain;
  }

  .profile-page-nav-actions {
    gap: 0.35rem;
  }

  .profile-page-nav .nav-btn-home-text {
    display: none;
  }

  .profile-page-nav .nav-btn-home-icon {
    display: inline;
  }

  .profile-page-nav .nav-btn-home,
  .profile-page-nav .notifications-btn {
    padding: 0.42rem 0.52rem;
    min-width: 2.35rem;
  }

  .mentor-panel-profile-layout {
    width: min(760px, calc(100% - 1rem));
    padding-bottom: 2rem;
  }

  .mentor-panel-grid-layout {
    width: min(1120px, calc(100% - 1rem));
    padding-bottom: 2rem;
  }

  .mentor-meeting-link-save-row {
    grid-template-columns: 1fr;
  }

  .mentor-meeting-link-save-row button[type="submit"] {
    width: 100%;
  }

  .mentor-ogrenciler-column,
  .mentor-panel-card--span-8,
  .mentor-panel-card--span-7,
  .mentor-panel-card--span-6,
  .mentor-panel-card--span-5,
  .mentor-panel-card--span-4 {
    grid-column: 1 / -1;
  }

  .mentor-wallet-layout {
    flex-direction: column;
  }

  .mentor-wallet-layout-main,
  .mentor-wallet-layout-side {
    flex: none;
    width: 100%;
  }

  .mentor-wallet-layout-side .mentor-wallet-transactions-panel {
    min-height: 0;
  }

  .mentor-wallet-referral-stats {
    grid-template-columns: 1fr;
  }

  .mentor-wallet-transaction-fees {
    grid-template-columns: 1fr;
  }

  .mentor-invite-panel {
    min-height: 0;
  }

  .mentor-linked-students-list-host > .mentor-linked-students-list,
  .mentor-students-accordion-panel .mentor-linked-students-list {
    max-height: min(38vh, 360px);
  }

  .mentor-linked-students-list {
    max-height: none;
  }

  .mentor-linked-students-actions {
    grid-template-columns: 1fr;
  }

  .mentor-showcase-layout {
    width: min(1120px, calc(100% - 1rem));
    padding-bottom: 2rem;
  }

  .mentor-sayfam-page .site-footer,
  .mentor-sayfam-page .site-footer-copy {
    margin-left: 0;
    width: 100%;
  }

  /* Mobil: isim+foto üstte; özet kutuları altta tam genişlik */
  .mentor-intro-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 32vw);
    grid-template-areas:
      "head photo"
      "summary summary";
    gap: 0.85rem 0.75rem;
  }

  .mentor-intro-split {
    display: contents;
  }

  .mentor-intro-head {
    grid-area: head;
  }

  .mentor-summary-row {
    grid-area: summary;
    gap: 0.75rem;
  }

  .mentor-photo-card {
    grid-area: photo;
    flex: none;
    display: block;
    width: 100%;
    max-width: min(148px, 34vw);
    justify-self: end;
  }

  .mentor-photo-wrap {
    width: 100%;
    max-height: 200px;
    aspect-ratio: 4 / 5;
  }

  .mentor-photo-fallback {
    font-size: 1.6rem;
  }

  .mentor-display-name {
    font-size: clamp(1.2rem, 5.2vw, 1.75rem);
  }

  .mentor-name-hint {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .mentor-summary-card {
    padding: 0.85rem 0.9rem;
  }

  .mentor-summary-title {
    font-size: 0.72rem;
    margin-bottom: 0.45rem;
  }

  .mentor-summary-chip-text {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .mentor-banner {
    aspect-ratio: 16 / 9;
    min-height: 160px;
  }
}

.mentor-summary-row {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.mentor-summary-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  background: rgba(10, 18, 32, 0.55);
  min-width: 0;
  height: 100%;
  box-shadow: 0 8px 20px rgba(2, 8, 18, 0.18);
}

.mentor-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mentor-summary-card--branches {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(155deg, rgba(37, 99, 235, 0.16), rgba(10, 18, 32, 0.58));
}

.mentor-summary-card--branches::before {
  background: linear-gradient(90deg, #60a5fa, #818cf8, transparent);
}

.mentor-summary-card--lessons {
  border-color: rgba(45, 212, 191, 0.32);
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.14), rgba(10, 18, 32, 0.58));
}

.mentor-summary-card--lessons::before {
  background: linear-gradient(90deg, #2dd4bf, #22d3ee, transparent);
}

.mentor-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(8, 15, 28, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.mentor-summary-card--lessons .mentor-summary-title {
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.35);
}

.mentor-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mentor-summary-chip {
  --vitrin-accent: #60a5fa;
  --vitrin-accent-soft: rgba(37, 99, 235, 0.14);
  --vitrin-accent-border: rgba(96, 165, 250, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.68rem;
  border-radius: 11px;
  border: 1px solid var(--vitrin-accent-border);
  background: linear-gradient(135deg, var(--vitrin-accent-soft), rgba(8, 15, 28, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mentor-summary-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vitrin-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--vitrin-accent) 55%, transparent);
  flex-shrink: 0;
}

.mentor-summary-chip-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #f1f5f9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mentor-summary-empty {
  color: var(--muted) !important;
  font-style: italic;
  font-size: 0.84rem !important;
  padding: 0.35rem 0.1rem;
}

.mentor-section-hint {
  margin: -0.35rem 0 1rem;
}

.mentor-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mentor-items-empty {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.mentor-item-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  background: rgba(8, 15, 28, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mentor-item-card--branch {
  border-left: 3px solid #60a5fa;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(8, 15, 28, 0.45));
}

.mentor-item-card--lesson {
  border-left: 3px solid #2dd4bf;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.08), rgba(8, 15, 28, 0.45));
}

.mentor-package-card {
  border-left: 3px solid #fbbf24;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.1), rgba(8, 15, 28, 0.45));
}

.mentor-item-card[data-accent] {
  border-left-color: var(--vitrin-accent);
  background: linear-gradient(90deg, var(--vitrin-accent-soft), rgba(8, 15, 28, 0.45));
}

.mentor-accent-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.mentor-accent-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mentor-accent-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.mentor-accent-swatch {
  --vitrin-accent: #60a5fa;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), var(--vitrin-accent) 58%);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.mentor-accent-swatch:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.mentor-accent-swatch.is-selected {
  border-color: #f8fafc;
  box-shadow: 0 0 0 2px rgba(8, 15, 28, 0.95), 0 0 0 4px var(--vitrin-accent);
}

.mentor-accent-swatch:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.mentor-item-card label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mentor-item-title,
.mentor-item-desc {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 15, 28, 0.75);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.mentor-item-desc {
  resize: vertical;
  min-height: 4.5rem;
}

.mentor-item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.mentor-item-inline-message {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
}

.mentor-item-save {
  border: none;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
}

.mentor-item-save:hover {
  filter: brightness(1.06);
}

.mentor-item-save.is-saved {
  background: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.45);
  cursor: default;
}

.mentor-item-save.is-saved:hover {
  filter: none;
}

.mentor-item-delete {
  font-size: 0.86rem;
}

.mentor-add-item-btn {
  margin-top: 0.75rem;
  width: 100%;
}

.mentor-price-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mentor-meeting-field {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

.mentor-meeting-period-field,
.mentor-meeting-count-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mentor-meeting-count-field.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.mentor-meeting-period-field label,
.mentor-meeting-count-field label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mentor-item-meeting-period,
.mentor-item-meeting-count {
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 15, 28, 0.75);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.mentor-meeting-field-hint {
  margin: 0;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}

.mentor-package-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.mentor-capacity-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mentor-capacity-field label {
  margin: 0;
}

.mentor-item-capacity {
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 15, 28, 0.75);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.mentor-capacity-hint {
  margin: 0;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}

.mentor-price-label-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mentor-price-label-row label {
  margin: 0;
}

.mentor-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.65);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mentor-info-btn:hover {
  border-color: rgba(96, 165, 250, 0.65);
  background: rgba(15, 23, 42, 0.9);
}

.mentor-item-price {
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 15, 28, 0.75);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.mentor-price-info-box {
  margin-top: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.35);
}

.mentor-price-info-box[hidden] {
  display: none !important;
}

.mentor-price-info-box p {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #dbe4f0;
}

.mentor-price-info-close {
  border: none;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
}

.mentor-price-info-close:hover {
  filter: brightness(1.06);
}

.auth-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  margin-top: 0.7rem;
}

.auth-panel form + .secondary {
  margin-top: 0.8rem;
}

.payment-result-layout {
  min-height: calc(100vh - 5rem);
  display: grid;
  place-items: center;
}

.payment-result-card {
  width: min(520px, 100%);
  text-align: center;
}

.payment-result-message {
  margin: 0.75rem 0 0;
  color: #c5d4f2;
  line-height: 1.55;
}

.payment-result-detail {
  margin-top: 0.65rem;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.payment-result-actions .nav-btn,
.payment-result-actions .auth-link-btn {
  margin-top: 0;
  text-decoration: none;
}

.auth-text-link {
  display: inline-block;
  margin: -0.25rem 0 0.85rem;
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-text-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.legal-layout {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem 1rem 3rem;
}

.legal-panel {
  width: min(760px, 100%);
}

.legal-panel h1 {
  margin: 0.6rem 0 0.35rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.legal-updated {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--action);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-back-link:hover {
  text-decoration: underline;
}

.legal-document h2 {
  margin: 1.35rem 0 0.55rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.05rem;
  color: #f3f7ff;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-document ul {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-document a {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document .nav-btn {
  color: #d9e6ff;
  text-decoration: none;
}

.legal-document .nav-btn.nav-btn-primary {
  color: #fff7ef;
}

.legal-document a:hover {
  color: #ffb04a;
}

.legal-layout--with-footer {
  min-height: auto;
  padding-bottom: 1.5rem;
}

.legal-document--en h2:first-of-type {
  margin-top: 1rem;
}

.legal-document--en strong {
  color: #e8f0ff;
}

.legal-caps-notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* —— Site footer (Stripe / legal compliance) —— */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(6, 12, 24, 0.96);
  padding: 2rem 1rem 1.25rem;
}

.site-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.62fr) minmax(0, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.site-footer-description,
.site-footer-company,
.site-footer-support {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.site-footer-description {
  color: #d5e3f8;
  max-width: 42rem;
}

.site-footer-company {
  font-weight: 600;
  color: #c5d4ef;
}

.site-footer-support a {
  color: #93c5fd;
  text-decoration: none;
}

.site-footer-support a:hover {
  text-decoration: underline;
}

.site-footer-address {
  margin: 0.35rem 0 0;
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-address {
  margin: 0 0 1rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer-nav-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.site-footer-nav-title-tr {
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

.site-footer-link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.site-footer-link-sep {
  color: rgba(147, 197, 253, 0.45);
  font-size: 0.85rem;
}

.site-footer-link-en,
.site-footer-link-tr {
  color: #d9e6ff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer-link-tr {
  color: #bfdbfe;
}

.site-footer-link-en:hover,
.site-footer-link-tr:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.legal-lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.legal-lang-btn {
  margin: 0;
  padding: 0.38rem 0.72rem;
  font-size: 0.84rem;
}

.legal-lang-btn.is-active {
  background: rgba(45, 140, 255, 0.22);
  border-color: rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  pointer-events: none;
}

.site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer-links a {
  color: #d9e6ff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer-links a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.site-footer-copy {
  width: min(1120px, 100%);
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer {
    padding: 1.5rem 0.85rem 1rem;
  }
}

.legal-consents {
  margin: 1rem 0 0.25rem;
  padding: 1rem 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(8, 15, 28, 0.55);
  display: grid;
  gap: 0.75rem;
}

.legal-consents-legend {
  padding: 0 0.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #d5e2ff;
}

.legal-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.legal-consent-item input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--action);
  cursor: pointer;
}

.legal-consent-item a {
  color: var(--action);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-consent-item a:hover {
  color: #ffb04a;
}

.cookie-consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 12000;
  display: flex;
  justify-content: center;
  padding: 0 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  animation: cookie-consent-fade-in 0.45s ease both;
}

.cookie-consent-card {
  pointer-events: auto;
  width: min(100%, 920px);
  border-radius: 18px;
  border: 1px solid rgba(148, 181, 236, 0.28);
  background:
    linear-gradient(145deg, rgba(14, 24, 42, 0.72), rgba(8, 14, 28, 0.58));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  animation: cookie-consent-slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1rem 1.15rem 1.05rem;
}

.cookie-consent-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
}

.cookie-consent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: #ffc98a;
  background: rgba(255, 138, 30, 0.12);
  border: 1px solid rgba(255, 138, 30, 0.22);
  box-shadow: 0 8px 20px rgba(255, 138, 30, 0.08);
}

.cookie-consent-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cookie-consent-text-wrap {
  min-width: 0;
}

.cookie-consent-title {
  margin: 0 0 0.28rem;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: #eef4ff;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-consent-text a {
  color: var(--action);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-consent-text a:hover {
  color: #ffb04a;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  width: auto;
  min-width: 8.5rem;
  margin-top: 0;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cookie-consent-btn:hover {
  transform: translateY(-1px);
}

.cookie-consent-btn:active {
  transform: translateY(0);
}

.cookie-consent-btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #d3e2ff;
  border: 1px solid rgba(148, 181, 236, 0.34);
  box-shadow: none;
}

.cookie-consent-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 198, 255, 0.48);
  box-shadow: 0 8px 18px rgba(8, 16, 32, 0.22);
  filter: none;
}

.cookie-consent-btn--primary {
  background: linear-gradient(130deg, var(--action), var(--action-strong));
  color: #fff8f1;
  border: 1px solid rgba(255, 176, 74, 0.35);
  box-shadow: 0 10px 24px rgba(233, 111, 0, 0.28);
}

.cookie-consent-btn--primary:hover {
  box-shadow: 0 14px 28px rgba(233, 111, 0, 0.34);
  filter: brightness(1.04);
}

html.has-cookie-consent body {
  padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
}

@keyframes cookie-consent-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cookie-consent-slide-up {
  from {
    opacity: 0;
    transform: translateY(1.1rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mentor-vitrin-publish-panel {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(8, 15, 28, 0.55);
}

.mentor-vitrin-publish-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mentor-vitrin-publish-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.mentor-vitrin-review-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mentor-vitrin-review-badge.is-draft {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.mentor-vitrin-review-badge.is-pending {
  background: rgba(251, 191, 36, 0.18);
  color: #fcd34d;
}

.mentor-vitrin-review-badge.is-approved {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.mentor-vitrin-review-badge.is-rejected {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
}

.mentor-vitrin-review-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  font-size: 0.9rem;
}

.mentor-vitrin-publish-info {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(14, 116, 144, 0.12);
}

.mentor-vitrin-publish-info.is-pending {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

.mentor-vitrin-publish-info.is-approved {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
}

.mentor-vitrin-publish-info.is-rejected {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
}

.mentor-vitrin-publish-info-title {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
}

.mentor-vitrin-publish-info-steps {
  margin: 0 0 0.55rem;
  padding-left: 1.15rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mentor-vitrin-publish-info-steps li + li {
  margin-top: 0.25rem;
}

.mentor-vitrin-publish-info-note {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.mentor-vitrin-submit-review {
  margin-top: 0.85rem;
}

@media (max-width: 900px) and (min-width: 761px) {
  .cookie-consent-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner,
  .cookie-consent-card {
    animation: none;
  }
}

@media (max-width: 760px) {
  .cookie-consent-banner {
    padding: 0 0.75rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .cookie-consent-card {
    border-radius: 16px;
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.95rem;
    padding: 0.95rem 0.95rem 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cookie-consent-btn {
    width: 100%;
    min-width: 0;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
  }
}

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

  .home-stats-panel {
    grid-template-columns: 1fr;
  }

  .stat-sidebar {
    grid-template-columns: minmax(118px, 150px) minmax(0, 1fr);
    align-items: stretch;
  }

  .stat-card-communities {
    min-height: 100%;
    padding: 0.75rem 0.65rem 0.8rem;
  }

  .stat-card-communities .stat-value-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0.35rem 0 0.5rem;
    min-height: 0;
  }

  .stat-card-communities .stat-number {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 0.92;
  }

  .stat-card-communities .stat-link {
    margin-top: auto;
    margin-bottom: 0;
  }

  .hero-title {
    max-width: none;
  }

  .hero-title-line {
    font-size: clamp(1.9rem, 6.5vw, 2.6rem);
  }

  .hero-title-phrase {
    column-gap: 0.2em;
  }

  .hero-rotate {
    --hero-rotate-gap: 0.28em;
    --hero-rotate-pad-y: 0.05em;
    --hero-rotate-line: 1.04;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
  }

  .home-landing .site-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .mentor-strip-compact {
    margin-top: 0;
  }
}

@media (max-width: 1000px) {
  :root {
    --site-header-offset: 78px;
  }

  body {
    padding-top: 78px; /* Mobilde boşluğu geri azalttık */
  }

  .top-menu {
    display: none; /* Mobilde en üstteki menüyü gizledik */
  }

  .top-nav {
    top: 0; /* Ana menüyü en tepeye çektik */
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    justify-content: space-between;
  }

  .site-header,
  .bento-grid,
  .home-landing,
  .layout {
    width: auto;
    --home-gutter: 0.9rem;
    margin-left: 0;
    padding-left: var(--home-gutter);
    padding-right: var(--home-gutter);
    max-width: 100%;
    min-width: 0;
  }

  .panel {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .answer-form,
  .answer-reply-form,
  .answers {
    max-width: 100%;
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    display: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}

.competition-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Ekran genişliğine göre kutuları yan yana dizer */
  gap: 1.2rem;
}

/* Yarışma Kartı */
.competition-card {
  border: 1px solid rgba(116, 155, 227, 0.2);
  border-radius: 16px;
  padding: 1.2rem;
  background: rgba(12, 22, 38, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.competition-card:hover {
  border-color: rgba(255, 138, 30, 0.6);
  box-shadow: 0 12px 30px rgba(6, 14, 27, 0.6);
  transform: translateY(-4px); /* Daha belirgin bir yukarı kalkma efekti */
}

/* Kart Üst Bölümü ve Başlık */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.competition-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f3f7ff;
  line-height: 1.4;
}

/* Kategori Etiketleri (Badge) */
.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-olympiad { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.badge-tech { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

/* Meta Bilgiler (Tarih/Konum) */
.competition-meta {
  color: #98acd0;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

/* Yarışma Açıklaması */
.competition-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0 0 1.2rem 0;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aksiyon Butonu */
.details-btn {
  display: block;
  text-align: center;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(116, 155, 227, 0.3);
  border-radius: 8px;
  color: #f3f7ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.details-btn:hover {
  background: rgba(255, 138, 30, 0.1);
  border-color: #ff8a1e;
  color: #ff8a1e;
}

/* Topluluklara Özel Badge Renkleri */
.badge-art { background: rgba(168, 85, 247, 0.2); color: #c084fc; } /* Mor */
.badge-tech { background: rgba(34, 197, 94, 0.2); color: #4ade80; } /* Yeşil */
.badge-olympiad { background: rgba(234, 179, 8, 0.2); color: #facc15; } /* Sarı */

/* Genel Liste Yapısı (Yarışma listesiyle aynı) */
.community-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

/* Kart Yapısı */
.community-card {
  border: 1px solid rgba(116, 155, 227, 0.2);
  border-radius: 16px;
  padding: 1.2rem;
  background: rgba(12, 22, 38, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.community-card:hover {
  border-color: rgba(168, 85, 247, 0.6); /* Topluluklara özel morumsu hover efekti */
  transform: translateY(-4px);
}

.community-card.is-highlighted {
  border-color: rgba(255, 138, 30, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 138, 30, 0.22);
  transform: translateY(-2px);
}

/* Sınav Kartlarına Özel Renkler */
.badge-osym { background: rgba(239, 68, 68, 0.2); color: #f87171; } /* Kırmızı */
.badge-intl { background: rgba(14, 165, 233, 0.2); color: #38bdf8; } /* Mavi */

/* Genel Liste Yapısı */
.exam-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

/* Kart Yapısı */
.exam-card {
  border: 1px solid rgba(116, 155, 227, 0.2);
  border-radius: 16px;
  padding: 1.2rem;
  background: rgba(12, 22, 38, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.exam-card:hover {
  border-color: rgba(239, 68, 68, 0.6); /* Sınavlara özel kırmızımsı hover efekti */
  transform: translateY(-4px);
}

.exam-title {
  margin: 0;
  font-size: 1.1rem;
  color: #f3f7ff;
  line-height: 1.4;
}

.exam-meta {
  color: #98acd0;
  font-size: 0.85rem;
  margin: 0.6rem 0;
}

.exam-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.mentor-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.mentor-card {
  border: 1px solid rgba(116, 155, 227, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(12, 22, 38, 0.95), rgba(18, 30, 50, 0.9));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mentor-card:hover {
  border-color: rgba(234, 179, 8, 0.5); /* Altın rengi hover */
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Doğrulanmış ve Başarı Rozetleri */
.badge-verified {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  font-size: 0.7rem;
  margin-left: 0.5rem;
}

.badge-gold { background: rgba(234, 179, 8, 0.2); color: #fbbf24; }
.badge-rank { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-tech { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.mentor-info {
  display: flex;
  align-items: center;
}

.mentor-name {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.mentor-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0.5rem 0 1rem;
}

.mentor-stats {
  font-size: 0.8rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  margin-top: auto;
}

/* —— Mentör vitrin listesi (Mentörüm sayfası) —— */
.mentors-directory-page .mentors-directory-header h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.mentors-directory-layout {
  max-width: 1240px;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.mentors-preview-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mentors-preview-status {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.mentors-preview-status:empty {
  display: none;
}

.mentors-preview-empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.mentors-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .mentors-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.mentor-preview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(10, 18, 32, 0.72);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(2, 8, 18, 0.28);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  min-height: 100%;
}

.mentor-preview-card--themed {
  border-color: var(--vitrin-accent-border, rgba(96, 165, 250, 0.35));
  background: linear-gradient(
    165deg,
    var(--vitrin-accent-soft, rgba(37, 99, 235, 0.14)),
    rgba(8, 15, 28, 0.9)
  );
}

.mentor-preview-card--themed::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--vitrin-accent, #60a5fa), transparent 85%);
}

.mentor-preview-card:hover,
.mentor-preview-card:focus-visible {
  border-color: rgba(96, 165, 250, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(2, 8, 18, 0.38);
  outline: none;
}

.mentor-preview-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 0.9rem 0;
  background: transparent;
}

.mentor-preview-photo {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 320px;
  overflow: hidden;
  background: rgba(8, 15, 28, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.28);
}

.mentor-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.mentor-preview-photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  color: #93c5fd;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.28), rgba(8, 15, 28, 0.95));
}

.mentor-preview-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}

.mentor-preview-name {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.28rem);
  line-height: 1.25;
  color: #f8fafc;
}

.mentor-preview-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mentor-preview-topic {
  min-width: 0;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.mentor-preview-topic--branches {
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(155deg, rgba(37, 99, 235, 0.12), rgba(8, 15, 28, 0.58));
}

.mentor-preview-topic--lessons {
  border-color: rgba(45, 212, 191, 0.26);
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.1), rgba(8, 15, 28, 0.58));
}

.mentor-preview-topic-label {
  display: inline-flex;
  margin: 0 0 0.45rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(8, 15, 28, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.mentor-preview-topic--lessons .mentor-preview-topic-label {
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.3);
}

.mentor-preview-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mentor-preview-topic-list .mentor-summary-chip {
  padding: 0.38rem 0.55rem;
}

.mentor-preview-topic-list .mentor-summary-chip-text {
  font-size: 0.8rem;
}

.mentor-preview-topic-empty,
.mentor-preview-more {
  color: var(--muted) !important;
  font-style: italic;
  font-size: 0.8rem;
  padding: 0.15rem 0.1rem;
}

.mentor-preview-about {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: #94a3b8;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.mentor-preview-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mentor-preview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(14, 165, 233, 0.28));
  border: 1px solid rgba(96, 165, 250, 0.42);
}

.mentor-preview-card:hover .mentor-preview-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(14, 165, 233, 0.38));
}

@media (max-width: 520px) {
  .mentors-directory-layout {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .mentor-preview-photo {
    max-height: 280px;
  }
}

@media (max-width: 760px) {
  .mentor-vitrin-shell {
    padding: 0.9rem 0.8rem 1rem;
    border-radius: 14px;
    gap: 1rem;
  }

  .mentor-vitrin-theme-editor {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
  }

  .mentor-vitrin-theme-head h2 {
    font-size: 0.95rem;
  }

  .mentor-about-section {
    padding: 0.95rem 0.9rem 1rem;
    border-radius: 14px;
  }

  .mentor-section-head {
    margin-bottom: 0.65rem;
  }

  .mentor-section-head h2 {
    font-size: 1.02rem;
  }

  .mentor-about-content.mentor-vitrin-about {
    padding: 0.95rem 0.9rem;
    border-left-width: 3px;
  }

  .mentor-vitrin-grid--branches,
  .mentor-vitrin-grid--lessons,
  .mentor-vitrin-grid--packages {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .mentor-vitrin-card {
    padding: 0.9rem 0.9rem 0.95rem;
    border-radius: 14px;
  }

  .mentor-vitrin-card-title {
    font-size: 0.98rem;
  }

  .mentor-vitrin-card-body {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .mentor-vitrin-card-footer {
    padding: 0.82rem 0.9rem 0.95rem;
    margin-left: -0.9rem;
    margin-right: -0.9rem;
  }

  .mentor-vitrin-card-price {
    font-size: clamp(1.18rem, 5.2vw, 1.4rem);
  }

  .mentor-vitrin-buy-btn {
    min-height: 2.65rem;
    font-size: 0.86rem;
  }

  .mentor-editor-zone {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
  }

  .mentor-items-list {
    gap: 0.65rem;
  }

  .mentor-item-card {
    padding: 0.78rem 0.8rem 0.82rem;
    border-radius: 10px;
  }

  .mentor-item-card label,
  .mentor-accent-label {
    font-size: 0.78rem;
  }

  .mentor-item-title,
  .mentor-item-desc,
  .mentor-item-price {
    font-size: 0.9rem;
    padding: 0.52rem 0.62rem;
  }

  .mentor-item-actions {
    margin-top: 0.2rem;
    gap: 0.42rem;
  }

  .mentor-item-save,
  .mentor-item-delete {
    min-height: 2.45rem;
    font-size: 0.82rem;
    padding: 0.42rem 0.78rem;
  }

  .mentor-accent-picker {
    gap: 0.35rem;
  }

  .mentor-accent-swatch {
    width: 1.48rem;
    height: 1.48rem;
  }

  .mentor-preview-topics {
    grid-template-columns: minmax(0, 1fr);
  }

  .mentor-preview-body {
    padding: 0.85rem 0.85rem 0.95rem;
    gap: 0.62rem;
  }

  .mentor-preview-name {
    font-size: 1.03rem;
  }

  .mentor-preview-about {
    font-size: 0.86rem;
    line-height: 1.52;
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  .mentor-preview-starting-price {
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

@media (max-width: 520px) {
  .mentor-showcase-layout {
    width: calc(100% - 0.75rem);
  }

  .mentor-vitrin-shell {
    padding: 0.75rem 0.65rem 0.9rem;
  }

  .mentor-summary-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.62rem;
  }

  .mentor-summary-card {
    padding: 0.72rem 0.76rem;
  }

  .mentor-summary-chip {
    padding: 0.4rem 0.52rem;
  }

  .mentor-summary-chip-text {
    font-size: 0.8rem;
  }

  .mentor-photo-card {
    max-width: 120px;
  }

  .mentor-photo-wrap {
    max-height: 165px;
  }

  .mentor-display-name {
    font-size: clamp(1.05rem, 5vw, 1.32rem);
  }

  .mentor-preview-photo {
    max-height: 248px;
  }

  .mentor-preview-topic-list .mentor-summary-chip-text {
    font-size: 0.76rem;
  }

  .mentor-preview-cta {
    min-height: 2.5rem;
    font-size: 0.84rem;
  }

  .confirm-dialog-card {
    width: min(380px, calc(100vw - 1rem));
    padding: 1rem 0.9rem 0.92rem;
    border-radius: 14px;
  }

  .confirm-dialog-actions {
    gap: 0.5rem;
  }

  .confirm-dialog-cancel,
  .confirm-dialog-confirm,
  .confirm-dialog-secondary {
    flex: 1 1 100%;
    width: 100%;
    min-height: 2.5rem;
  }

  .mentor-application-card {
    width: min(560px, calc(100vw - 0.85rem));
    border-radius: 14px;
  }

  .mentor-package-meta-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
}

/* —— Mentör vitrin kartları (public + mentör sayfam önizleme) —— */
.mentor-about-section--branches .mentor-section-head h2 {
  color: #93c5fd;
}

.mentor-about-section--lessons .mentor-section-head h2 {
  color: #5eead4;
}

.mentor-about-section--packages .mentor-section-head h2 {
  color: #fcd34d;
}

.mentor-about-section--about .mentor-section-head h2 {
  color: #bfdbfe;
}

.mentor-editor-zone {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.22);
}

.mentor-editor-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.mentor-vitrin-grid {
  display: grid;
  gap: 1rem;
}

.mentor-vitrin-grid--branches,
.mentor-vitrin-grid--lessons {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.mentor-vitrin-grid--packages {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 900px) {
  .mentor-vitrin-grid--packages {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.mentor-vitrin-empty {
  margin: 0;
  grid-column: 1 / -1;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 0.94rem;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.35);
}

.mentor-vitrin-card {
  --vitrin-accent: #60a5fa;
  --vitrin-accent-soft: rgba(37, 99, 235, 0.14);
  --vitrin-accent-border: rgba(96, 165, 250, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid var(--vitrin-accent-border);
  border-radius: 16px;
  background:
    linear-gradient(160deg, var(--vitrin-accent-soft), rgba(8, 15, 28, 0.72));
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.22);
  overflow: hidden;
}

.mentor-vitrin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vitrin-accent), transparent);
}

[data-accent="blue"] {
  --vitrin-accent: #60a5fa;
  --vitrin-accent-soft: rgba(37, 99, 235, 0.16);
  --vitrin-accent-border: rgba(96, 165, 250, 0.38);
}

[data-accent="violet"] {
  --vitrin-accent: #a78bfa;
  --vitrin-accent-soft: rgba(124, 58, 237, 0.16);
  --vitrin-accent-border: rgba(167, 139, 250, 0.35);
}

[data-accent="emerald"] {
  --vitrin-accent: #34d399;
  --vitrin-accent-soft: rgba(5, 150, 105, 0.14);
  --vitrin-accent-border: rgba(52, 211, 153, 0.32);
}

[data-accent="amber"] {
  --vitrin-accent: #fbbf24;
  --vitrin-accent-soft: rgba(217, 119, 6, 0.12);
  --vitrin-accent-border: rgba(251, 191, 36, 0.32);
}

[data-accent="rose"] {
  --vitrin-accent: #fb7185;
  --vitrin-accent-soft: rgba(225, 29, 72, 0.12);
  --vitrin-accent-border: rgba(251, 113, 133, 0.32);
}

[data-accent="cyan"] {
  --vitrin-accent: #22d3ee;
  --vitrin-accent-soft: rgba(6, 182, 212, 0.14);
  --vitrin-accent-border: rgba(34, 211, 238, 0.32);
}

[data-accent="teal"] {
  --vitrin-accent: #2dd4bf;
  --vitrin-accent-soft: rgba(13, 148, 136, 0.14);
  --vitrin-accent-border: rgba(45, 212, 191, 0.32);
}

[data-accent="orange"] {
  --vitrin-accent: #fb923c;
  --vitrin-accent-soft: rgba(234, 88, 12, 0.12);
  --vitrin-accent-border: rgba(251, 146, 60, 0.32);
}

[data-accent="pink"] {
  --vitrin-accent: #f472b6;
  --vitrin-accent-soft: rgba(219, 39, 119, 0.12);
  --vitrin-accent-border: rgba(244, 114, 182, 0.32);
}

[data-accent="lime"] {
  --vitrin-accent: #a3e635;
  --vitrin-accent-soft: rgba(101, 163, 13, 0.12);
  --vitrin-accent-border: rgba(163, 230, 53, 0.28);
}

[data-accent="gold"] {
  --vitrin-accent: #facc15;
  --vitrin-accent-soft: rgba(202, 138, 4, 0.14);
  --vitrin-accent-border: rgba(250, 204, 21, 0.34);
}

[data-accent="sky"] {
  --vitrin-accent: #38bdf8;
  --vitrin-accent-soft: rgba(2, 132, 199, 0.14);
  --vitrin-accent-border: rgba(56, 189, 248, 0.32);
}

[data-accent="indigo"] {
  --vitrin-accent: #818cf8;
  --vitrin-accent-soft: rgba(67, 56, 202, 0.14);
  --vitrin-accent-border: rgba(129, 140, 248, 0.32);
}

[data-accent="mint"] {
  --vitrin-accent: #6ee7b7;
  --vitrin-accent-soft: rgba(16, 185, 129, 0.12);
  --vitrin-accent-border: rgba(110, 231, 183, 0.3);
}

[data-accent="coral"] {
  --vitrin-accent: #fb7185;
  --vitrin-accent-soft: rgba(244, 63, 94, 0.12);
  --vitrin-accent-border: rgba(251, 113, 133, 0.32);
}

.mentor-vitrin-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vitrin-accent);
  background: rgba(8, 15, 28, 0.55);
  border: 1px solid var(--vitrin-accent-border);
}

.mentor-vitrin-card-title {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #f8fafc;
}

.mentor-vitrin-card-body {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.62;
  color: #cbd5e1;
}

.mentor-vitrin-card--package {
  min-height: 220px;
  padding-bottom: 0;
}

.mentor-vitrin-package-edit-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
}

.mentor-vitrin-item-edit-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
}

.mentor-vitrin-item-edit-btn.is-active,
.mentor-vitrin-package-edit-btn.is-active {
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(37, 99, 235, 0.28);
}

.mentor-vitrin-card--package .mentor-vitrin-card-body {
  margin-bottom: 0.35rem;
}

.mentor-vitrin-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1.05rem 1.15rem;
  margin-left: -1.05rem;
  margin-right: -1.05rem;
  margin-bottom: 0;
  border-top: 1px solid var(--vitrin-accent-border);
  background: rgba(8, 15, 28, 0.55);
}

.mentor-vitrin-card-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mentor-vitrin-card-price {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--vitrin-accent);
}

.mentor-vitrin-card-price--muted {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
}

.mentor-vitrin-buy-btn {
  margin-top: 0.55rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--vitrin-accent) 88%, #ffffff 12%),
    color-mix(in srgb, var(--vitrin-accent) 62%, #0f172a 38%)
  );
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--vitrin-accent) 28%, transparent);
}

.mentor-vitrin-buy-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mentor-vitrin-buy-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.mentor-vitrin-card-meeting {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(37, 99, 235, 0.1);
}

.mentor-vitrin-card-meeting-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
}

.mentor-vitrin-card-meeting-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #dbeafe;
  letter-spacing: 0.01em;
}

.mentor-vitrin-capacity {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #94a3b8;
}

.mentor-vitrin-capacity--low {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.5);
  animation: mentor-capacity-pulse 1.75s ease-in-out infinite;
}

.mentor-vitrin-capacity--low::before {
  content: "⚠";
  font-size: 1rem;
  line-height: 1;
}

.mentor-vitrin-capacity--full {
  color: #64748b;
  font-style: italic;
}

.mentor-vitrin-buy-btn--disabled {
  margin-top: 0.55rem;
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.25);
  cursor: not-allowed;
}

@keyframes mentor-capacity-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(248, 113, 113, 0);
  }
}

.mentor-about-section--messages .mentor-section-head h2,
.mentor-about-section--inbox .mentor-section-head h2 {
  color: #c4b5fd;
}

.mentor-student-messaging-root,
.mentor-inbox-root {
  margin-top: 0.35rem;
}

.mentor-msg-intro {
  margin: 0 0 0.85rem;
}

.mentor-msg-login-prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(8, 15, 28, 0.45);
}

.mentor-msg-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mentor-msg-thread {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mentor-msg-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: min(420px, 55vh);
  overflow: auto;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 15, 28, 0.5);
}

.mentor-msg-empty {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.mentor-msg-bubble {
  max-width: min(100%, 34rem);
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

.mentor-msg-bubble--own {
  align-self: flex-end;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 58, 138, 0.35);
}

.mentor-msg-bubble--other {
  align-self: flex-start;
}

.mentor-msg-meta {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}

.mentor-msg-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

.mentor-msg-body--rich {
  white-space: normal;
}

.mentor-msg-body--rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.35rem 0;
}

.mentor-msg-compose--rich .mentor-msg-editor-host {
  min-height: 8.5rem;
  margin-bottom: 1.6rem;
}

.mentor-msg-compose--rich .quill-editor-wrap .ql-container.ql-snow {
  min-height: 6.5rem;
}

.mentor-package-student-messages .mentor-msg-compose--rich,
.mentor-package-messages-accordion .mentor-msg-compose--rich,
.student-enrollment-root .mentor-msg-compose--rich {
  margin-top: 0.15rem;
}

.mentor-msg-compose {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mentor-msg-input {
  width: 100%;
  min-height: 5.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.75);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
  resize: vertical;
}

.mentor-msg-compose-actions {
  display: flex;
  justify-content: flex-end;
}

.mentor-msg-compose--rich .mentor-msg-compose-actions {
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(116, 155, 227, 0.2);
  position: relative;
  z-index: 1;
}

.mentor-msg-compose-actions button {
  width: auto;
  margin-top: 0;
  flex-shrink: 0;
}

.mentor-msg-hint {
  margin: 0;
}

.mentor-msg-form-message {
  margin: 0;
}

.mentor-inbox-hint {
  margin: 0 0 0.75rem;
}

.mentor-inbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.mentor-inbox-tab {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(8, 15, 28, 0.55);
  color: #cbd5e1;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.mentor-inbox-tab.is-active {
  color: #f8fafc;
  border-color: color-mix(in srgb, var(--vitrin-accent, #60a5fa) 55%, transparent);
  background: color-mix(in srgb, var(--vitrin-accent, #60a5fa) 18%, rgba(8, 15, 28, 0.85));
}

.mentor-inbox-empty {
  margin: 0;
  padding: 0.85rem 0.2rem;
  color: #94a3b8;
}

.mentor-inbox-request-card {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 15, 28, 0.5);
}

.mentor-inbox-request-card + .mentor-inbox-request-card {
  margin-top: 0.65rem;
}

.mentor-inbox-request-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.mentor-inbox-request-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
}

.mentor-inbox-request-meta {
  margin: 0.45rem 0 0.65rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

.mentor-inbox-request-details {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
  font-size: 0.86rem;
}

.mentor-inbox-request-details dt {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
}

.mentor-inbox-request-details dd {
  margin: 0;
  color: #e2e8f0;
  word-break: break-word;
}

.mentor-inbox-status {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mentor-inbox-status--pending {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
}

.mentor-inbox-status--reviewing {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.18);
}

.mentor-inbox-status--contacted {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.18);
}

.mentor-inbox-status--rejected {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
}

.mentor-inbox-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mentor-inbox-thread {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.45);
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mentor-inbox-thread--open {
  border-color: color-mix(in srgb, var(--vitrin-accent, #60a5fa) 40%, rgba(148, 163, 184, 0.22));
  background: rgba(8, 15, 28, 0.62);
}

.mentor-inbox-thread + .mentor-inbox-thread {
  margin-top: 0;
}

.mentor-inbox-thread-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mentor-inbox-thread-head:hover {
  background: rgba(148, 163, 184, 0.08);
}

.mentor-inbox-thread-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mentor-inbox-thread-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.mentor-inbox-thread-chevron {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.15s ease;
}

.mentor-inbox-thread--open .mentor-inbox-thread-chevron {
  transform: rotate(180deg);
  color: var(--vitrin-accent, #93c5fd);
}

.mentor-inbox-thread-preview {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mentor-inbox-thread-meta {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}

.mentor-inbox-thread-body {
  padding: 0 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mentor-inbox-thread-body .mentor-msg-list {
  max-height: min(360px, 50vh);
}

.mentor-inbox-request-card.is-highlighted,
.mentor-inbox-thread.is-highlighted,
.mentor-msg-bubble.is-highlighted {
  animation: mentor-inbox-highlight 2.8s ease-out;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--vitrin-accent, #60a5fa) 70%, transparent);
}

@keyframes mentor-inbox-highlight {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--vitrin-accent, #60a5fa) 55%, transparent);
  }
  40% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--vitrin-accent, #60a5fa) 25%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 760px) {
  .mentor-inbox-request-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .mentor-inbox-request-details {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .mentor-inbox-request-details dt {
    margin-top: 0.35rem;
  }
}

.mentor-preview-starting-price {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--vitrin-accent, #93c5fd);
}

/* —— Influencer programı —— */

.influencer-program-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 138, 30, 0.08), transparent 50%),
    var(--bg);
}

.influencer-program-layout {
  display: grid;
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 0.35rem;
  padding-bottom: 2rem;
}

.influencer-program-hero {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(116, 155, 227, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(255, 138, 30, 0.06));
}

.influencer-program-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  align-items: center;
}

.influencer-program-hero-copy h1 {
  margin: 0.35rem 0 1rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.influencer-program-accent {
  color: #93c5fd;
}

.influencer-program-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.influencer-program-hero-card {
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(116, 155, 227, 0.28);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.influencer-program-hero-card-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.influencer-program-hero-card-value {
  margin: 0.15rem 0 0.35rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: #f8fafc;
}

.influencer-program-hero-card-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.influencer-program-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.influencer-program-highlights li {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.influencer-program-highlights span {
  display: inline-block;
  min-width: 4.5rem;
  font-weight: 700;
  color: #93c5fd;
}

.influencer-program-section {
  padding: 1.5rem 1.6rem;
}

.influencer-program-section-head {
  margin-bottom: 1.15rem;
}

.influencer-program-section-head h2 {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.influencer-program-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.influencer-program-step {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(116, 155, 227, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.influencer-program-step:hover {
  border-color: rgba(116, 155, 227, 0.35);
  transform: translateY(-1px);
}

.influencer-program-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(59, 130, 246, 0.15));
  color: #bfdbfe;
  font-weight: 700;
  font-size: 0.88rem;
}

.influencer-program-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-family: "Montserrat", "Inter", sans-serif;
}

.influencer-program-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.influencer-program-step code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.84em;
  color: #cbd5e1;
}

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

.influencer-program-term {
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(116, 155, 227, 0.14);
  background: rgba(15, 23, 42, 0.35);
}

.influencer-program-term h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.influencer-program-term p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.influencer-application-card {
  padding: 1.25rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(116, 155, 227, 0.2);
  background: rgba(15, 23, 42, 0.42);
  min-height: 4rem;
}

.influencer-application-card.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.influencer-application-card.is-loading::after {
  content: "Yükleniyor…";
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.influencer-application-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(22, 101, 52, 0.12);
  color: #86efac;
  font-size: 0.92rem;
  line-height: 1.5;
}

.influencer-application-status.is-rejected {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.15);
  color: #fca5a5;
}

.influencer-application-status.is-pending {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(120, 53, 15, 0.15);
  color: #fde68a;
}

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

.influencer-form-field {
  display: grid;
  gap: 0.35rem;
}

.influencer-form-field--full {
  grid-column: 1 / -1;
}

.influencer-form-field label {
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1;
}

.influencer-form-field input,
.influencer-form-field select,
.influencer-form-field textarea {
  width: 100%;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(116, 155, 227, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  color: #f1f5f9;
  font: inherit;
  font-size: 0.92rem;
}

.influencer-form-field input:focus,
.influencer-form-field select:focus,
.influencer-form-field textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.influencer-form-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.influencer-application-submit {
  margin-top: 1rem;
}

.influencer-application-login-hint {
  margin: 0;
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.influencer-application-login-hint a {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.influencer-link-card {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(116, 155, 227, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
}

.influencer-link-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.influencer-link-input {
  flex: 1;
  min-width: 0;
}

.mentor-panel-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

@media (max-width: 900px) {
  .influencer-program-hero-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }

  .influencer-program-hero-card {
    order: -1;
  }
}

@media (max-width: 760px) {
  .influencer-program-steps,
  .influencer-program-terms-grid,
  .influencer-form-grid {
    grid-template-columns: 1fr;
  }

  .influencer-program-section {
    padding: 1.15rem 1rem;
  }

  .influencer-link-row {
    flex-direction: column;
  }
}

/* —— Panel hata bildir —— */
.panel-bug-report-panel {
  max-width: 42rem;
}

.panel-bug-report-lead {
  line-height: 1.55;
}

.panel-bug-report-form {
  margin-top: 1rem;
}

.panel-bug-report-form .label-optional {
  font-weight: 400;
  font-size: 0.9em;
  color: #94a3b8;
}

.panel-bug-report-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.admin-table .panel-error-desc-cell {
  max-width: 24rem;
  white-space: pre-wrap;
  word-break: break-word;
  vertical-align: top;
}

.admin-table .panel-error-code-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  white-space: nowrap;
}

/* —— Herkese açık mentör profili —— */