:root {
  color-scheme: light;
  --ink: #211b3f;
  --muted: #6b7185;
  --line: #e4e3f0;
  --surface: #ffffff;
  --soft: #f5f5fb;
  --brand: #5a2a86;
  --brand-dark: #3a1c64;
  --accent: #c0398f;
  --brand-gradient: linear-gradient(135deg, #3a1c64 0%, #6a2c91 45%, #c0398f 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topnav a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.admin-link {
  flex: 0 0 auto;
  padding: 11px 15px;
  border-radius: 6px;
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.summary {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.summary > div,
.metric,
.modules article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.summary > div {
  padding: 24px;
}

.summary h2,
.modules h2 {
  margin-bottom: 9px;
  font-size: 20px;
}

.summary p,
.metric p,
.modules p {
  color: var(--muted);
  line-height: 1.55;
}

.signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 132px;
}

.signal strong {
  color: var(--accent);
  font-size: 30px;
}

.signal span {
  margin-top: 8px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.metric {
  min-height: 138px;
  padding: 18px;
}

.metric.compact {
  min-height: 104px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--brand-dark);
  font-size: 34px;
}

.metric .metric-text {
  font-size: 18px;
  line-height: 1.25;
}

.modules {
  margin-top: 28px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.modules article {
  padding: 20px;
}

.modules h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link.inline-link {
  margin-top: 0;
}

.phase {
  margin-top: 30px;
}

.phase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.phase-heading h2 {
  font-size: 22px;
}

.phase-heading span {
  color: var(--muted);
  font-weight: 700;
}

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

.module-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.module-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.module-card-head h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.module-card-head p {
  color: var(--muted);
  line-height: 1.45;
}

.module-card-head > span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--brand-dark);
  font-weight: 800;
}

.module-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-card li {
  display: grid;
  gap: 5px;
  padding: 14px 18px;
  border-top: 1px solid #edf1f6;
}

.module-card li:first-child {
  border-top: 0;
}

.module-card li strong {
  font-size: 15px;
}

.module-card li span {
  color: var(--muted);
  line-height: 1.45;
}

.messages {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}

.messages.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.auth-main {
  width: min(460px, calc(100% - 32px));
}

.auth-panel {
  margin-top: 28px;
}

.workbench {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

.form-panel,
.data-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.form-panel {
  padding: 20px;
}

.form-panel h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.form-panel p {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-panel label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.form-panel textarea {
  min-height: 76px;
  resize: vertical;
}

.form-panel input[type="checkbox"],
.form-panel input[type="radio"] {
  width: auto;
  min-height: auto;
  padding: 0;
}

.form-panel button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-panel .errorlist {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fef2f2;
  color: #991b1b;
  list-style: none;
}

.data-section {
  margin-top: 24px;
  padding: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.role-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.role-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.role-tile {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.role-tile strong {
  font-size: 16px;
}

.role-tile span {
  color: var(--muted);
  line-height: 1.45;
}

.module-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-list li {
  padding: 12px 13px;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  background: #fbfcfe;
  font-weight: 700;
}

.resource-box {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.resource-box span,
.muted-text {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.inline-status-form {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  flex-wrap: nowrap;
}
.inline-status-form > input[type="text"],
.inline-status-form > input[type="number"],
.inline-status-form > select {
  flex: 1 1 auto;
  min-width: 90px;
  max-width: 140px;
}
.inline-status-form > button {
  flex: 0 0 auto;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
}
/* Tablo hücresi içinde dar kalsın */
.dashboard-table td .inline-status-form {
  max-width: 230px;
}

.inline-status-form p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.inline-status-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.inline-status-form select,
.inline-status-form input,
.inline-status-form textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.inline-status-form textarea {
  min-height: 36px;
  resize: vertical;
}

.inline-status-form button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.app-shell-body {
  --dash-ink: #211b3f;
  --dash-muted: #7b7f97;
  --dash-line: #ecebf5;
  --dash-navy: #2b2356;
  --dash-blue: #6a3aa8;
  --dash-violet: #8a4bc0;
  --dash-pink: #c43b8d;
  --dash-coral: #ff8f73;
  background: #f7f8fc;
  color: var(--dash-ink);
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100vh;
  overflow-y: auto;
  padding: 12px 14px 20px;
  border-right: 1px solid #e6e9f2;
  background: #fff;
  box-shadow: 12px 0 28px rgba(31, 41, 55, 0.05);
}
.side-rail > .rail-brand { margin-bottom: 6px; }

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

.rail-brand {
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 900;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(90, 42, 134, 0.28);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark .brand-mark-svg {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.rail-brand strong,
.rail-brand small {
  display: block;
}

.rail-brand small {
  margin-top: 2px;
  color: #7b849d;
  font-size: 12px;
  font-weight: 800;
}

.rail-nav {
  display: grid;
  gap: 10px;
}

.rail-item {
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #3f4658;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.rail-icon {
  flex: 0 0 auto;
  width: 22px;
  color: #3f4658;
  font-size: 18px;
  text-align: center;
}

.rail-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 3px solid #eceafe;
  border-radius: 999px;
  background: #625bf6;
}

.rail-group {
  display: grid;
  gap: 4px;
  padding: 8px 0 10px 18px;
  border-left: 3px solid #f0f1f5;
}

.rail-group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 8px 0 4px -8px;
  color: #8a93a6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rail-group summary::-webkit-details-marker {
  display: none;
}

.rail-group summary::after {
  color: #8a93a6;
  content: "⌄";
  font-size: 16px;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 160ms ease, color 160ms ease;
}

.rail-group[open] summary::after {
  color: var(--dash-blue);
  transform: rotate(0deg);
}

.rail-item.active,
.rail-item:hover {
  background: #f2f1ff;
  color: #1f2937;
}

.rail-item.active {
  box-shadow: inset 0 0 0 2px var(--dash-blue);
}

.rail-item.active .rail-dot,
.rail-item:hover .rail-dot {
  border-color: #dedbff;
  background: var(--dash-pink);
}

.dashboard-main {
  width: auto;
  margin: 0;
  padding: 22px clamp(18px, 3vw, 36px) 42px;
}

.dashboard-topbar {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dash-line);
  border-radius: 10px;
  background: #fff;
  color: var(--dash-muted);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.search-box input {
  width: min(420px, 100%);
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--dash-line);
  border-radius: 10px;
  background: #fff;
  color: var(--dash-ink);
  font: inherit;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.panel-session-actions {
  justify-content: flex-end;
}

.role-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--dash-line);
  border-radius: 10px;
  color: var(--dash-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
}

.topbar-logout {
  margin: 0;
}

.topbar-logout button {
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 13px;
  white-space: nowrap;
}

.role-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--dash-violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.role-hero h1 {
  font-size: 30px;
  line-height: 1.15;
}

.role-hero p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--dash-muted);
  line-height: 1.5;
}

.role-profile-chip {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 13px 15px;
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  background: #fff;
}

.role-profile-chip span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.role-profile-chip strong {
  font-size: 15px;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-stat-card,
.dashboard-panel {
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 36, 68, 0.06);
}

.dashboard-stat-card {
  --p: 0%;
  --stat-a: var(--dash-blue);
  --stat-b: var(--dash-pink);
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 126px;
  overflow: hidden;
  padding: 16px;
  color: var(--dash-ink);
  isolation: isolate;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dashboard-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--stat-a), var(--stat-b));
}

.dashboard-stat-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--stat-a), var(--stat-b)) 0 0 / var(--p) 100% no-repeat, #eef0f7;
}

.dashboard-stat-card:hover {
  border-color: color-mix(in srgb, var(--stat-a) 44%, var(--dash-line));
  box-shadow: 0 18px 34px rgba(24, 31, 58, 0.11);
  transform: translateY(-2px);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stat-card-top i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--stat-a) 14%, #fff);
  color: var(--stat-a);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.stat-card-top em,
.dashboard-stat-card > span:not(.stat-card-top):not(.stat-card-footer),
.dashboard-stat-card small {
  display: block;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}

.dashboard-stat-card strong {
  display: block;
  margin: 0;
  color: var(--dash-ink);
  font-size: 29px;
  letter-spacing: 0;
  line-height: 1;
}

.dashboard-stat-card small {
  max-width: 180px;
  margin-bottom: 18px;
  line-height: 1.35;
}

.stat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 8px;
}

.stat-card-footer b {
  color: color-mix(in srgb, var(--stat-a) 70%, var(--dash-ink));
  font-size: 11px;
  font-weight: 900;
}

.stat-card-footer i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stat-b) 16%, #fff);
  color: var(--stat-b);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.stat-tone-violet {
  --stat-a: #6d5dfc;
  --stat-b: #bf4bc2;
}

.stat-tone-blue {
  --stat-a: #2563eb;
  --stat-b: #54b6e8;
}

.stat-tone-teal {
  --stat-a: #0f766e;
  --stat-b: #2dd4bf;
}

.stat-tone-gold {
  --stat-a: #b7791f;
  --stat-b: #f6c453;
}

.stat-tone-indigo {
  --stat-a: #4f46e5;
  --stat-b: #7c3aed;
}

.stat-tone-green {
  --stat-a: #15803d;
  --stat-b: #65c466;
}

.stat-tone-coral {
  --stat-a: #ea6b4a;
  --stat-b: #e2559d;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.dashboard-panel {
  min-height: 260px;
  padding: 16px;
}

.panel-large {
  min-height: 330px;
}

.panel-medium {
  min-height: 260px;
}

.panel-table,
.module-panel {
  grid-column: span 1;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  font-size: 15px;
}

.panel-heading span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.segmented-control {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 3px;
  border-radius: 8px;
  background: #f4f5fb;
}

.segmented-control span {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 900;
}

.segmented-control .selected {
  background: var(--dash-blue);
  color: #fff;
}

.combo-chart {
  position: relative;
  min-height: 250px;
  border-bottom: 1px solid var(--dash-line);
  background:
    linear-gradient(to top, var(--dash-line) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(to right, rgba(238, 240, 247, 0.65) 1px, transparent 1px) 0 0 / 10% 100%;
}

.chart-bars {
  position: absolute;
  inset: 22px 18px 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: end;
  gap: 18px;
}

.chart-bars i {
  display: block;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #8075ff, #625bf6);
}

.chart-line {
  position: absolute;
  inset: 54px 22px 58px;
  border-top: 4px solid var(--dash-pink);
  border-radius: 60% 40% 55% 45%;
  transform: skewY(-8deg);
  opacity: 0.78;
}

.progress-list {
  display: grid;
  gap: 13px;
}

.progress-row {
  display: grid;
  gap: 7px;
}

.progress-row div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-row span {
  color: var(--dash-ink);
  font-size: 13px;
  font-weight: 800;
}

.progress-row strong {
  color: var(--dash-ink);
  font-size: 12px;
}

.progress-row i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dash-blue), var(--dash-pink)) 0 0 / var(--w) 100% no-repeat, #eef0f7;
}

.module-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-link-card {
  display: grid;
  gap: 8px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  color: var(--dash-ink);
  text-decoration: none;
  background: #f8f9fe;
}

.module-link-card:hover {
  border-color: rgba(98, 91, 246, 0.35);
  background: #f4f3ff;
}

.module-link-card strong {
  font-size: 14px;
}

.module-link-card span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.portal-select-form select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--dash-ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.mini-analytics {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 190px;
}

.donut-chart {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: conic-gradient(var(--dash-blue) 0 32%, var(--dash-pink) 32% 60%, var(--dash-coral) 60% 82%, #54b6e8 82% 100%);
  box-shadow: inset 0 0 0 28px #fff;
}

.stacked-bars {
  display: grid;
  gap: 12px;
}

.stacked-bars span {
  display: block;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--dash-blue) 0 var(--a), var(--dash-pink) var(--a) var(--b), #54b6e8 var(--b) 100%);
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.dashboard-table {
  min-width: 560px;
  font-size: 13px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 11px 9px;
}

.dashboard-table tbody tr:nth-child(even) {
  background: #fbfcff;
}

.module-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-chip-list a {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f4f5fb;
  color: var(--dash-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.module-map-panel {
  min-height: 330px;
}

.module-flow-list {
  display: grid;
  gap: 10px;
}

.module-flow-card {
  --stat-a: var(--dash-blue);
  --stat-b: var(--dash-pink);
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--stat-a) 24%, var(--dash-line));
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--stat-a) 8%, #fff), #fff 62%);
  color: var(--dash-ink);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.module-flow-card:hover {
  border-color: color-mix(in srgb, var(--stat-a) 50%, var(--dash-line));
  box-shadow: 0 14px 26px rgba(28, 36, 68, 0.09);
  transform: translateY(-1px);
}

.module-flow-card span {
  align-items: center;
  align-self: start;
  background: linear-gradient(135deg, var(--stat-a), var(--stat-b));
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 38px;
}

.module-flow-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.module-flow-card small {
  color: var(--dash-muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  grid-column: 2 / 3;
  line-height: 1.35;
}

.module-flow-card i {
  align-items: center;
  background: color-mix(in srgb, var(--stat-b) 14%, #fff);
  border-radius: 999px;
  color: var(--stat-b);
  display: inline-flex;
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.module-roadmap-panel {
  min-height: 260px;
}

.module-roadmap {
  display: grid;
  gap: 12px;
}

.module-roadmap div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 3px 12px;
  padding: 13px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fbfcff;
}

.module-roadmap b {
  align-items: center;
  background: #f1edff;
  border-radius: 10px;
  color: var(--dash-violet);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  grid-row: span 2;
  height: 38px;
  justify-content: center;
  width: 44px;
}

.module-roadmap strong {
  font-size: 14px;
}

.module-roadmap span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.registration-grid.two-one-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.registration-grid.two-one-grid .primary-form-panel {
  grid-column: span 1;
}

.workflow-board {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr) minmax(260px, 0.72fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.workflow-board.program-workflow {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.workflow-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(106, 88, 245, 0.1);
  color: var(--dash-blue);
  font-size: 12px;
  font-weight: 900;
}

.workflow-side-panel {
  align-self: stretch;
}

.workflow-action {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
}

.finance-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 6px;
}

.finance-quick-actions form {
  margin: 0;
}

.finance-quick-actions .quick-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 9px;
  border: 1px solid var(--dash-line);
  background: var(--surface);
  color: var(--dash-ink);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.finance-quick-actions .quick-action:hover {
  transform: translateY(-1px);
  border-color: var(--dash-blue);
  box-shadow: 0 8px 18px rgba(28, 36, 68, 0.09);
}

.finance-quick-actions .quick-action::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dash-blue);
}

.finance-quick-actions .quick-action.primary {
  border: 0;
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
  color: #fff;
}

.finance-quick-actions .quick-action.primary::before {
  background: rgba(255, 255, 255, 0.85);
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.setup-steps article {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(28, 36, 68, 0.05);
}

.setup-steps span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: rgba(106, 88, 245, 0.11);
  color: var(--dash-blue);
  font-weight: 900;
}

.setup-steps strong {
  color: var(--dash-ink);
  font-size: 15px;
}

.setup-steps small {
  color: var(--dash-muted);
  font-weight: 700;
}

.dashboard-form-panel {
  border-color: var(--dash-line);
  box-shadow: 0 10px 24px rgba(28, 36, 68, 0.06);
}

.dashboard-form-panel button {
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
}

.dashboard-form-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 14px;
  padding: 0;
  list-style: none;
}

.dashboard-form-panel li label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fbfcff;
  color: var(--dash-ink);
}

.module-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #f4f5fb;
  color: var(--dash-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.registration-table-panel {
  margin-top: 14px;
  min-height: auto;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--dash-bg);
}

.login-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(28, 36, 68, 0.1);
}

.login-card h1 {
  margin: 8px 0;
  font-size: 30px;
}

.login-card p {
  margin-bottom: 16px;
  color: var(--dash-muted);
}

.login-card form p {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.login-card input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  font: inherit;
}

.login-card button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
  color: white;
  font-weight: 900;
}

.dashboard-table select,
.dashboard-table input {
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid var(--dash-line);
  border-radius: 7px;
  font: inherit;
}

.dashboard-submit {
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

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

.module-dashboard-card {
  padding: 0;
  overflow: hidden;
}

.module-dashboard-card .module-card-head {
  border-bottom-color: var(--dash-line);
}

.module-dashboard-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-dashboard-card li {
  display: grid;
  gap: 5px;
  padding: 13px 16px;
  border-top: 1px solid var(--dash-line);
}

.module-dashboard-card li:first-child {
  border-top: 0;
}

.module-dashboard-card li span {
  color: var(--dash-muted);
  line-height: 1.45;
}

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

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

  .topnav {
    width: 100%;
    flex-wrap: wrap;
  }

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

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

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

  .role-layout {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    height: auto;
    max-height: none;
    height: auto;
    padding: 12px 14px;
  }

  .rail-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .rail-group {
    padding-left: 12px;
  }

  .dashboard-main {
    padding: 18px 16px 34px;
  }

  .dashboard-topbar,
  .role-hero,
  .dashboard-grid,
  .mini-analytics {
    grid-template-columns: 1fr;
  }

  .role-hero {
    display: grid;
  }

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

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

  .workflow-board,
  .workflow-board.program-workflow {
    grid-template-columns: 1fr;
  }

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

  .module-dashboard-grid {
    grid-template-columns: 1fr;
  }

.topbar-actions {
    flex-wrap: wrap;
  }
}

.video-player-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lesson-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  border: 1px solid #d8dfeb;
  border-radius: 8px;
}

.video-progress-form {
  display: grid;
  gap: 14px;
}

.video-progress-form p {
  margin: 0;
}

.service-trip-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.service-trip-actions label {
  display: grid;
  gap: 6px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.service-trip-actions select {
  min-width: 180px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fff;
  color: var(--dash-ink);
  font: inherit;
}

.video-progress-form label {
  color: #667085;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.video-progress-form input,
.video-progress-form select {
  border: 1px solid #d8dfeb;
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

.video-progress-form .checkbox-line label {
  align-items: center;
  color: #1f2937;
  display: flex;
  flex-direction: row;
}

.video-progress-form .checkbox-line input {
  min-height: auto;
  width: auto;
}

.filter-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.filter-form p {
  margin: 0;
}

.filter-form label {
  color: #667085;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.filter-form input,
.filter-form select {
  border: 1px solid #d8dfeb;
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

.filter-form button,
.inline-delete-form button,
.danger-form button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 12px;
}

.filter-form button {
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-pink));
  color: #fff;
}

.inline-delete-form {
  display: inline-block;
  margin-left: 8px;
}

.inline-delete-form button,
.danger-form button {
  background: #fee2e2;
  color: #b42318;
}

.danger-form {
  margin-top: 16px;
}

.public-home {
  --public-ink: #211b3f;
  --public-muted: #667085;
  --public-line: #e7e5f2;
  --public-purple: #6a2c91;
  --public-violet: #3a1c64;
  --public-pink: #c0398f;
  --public-green: #42bf73;
  background: #f7f8fc;
  color: var(--public-ink);
}

.public-nav {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(229, 233, 242, 0.86);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.public-brand,
.public-nav nav,
.public-actions,
.public-strip,
.public-feature-grid,
.public-pricing-grid,
.skorvar-metrics {
  align-items: center;
  display: flex;
}

.public-brand {
  color: var(--public-ink);
  gap: 12px;
  text-decoration: none;
}

.public-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--public-purple), var(--public-pink));
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.public-brand small {
  color: var(--public-muted);
  display: block;
  font-weight: 800;
  margin-top: 2px;
}

.public-nav nav {
  gap: 8px;
}

.public-nav nav a {
  border-radius: 8px;
  color: #40465b;
  font-weight: 900;
  padding: 10px 12px;
  text-decoration: none;
}

.public-main {
  margin: 0;
  width: 100%;
}

.public-hero {
  min-height: 660px;
  overflow: hidden;
  position: relative;
}

.hero-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.public-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 10, 38, 0.88), rgba(44, 25, 82, 0.62) 52%, rgba(20, 12, 45, 0.2)),
    linear-gradient(0deg, rgba(15, 10, 38, 0.62), rgba(15, 10, 38, 0.02) 46%);
  inset: 0;
  position: absolute;
}

.public-hero-content {
  color: #fff;
  left: clamp(20px, 6vw, 86px);
  max-width: min(760px, 62vw);
  position: relative;
  top: 104px;
  z-index: 2;
}

.public-kicker {
  color: #8d6bff;
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.public-hero-content .public-kicker,
.public-cta .public-kicker {
  color: #e8dcff;
}

.public-hero h1 {
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.04;
  max-width: 780px;
}

.public-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  margin-top: 22px;
  max-width: 560px;
}

.hero-live-strip {
  align-items: stretch;
  bottom: 42px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  left: clamp(20px, 6vw, 86px);
  max-width: min(980px, calc(100% - 172px));
  position: absolute;
  z-index: 3;
}

.hero-live-strip article {
  animation: heroCardLift 7s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.2);
  padding: 16px 18px;
}

.hero-live-strip article:nth-child(2) {
  animation-delay: -1.4s;
}

.hero-live-strip article:nth-child(3) {
  animation-delay: -2.8s;
}

.hero-live-strip article:nth-child(4) {
  animation-delay: -4.2s;
}

.hero-live-strip span {
  color: var(--public-purple);
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.hero-live-strip strong {
  color: var(--public-ink);
  display: block;
  font-size: 16px;
  line-height: 1.28;
  margin-top: 6px;
}

.public-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.public-actions a,
.public-cta a,
.public-pricing-grid a {
  border-radius: 8px;
  font-weight: 900;
  min-height: 46px;
  padding: 13px 18px;
  text-decoration: none;
}

.public-actions a:first-child,
.public-cta a {
  background: linear-gradient(135deg, var(--public-purple), var(--public-pink));
  color: #fff;
}

.public-actions a:not(:first-child),
.public-pricing-grid a {
  background: #fff;
  color: var(--public-violet);
}

.public-nav-login {
  background: #151827;
  color: #fff !important;
}

.public-nav nav a[href="#skorvar"]:hover,
.public-nav nav a[href="#skorvar"]:focus-visible {
  background: #fff4bf;
  color: #151827;
}

.public-section-heading h2,
.public-showcase h2,
.public-skorvar h2,
.public-cta h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.public-section-heading p,
.public-showcase p,
.public-skorvar p,
.public-cta p {
  color: var(--public-muted);
  line-height: 1.58;
  margin-top: 12px;
}

@keyframes heroCardLift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.public-strip {
  background: #fff;
  border-bottom: 1px solid var(--public-line);
  border-top: 1px solid var(--public-line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.public-strip article {
  padding: 24px clamp(18px, 3vw, 42px);
}

.public-strip strong {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}

.public-strip span {
  color: var(--public-muted);
  font-weight: 800;
}

.public-section,
.public-showcase,
.public-skorvar,
.public-cta {
  margin: 0 auto;
  scroll-margin-top: 112px;
  width: min(1220px, calc(100% - 40px));
}

.public-section {
  padding: 76px 0 34px;
}

.public-section-heading {
  max-width: 760px;
}

.public-feature-grid,
.public-pricing-grid,
.skorvar-metrics {
  align-items: stretch;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.public-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.public-feature-grid article,
.public-pricing-grid article,
.skorvar-metrics article {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 22px;
}

.public-feature-grid article span {
  align-items: center;
  background: #f1edff;
  border-radius: 8px;
  color: var(--public-purple);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 42px;
}

.public-feature-grid h3,
.public-pricing-grid h3 {
  font-size: 20px;
  margin-top: 18px;
}

.public-feature-grid p,
.public-pricing-grid small {
  color: var(--public-muted);
  display: block;
  line-height: 1.5;
  margin-top: 10px;
}

.public-showcase,
.public-skorvar,
.public-cta {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 420px;
  margin-top: 42px;
  padding: clamp(28px, 4vw, 54px);
}

.public-showcase ul {
  color: #32384a;
  display: grid;
  font-weight: 800;
  gap: 12px;
  line-height: 1.45;
  margin: 22px 0 0;
  padding-left: 20px;
}

.public-showcase figure {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
}

.public-showcase img {
  height: auto;
  max-height: 390px;
  max-width: 100%;
  object-fit: contain;
}

.public-skorvar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 74px 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 74px,
    radial-gradient(circle at 90% 18%, rgba(245, 196, 0, 0.42), transparent 31%),
    linear-gradient(135deg, #111 0%, #171717 58%, #d9b336 100%);
  color: #fff;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  overflow: hidden;
  position: relative;
}

.public-skorvar p {
  color: rgba(255, 255, 255, 0.82);
}

.public-skorvar h2 {
  margin-top: 22px;
  max-width: 640px;
}

.skorvar-copy {
  position: relative;
  z-index: 1;
}

.skorvar-logo-frame {
  background: #fff;
  border: 4px solid #f2c935;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  padding: 20px;
}

.skorvar-logo {
  height: auto;
  max-width: 260px;
  width: min(260px, 100%);
}

.skorvar-badge {
  background: #f2c935;
  border-radius: 999px;
  color: #111;
  display: table;
  font-size: 13px;
  font-weight: 950;
  margin-top: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.skorvar-metrics {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

.skorvar-metrics article {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(242, 201, 53, 0.7);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  color: #121212;
  min-height: 180px;
}

.skorvar-metrics small {
  align-items: center;
  background: #f2c935;
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.skorvar-metrics strong {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
}

.skorvar-metrics span {
  color: #4b5565;
  line-height: 1.45;
}

.public-pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.public-pricing-grid article > span {
  color: var(--card-accent, var(--public-purple));
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
}

.pricing-card::before {
  background: var(--card-accent, var(--public-purple));
  border-radius: 8px 8px 0 0;
  content: "";
  height: 6px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.pricing-card.pink {
  --card-accent: #e45cab;
}

.pricing-card.green {
  --card-accent: #42bf73;
}

.pricing-card.orange {
  --card-accent: #f4764f;
}

.pricing-card.purple {
  --card-accent: #6f3df4;
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--card-accent) 52%, #fff);
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.1);
}

.public-pricing-grid strong {
  display: block;
  font-size: 38px;
  margin-top: 18px;
}

.public-pricing-grid ul {
  color: #32384a;
  display: grid;
  gap: 10px;
  line-height: 1.38;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.public-pricing-grid li {
  align-items: flex-start;
  display: flex;
  font-weight: 850;
  gap: 9px;
}

.public-pricing-grid li::before {
  align-items: center;
  background: var(--card-accent, var(--public-purple));
  border-radius: 999px;
  color: #fff;
  content: "✓";
  display: inline-flex;
  flex: 0 0 19px;
  font-size: 12px;
  height: 19px;
  justify-content: center;
  margin-top: 1px;
  width: 19px;
}

.public-pricing-grid a {
  border: 1px solid var(--card-accent, var(--public-purple));
  color: var(--card-accent, var(--public-purple));
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  width: fit-content;
}

.public-pricing-grid del {
  color: #ef4444;
  font-weight: 900;
}

.public-cta {
  color: #fff;
  margin-bottom: 70px;
  margin-top: 70px;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.public-cta img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.public-cta::after {
  background: linear-gradient(90deg, rgba(20, 12, 45, 0.88), rgba(20, 12, 45, 0.5));
  content: "";
  inset: 0;
  position: absolute;
}

.public-cta div {
  max-width: 680px;
  padding: clamp(28px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

.public-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.public-cta a {
  display: inline-flex;
  margin-top: 24px;
}

.auth-page {
  background: #f7f8fc;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 520px);
  min-height: 100vh;
}

.auth-visual {
  background:
    linear-gradient(135deg, rgba(36, 18, 64, 0.88), rgba(192, 57, 143, 0.5)),
    url("../img/argedu-online-learning.jpg") center / cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 70px);
}

.auth-visual .public-brand {
  color: #fff;
}

.auth-visual .public-brand small,
.auth-visual p {
  color: rgba(255, 255, 255, 0.84);
}

.auth-visual h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  max-width: 700px;
}

.auth-visual p {
  font-size: 20px;
  line-height: 1.55;
  margin-top: 18px;
  max-width: 560px;
}

.auth-form-card {
  align-self: center;
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
  margin: 36px;
  padding: clamp(28px, 4vw, 46px);
}

.auth-form-card h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.auth-form-card form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-form-card form p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.auth-form-card label {
  color: #4b5565;
  font-weight: 900;
}

.auth-form-card input {
  border: 1px solid var(--public-line);
  border-radius: 8px;
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
}

.auth-form-card button {
  background: linear-gradient(135deg, var(--public-purple), var(--public-pink));
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 52px;
}

.auth-back-link {
  color: var(--public-purple);
  display: inline-flex;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav nav {
    flex-wrap: wrap;
  }

  .public-hero {
    min-height: auto;
    padding: 72px 20px 28px;
  }

  .public-hero-content,
  .hero-live-strip {
    left: auto;
    max-width: none;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
  }

  .hero-live-strip {
    margin-top: 32px;
  }

  .hero-live-strip {
    bottom: auto;
    grid-template-columns: 1fr 1fr;
  }

  .public-strip,
  .public-feature-grid,
  .public-pricing-grid,
  .public-showcase,
  .public-skorvar,
  .skorvar-metrics {
    grid-template-columns: 1fr;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .public-hero h1 {
    font-size: 40px;
  }

  .public-hero p {
    font-size: 17px;
  }

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

  .hero-live-strip {
    grid-template-columns: 1fr;
  }
}

/* ===== Profesyonel görünüm rötuşları (Argedu marka) ===== */
a, button, .rail-item, .module-pill, .text-link, .dashboard-stat-card, .dashboard-panel, .form-panel {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .18s ease, transform .15s ease;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(90, 42, 134, 0.12);
  outline: none;
}
.dashboard-stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33, 27, 63, 0.10); }
.rail-item:hover { background: rgba(90, 42, 134, 0.06); }
.text-link:hover { color: var(--accent); }
::selection { background: rgba(192, 57, 143, 0.18); }
* { scrollbar-color: #cbc8e3 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d0cde6; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b9b4d8; }

/* Marka kilidi (login / public) */
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; }
.brand-lockup .lockup-mark { width: 52px; height: 52px; flex: 0 0 auto; }
.brand-lockup .lockup-text { display: flex; flex-direction: column; line-height: 1; }
.brand-lockup .lockup-name {
  font-size: 30px; font-weight: 900; letter-spacing: 1px;
  color: var(--brand-dark);
}
.brand-lockup .lockup-tag {
  margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: 5px;
  color: var(--accent); text-transform: uppercase;
}

/* === Görsel haftalık ders programı === */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.schedule-filter select {
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--dash-border, #e2e1ef);
  background: #fff; font: inherit; color: inherit; cursor: pointer;
}
.schedule-grid {
  width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed;
}
.schedule-grid th, .schedule-grid td { text-align: left; vertical-align: top; }
.schedule-grid thead th {
  font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--accent); padding: 6px 8px;
}
.schedule-grid .schedule-time {
  white-space: nowrap; font-weight: 700; font-size: 13px; color: #3a3754;
  padding-top: 10px; width: 78px;
}
.schedule-grid .schedule-time small { display: block; font-weight: 500; color: #8b88a3; }
.schedule-grid tbody td {
  background: #f6f5fc; border-radius: 12px; min-height: 46px; padding: 4px;
}
.schedule-chip {
  background: linear-gradient(135deg, var(--brand, #6f3cff), var(--accent, #d63aff));
  color: #fff; border-radius: 10px; padding: 7px 9px; margin-bottom: 4px;
}
.schedule-chip:last-child { margin-bottom: 0; }
.schedule-chip strong { display: block; font-size: 13px; line-height: 1.2; }
.schedule-chip span { font-size: 11px; opacity: .9; }

/* === Global arama === */
.rail-search { padding: 0 4px; margin: 0; }
.rail-search input {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid #e5e7eb; background: #f9fafb; color: #1f2937; font: inherit;
}
.rail-search input::placeholder { color: #9ca3af; }
.rail-search input:focus { outline: 2px solid var(--brand); background: #fff; border-color: var(--brand); }
.search-result-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: inherit; transition: background .15s; margin-bottom: 6px;
  background: #f6f5fc;
}
.search-result-row:hover { background: #ece9fb; }
.search-result-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, var(--brand, #6f3cff), var(--accent, #d63aff));
}
.search-result-body { display: flex; flex-direction: column; }
.search-result-body strong { font-size: 14px; }
.search-result-body small { color: #8b88a3; font-size: 12px; }

/* === Sayfalama === */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px;
  flex-wrap: wrap;
}
.pagination a, .pagination span.current {
  padding: 7px 14px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 13px;
  border: 1px solid var(--dash-border, #e2e1ef); color: inherit; background: #fff;
}
.pagination span.current { background: var(--brand, #6f3cff); color: #fff; border-color: transparent; }
.pagination .muted { border: none; background: none; color: #8b88a3; }

/* === Erişilebilirlik === */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 1000;
  background: var(--brand, #6f3cff); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px;
  text-decoration: none; font-weight: 700; transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent, #d63aff); }
:focus-visible {
  outline: 3px solid var(--accent, #d63aff); outline-offset: 2px; border-radius: 4px;
}
[id="main-content"]:focus { outline: none; }
.rail-lang { padding: 12px 16px; margin-top: auto; }
.rail-lang select {
  width: 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08); color: #fff; font: inherit; cursor: pointer;
}
.rail-lang select option { color: #1f1d2e; }

/* === Öğrenci akademi paneli (kurs/grafik görünümü) === */
.academy-charts {
  display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 18px; margin-bottom: 22px;
}
.chart-card {
  background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 12px 30px rgba(63,55,120,.08);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.chart-card h3 { margin: 0; font-size: 15px; color: #6a6790; font-weight: 700; }
.chart-card-wide { align-items: stretch; }
.donut {
  width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center;
  position: relative;
  background: conic-gradient(var(--brand, #6f3cff) calc(var(--p, 0) * 1%), #e9e6f5 0);
}
.donut::before {
  content: ''; position: absolute; width: 70%; height: 70%; border-radius: 50%; background: #fff;
  box-shadow: inset 0 2px 8px rgba(63,55,120,.06);
}
.donut span { position: relative; z-index: 1; font-size: 30px; font-weight: 800; color: #2f2c4a; }
.donut-multi {
  background: conic-gradient(
    #f5821f 0 7%, #e84c8a 7% 15%, #27ae8f 15% 25%, #6f3cff 25% 34%, #2d9cdb 34% 45%,
    #f2c94c 45% 55%, #eb5757 55% 64%, #27ae8f 64% 74%, #6f3cff 74% 85%, #e84c8a 85% 100%
  );
}
.bar-chart {
  display: flex; align-items: flex-end; justify-content: space-around; gap: 10px;
  height: 210px; width: 100%; padding-top: 8px; border-bottom: 1px solid #eceaf6;
}
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; height: 100%; gap: 6px; }
.bar { width: 60%; max-width: 42px; min-height: 4px; border-radius: 6px 6px 0 0; transition: height .3s; }
.bar-col small { font-size: 10px; color: #8b88a3; text-align: center; line-height: 1.1; }

.academy-main { display: grid; grid-template-columns: 2.4fr 1fr; gap: 18px; margin-bottom: 22px; }
.academy-courses-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.academy-search input {
  padding: 9px 14px; border-radius: 24px; border: 1px solid #e2e1ef; background: #f7f6fc; font: inherit; min-width: 220px;
}
.course-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.course-card {
  background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 10px 26px rgba(63,55,120,.08); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(63,55,120,.16); }
.course-card-cover {
  position: relative; height: 118px; display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, #fff), color-mix(in srgb, var(--c) 6%, #fff));
}
.course-mark {
  font-size: 52px; font-weight: 900; color: var(--c); line-height: 1;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 60%, #1f1d2e);
}
.course-cover-title {
  position: absolute; bottom: 8px; left: 10px; right: 10px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px; color: var(--c); text-align: center;
}
.course-card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.course-card-body h4 { margin: 0; font-size: 14px; line-height: 1.3; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #8b88a3; }
.course-progress { height: 7px; border-radius: 6px; background: #ececf6; overflow: hidden; }
.course-progress i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--brand, #6f3cff), var(--accent, #d63aff)); }
.course-foot { font-size: 12px; font-weight: 700; color: #5a5780; }

.academy-reminders { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px rgba(63,55,120,.08); }
.reminder-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.reminder-item { display: flex; gap: 12px; align-items: flex-start; }
.reminder-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: #fff2e0; color: #f5821f; font-size: 12px;
}
.reminder-item strong { display: block; font-size: 13px; line-height: 1.25; }
.reminder-item small { color: #8b88a3; font-size: 12px; }
.reminder-item small b { color: var(--brand, #6f3cff); }

@media (max-width: 1100px) {
  .academy-charts { grid-template-columns: 1fr; }
  .academy-main { grid-template-columns: 1fr; }
}

/* === Kurs video oynatıcı (LMS player) === */
.player-body { margin: 0; background: #eef0f4; color: #23202f; }
.player-shell { display: flex; flex-direction: column; height: 100vh; }
.player-topbar {
  display: flex; align-items: center; gap: 16px; background: #fff; padding: 10px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06); flex: 0 0 auto;
}
.player-brand img { height: 34px; width: auto; display: block; }
.player-title { flex: 1; text-align: center; margin: 0; font-size: 17px; font-weight: 800; color: #2f2c4a; text-transform: uppercase; letter-spacing: .5px; }
.player-top-actions { display: flex; align-items: center; gap: 14px; }
.player-progress-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6a6790; }
.player-progress-chip .ring { width: 30px; height: 30px; transform: rotate(0deg); }
.ring-bg { fill: none; stroke: #e7e5f1; stroke-width: 3.5; }
.ring-fill { fill: none; stroke: var(--brand, #6f3cff); stroke-width: 3.5; stroke-linecap: round; }
.player-progress-chip strong { color: #27ae8f; }
.player-back-btn {
  background: var(--brand, #6f3cff); color: #fff; border-radius: 10px; padding: 9px 16px;
  text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap;
}
.player-messages { margin: 10px 18px 0; }
.player-layout { flex: 1; display: grid; grid-template-columns: 1fr 380px; min-height: 0; }
.player-stage { padding: 18px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.player-video {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 14px;
  overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.18);
}
.player-video iframe, .player-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #fff; text-align: center; padding: 24px;
}
.player-placeholder.player-text { background: #fff; color: #23202f; overflow: auto; align-items: flex-start; text-align: left; }
.player-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.player-meta-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent, #d63aff); }
.player-meta h2 { margin: 4px 0 0; font-size: 18px; }
.player-complete-form button {
  background: #fff; border: 2px solid var(--brand, #6f3cff); color: var(--brand, #6f3cff);
  border-radius: 10px; padding: 9px 16px; font-weight: 700; cursor: pointer;
}
.player-complete-form button.is-done { background: #27ae8f; border-color: #27ae8f; color: #fff; }

.player-playlist { background: #fff; border-left: 1px solid #e7e5f1; overflow: auto; display: flex; flex-direction: column; }
.playlist-head { padding: 16px 18px; border-bottom: 1px solid #eceaf6; position: sticky; top: 0; background: #fff; z-index: 2; }
.playlist-head strong { display: block; font-size: 15px; color: var(--brand, #6f3cff); }
.playlist-head small { color: #8b88a3; font-size: 12px; }
.playlist-module { border-bottom: 1px solid #f0eef8; }
.playlist-module > summary {
  list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-weight: 700; color: #2f2c4a;
}
.playlist-module > summary::-webkit-details-marker { display: none; }
.playlist-module > summary small { color: #8b88a3; font-weight: 500; font-size: 12px; }
.playlist-module[open] > summary { background: #f7f6fc; }
.playlist-lessons { padding: 4px 0 10px; }
.playlist-lesson { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 18px; }
.playlist-lesson.active { background: #f1ecff; box-shadow: inset 3px 0 0 var(--brand, #6f3cff); }
.playlist-check { flex: 0 0 auto; display: flex; }
.check-box {
  width: 20px; height: 20px; border-radius: 5px; border: 2px solid #c8c5db; background: #fff;
  cursor: pointer; display: grid; place-items: center; font-size: 12px; color: #fff; padding: 0;
}
.check-box.checked { background: var(--brand, #6f3cff); border-color: var(--brand, #6f3cff); }
.playlist-lesson-link { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-decoration: none; color: #36334d; min-width: 0; }
.playlist-lesson-title { font-size: 13px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.playlist-lesson-type { color: var(--brand, #6f3cff); font-size: 12px; flex: 0 0 auto; }
.playlist-lesson-label { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--accent, #d63aff); }
.playlist-empty { padding: 12px 18px; color: #8b88a3; font-size: 13px; }

@media (max-width: 900px) {
  .player-layout { grid-template-columns: 1fr; }
  .player-playlist { border-left: none; border-top: 1px solid #e7e5f1; max-height: 50vh; }
  .player-title { font-size: 14px; }
}

/* === Portal içerik: ses oynatıcı === */
.player-audio-stage { aspect-ratio: auto; background: linear-gradient(135deg, var(--brand,#6f3cff), var(--accent,#d63aff)); padding: 28px; }
.audio-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.audio-cover { width: 200px; height: 200px; border-radius: 18px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.audio-cover-fallback { display: grid; place-items: center; font-size: 72px; background: rgba(255,255,255,.15); }
.audio-wrap audio { width: 100%; max-width: 520px; }

/* === Mağaza === */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.store-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(63,55,120,.08); display: flex; flex-direction: column; }
.store-cover { height: 150px; background: #f3f1fb; display: grid; place-items: center; overflow: hidden; }
.store-cover img { width: 100%; height: 100%; object-fit: cover; }
.store-cover-fallback { font-size: 48px; }
.store-card-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.store-card-body h4 { margin: 0; font-size: 15px; min-height: 38px; }
.store-price { display: flex; align-items: baseline; gap: 8px; }
.store-old { color: #b3b0c6; text-decoration: line-through; font-size: 14px; }
.store-now { color: #27ae8f; font-weight: 800; font-size: 18px; }
.store-free { color: var(--brand, #6f3cff); font-weight: 800; font-size: 16px; }
.store-buy { display: flex; gap: 8px; }
.store-buy input { width: 60px; padding: 8px; border-radius: 9px; border: 1px solid #e2e1ef; }
.store-buy button { flex: 1; }

/* === Bildirim zili === */
.bell { position: relative; }
.bell > summary { list-style: none; cursor: pointer; }
.bell > summary::-webkit-details-marker { display: none; }
.bell-button {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: #f3f1fb; font-size: 18px; border: 1px solid var(--dash-border, #e2e1ef);
}
.bell-button:hover { background: #ece9fb; }
.bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: #eb5757; color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.bell-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: 320px; max-width: 86vw;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 48px rgba(63,55,120,.22);
  border: 1px solid var(--dash-border, #e2e1ef); z-index: 60; overflow: hidden;
}
.bell-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f0eef8; }
.bell-panel-head strong { font-size: 14px; }
.bell-panel-head button { font-size: 12px; padding: 5px 10px; }
.bell-list { max-height: 360px; overflow: auto; }
.bell-item { padding: 11px 14px; border-bottom: 1px solid #f4f3fa; display: flex; flex-direction: column; gap: 2px; }
.bell-item.unread { background: #f6f3ff; }
.bell-item-top { display: flex; align-items: center; gap: 6px; }
.bell-item-top strong { font-size: 13px; }
.bell-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #d63aff); }
.bell-item small { color: #8b88a3; font-size: 11px; }
.bell-item span { font-size: 12px; color: #4a4766; }
.bell-empty { padding: 24px 14px; text-align: center; color: #8b88a3; font-size: 13px; }
.bell-all { display: block; text-align: center; padding: 11px; font-weight: 700; font-size: 13px; color: var(--brand, #6f3cff); text-decoration: none; border-top: 1px solid #f0eef8; }
.bell-all:hover { background: #f7f6fc; }

/* === Öğrenci anasayfa kart renklendirme === */
.chart-card { position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.chart-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand, #6f3cff), var(--accent, #d63aff));
}
.chart-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(63,55,120,.16); }
.chart-card h3 { color: #3a3658; }
.reminder-icon-accent { background: #fdeafff0; color: var(--accent, #d63aff); }
.reminder-item { padding: 8px; border-radius: 12px; transition: background .15s; }
.reminder-item:hover { background: #f7f6fc; }
.academy-reminders .panel-heading h2 { font-size: 15px; }
/* Anasayfadaki alt paneller için yumuşak üst renk vurgusu */
.dashboard-main .dashboard-panel { position: relative; }

/* === Öğrenci anasayfa: tüm panellere renkli görünüm === */
.portal-home .dashboard-panel {
  position: relative; overflow: hidden; border-radius: 18px;
  box-shadow: 0 10px 26px rgba(63,55,120,.08); transition: transform .15s, box-shadow .15s;
  border: 1px solid #efedf8;
}
.portal-home .dashboard-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand, #6f3cff), var(--accent, #d63aff));
}
.portal-home .dashboard-panel:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(63,55,120,.14); }
.portal-home .dashboard-panel .panel-heading h2 { color: #3a3658; }
.portal-home .dashboard-panel .panel-heading span { color: var(--accent, #d63aff); font-weight: 700; }
/* Tablo başlık satırına yumuşak renk */
.portal-home .dashboard-table thead th { background: #f6f4fd; color: #5a5780; }
.portal-home .dashboard-table tbody tr:hover { background: #faf9ff; }

/* === AI ders asistanı === */
.ai-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 62px; height: 62px;
  border-radius: 50%; border: none; cursor: pointer; color: #fff; font-size: 26px;
  background: var(--brand-gradient, linear-gradient(135deg, var(--brand, #6f3cff), var(--accent, #d63aff)));
  box-shadow: 0 12px 30px rgba(111, 60, 255, .35);
  display: grid; place-items: center; animation: ai-bounce 2.4s ease-in-out infinite;
}
.ai-fab:hover { transform: scale(1.06); }
.ai-fab-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 var(--brand, rgba(111,60,255,.5));
  animation: ai-pulse 2s infinite;
}
@keyframes ai-pulse {
  0%   { box-shadow: 0 0 0 0    var(--brand, rgba(111,60,255,.5)); }
  70%  { box-shadow: 0 0 0 16px transparent; }
  100% { box-shadow: 0 0 0 0    transparent; }
}
@keyframes ai-bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
.ai-modal { position: fixed; inset: 0; z-index: 90; background: rgba(20,18,40,.35); display: flex; align-items: flex-end; justify-content: flex-end; padding: 20px; }
.ai-modal[hidden] { display: none; }
.ai-modal-card { width: 420px; max-width: 94vw; height: 70vh; max-height: 620px; background: #fff; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.ai-modal-head {
  background: var(--brand-gradient, linear-gradient(135deg, var(--brand, #6f3cff), var(--accent, #d63aff)));
  color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
}
.ai-modal-head strong { font-size: 16px; }
.ai-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.ai-messages { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f8fa; }
.ai-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.ai-msg-bot { background: #fff; border: 1px solid #e8e6f0; align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg-user { background: linear-gradient(135deg, var(--brand,#6f3cff), var(--accent,#d63aff)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #eee; background: #fff; }
.ai-input-row textarea { flex: 1; resize: none; border: 1px solid #d9d7e6; border-radius: 12px; padding: 10px 12px; font: inherit; max-height: 100px; }
.ai-input-row button {
  background: var(--brand, #6f3cff); color: #fff; border: none;
  border-radius: 12px; padding: 0 18px; font-weight: 700; cursor: pointer;
}
.ai-input-row button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px){ .ai-modal { padding: 0; } .ai-modal-card { width: 100%; height: 100%; max-height: none; border-radius: 0; } }

/* === AI asistanı: sevimli robot + dosya ekleme === */
.ai-fab-bot { width: 38px; height: 38px; display: block; }
.ai-fab:hover .ai-fab-bot { animation: ai-wiggle .6s ease-in-out; }
@keyframes ai-wiggle { 0%,100%{transform:rotate(0);} 25%{transform:rotate(-8deg);} 75%{transform:rotate(8deg);} }
.ai-attach {
  flex: 0 0 auto; width: 42px; border: 1px solid #d9d7e6; background: #f3f1fb; border-radius: 12px;
  font-size: 18px; cursor: pointer;
}
.ai-attach:hover { background: #ece9fb; }
.ai-attach:disabled { opacity: .5; cursor: not-allowed; }
.ai-file-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #eef9f4; color: #0e8e6d; font-size: 12px; }
.ai-file-chip button { background: none; border: none; color: #0e8e6d; font-size: 16px; cursor: pointer; }

/* === Sınav performansı yatay şerit === */
.exam-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 4px; }
.exam-chip {
  flex: 0 0 auto; min-width: 170px; background: #faf9ff; border: 1px solid #ece9fb;
  border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
.exam-chip-title { font-size: 13px; color: #2f2c4a; line-height: 1.25; }
.exam-chip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.exam-chip-stats span { display: flex; flex-direction: column; font-size: 11px; color: #8b88a3; }
.exam-chip-stats span b { font-size: 16px; color: #3a3658; }
.exam-chip-score b { color: #27ae8f; }

/* === Öğrenci anasayfa: alt kartlar 2'li 2'li === */
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 760px) { .portal-grid { grid-template-columns: 1fr; } }

/* === Öğrencilerim: sınıf kartları === */
.my-classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 18px; }
.class-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 180px; padding: 18px; border-radius: 18px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #6d5dfb 0%, #8b6dfc 60%, #b18cff 100%);
  color: #fff; box-shadow: 0 10px 24px -12px rgba(109,93,251,.55);
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
}
.class-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
  background: rgba(255,255,255,.12); border-radius: 50%; pointer-events: none;
}
.class-card:nth-child(4n+2) { background: linear-gradient(135deg, #1fb6a6 0%, #36c7ad 60%, #7adfc9 100%); box-shadow: 0 10px 24px -12px rgba(31,182,166,.55); }
.class-card:nth-child(4n+3) { background: linear-gradient(135deg, #ff7a59 0%, #ff9a76 60%, #ffc09e 100%); box-shadow: 0 10px 24px -12px rgba(255,122,89,.55); }
.class-card:nth-child(4n+4) { background: linear-gradient(135deg, #2b6df0 0%, #4f8bff 60%, #88b3ff 100%); box-shadow: 0 10px 24px -12px rgba(43,109,240,.55); }
.class-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.35); }
.class-card-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.class-card-avatar {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; letter-spacing: .5px;
  backdrop-filter: blur(4px);
}
.class-card-badge {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.22); color: #fff; letter-spacing: .3px;
}
.class-card-body { position: relative; z-index: 1; margin-top: 16px; }
.class-card-body h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.class-card-meta { margin: 0; opacity: .85; font-size: 13px; }
.class-card-footer {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22); font-size: 14px;
}
.class-card-count strong { font-size: 18px; }
.class-card-arrow { font-size: 20px; transition: transform .15s ease; }
.class-card:hover .class-card-arrow { transform: translateX(4px); }
.class-card-empty { background: #f5f6fb; color: #444; box-shadow: none; }
.class-card-empty h3 { color: #222; }

/* === Öğrenci Detayı (öğretmen görünümü) === */
.detail-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; background: #6d5dfb; color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s;
}
.detail-btn:hover { background: #5a48f0; }
.detail-btn-outline { background: transparent; color: #6d5dfb; border: 1px solid #6d5dfb; }
.detail-btn-outline:hover { background: #6d5dfb; color: #fff; }

.student-detail-hero {
  display: flex; align-items: center; gap: 18px; padding: 22px;
  background: linear-gradient(135deg, #f6f3ff 0%, #ecefff 100%);
  border-radius: 18px; margin: 18px 0;
}
.student-detail-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #6d5dfb 0%, #b18cff 100%);
  color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 8px 18px -8px rgba(109,93,251,.55);
}
.student-detail-info { flex: 1; }
.student-detail-info h1 { margin: 4px 0 6px; font-size: 24px; }
.student-detail-info p { margin: 0; color: #555; font-size: 14px; }

.student-meta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin-bottom: 16px;
}
.student-meta-card {
  padding: 14px 16px; background: #fff; border: 1px solid #ecebf3;
  border-radius: 12px; display: flex; flex-direction: column; gap: 4px;
}
.student-meta-card span { font-size: 11px; text-transform: uppercase; color: #888; letter-spacing: .5px; }
.student-meta-card strong { font-size: 15px; color: #222; }

.student-stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.student-stat-card {
  position: relative; padding: 18px; border-radius: 16px; color: #fff;
  overflow: hidden; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
}
.student-stat-card span { font-size: 12px; opacity: .9; letter-spacing: .3px; text-transform: uppercase; }
.student-stat-card strong { display: block; font-size: 30px; font-weight: 700; margin: 6px 0 2px; }
.student-stat-card small { font-size: 12px; opacity: .85; }
.stat-blue   { background: linear-gradient(135deg, #2b6df0 0%, #4f8bff 100%); }
.stat-red    { background: linear-gradient(135deg, #e94560 0%, #ff7a8a 100%); }
.stat-purple { background: linear-gradient(135deg, #6d5dfb 0%, #b18cff 100%); }
.stat-green  { background: linear-gradient(135deg, #1fb6a6 0%, #36c7ad 100%); }

.status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.status-present { background: #e0f7ee; color: #1a7f56; }
.status-absent  { background: #fde0e4; color: #b1303f; }
.status-late    { background: #fff2d6; color: #a86a00; }
.status-excused { background: #e6e9ff; color: #4a4dbf; }
.status-assignment-assigned    { background: #e6e9ff; color: #4a4dbf; }
.status-assignment-in_progress { background: #fff2d6; color: #a86a00; }
.status-assignment-submitted   { background: #d8f0ff; color: #1c6ea4; }
.status-assignment-completed   { background: #e0f7ee; color: #1a7f56; }
.status-assignment-missing     { background: #fde0e4; color: #b1303f; }

.status-attempt-in_progress { background: #fff2d6; color: #a86a00; }
.status-attempt-submitted   { background: #e0f7ee; color: #1a7f56; }
.status-attempt-expired     { background: #fde0e4; color: #b1303f; }

/* === Sınav oluşturucu form === */
.exam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0; }
.exam-grid > div { display: flex; flex-direction: column; gap: 4px; }
.exam-grid-wide { grid-column: 1 / -1; }
.exam-grid input[type="text"], .exam-grid input[type="number"], .exam-grid input[type="datetime-local"], .exam-grid select, .exam-grid textarea {
  padding: 8px 10px; border: 1px solid #d8d6e3; border-radius: 8px; font-size: 14px;
}
.exam-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; padding: 8px; border: 1px solid #ecebf3; border-radius: 8px; max-height: 200px; overflow-y: auto; background: #faf9ff; }
.exam-checks label { display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* === Sınav listesi aksiyon butonları === */
.exam-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.exam-action-btn {
  padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: opacity .15s;
}
.exam-action-btn:hover { opacity: .85; }
.act-edit        { background: #2b6df0; color: #fff; }
.act-questions   { background: #6d5dfb; color: #fff; }
.act-leaderboard { background: #1fb6a6; color: #fff; }
.act-delete      { background: #e94560; color: #fff; }

/* === Soru havuzu kart ızgarası === */
.exam-question-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.exam-question-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.exam-question-strip .exam-question-card { min-width: 240px; }
.exam-question-card {
  background: #fff; border: 1px solid #ecebf3; border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.exam-question-card.in-exam { background: #f0fff7; border-color: #b6e5d0; }
.exam-question-card.already-added { opacity: .6; }
.exam-question-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #555; }
.exam-question-card img { width: 100%; max-height: 180px; object-fit: contain; background: #f7f6fb; border-radius: 8px; }
.exam-question-text { font-size: 13px; margin: 0; color: #333; }
.exam-question-meta { display: flex; gap: 10px; font-size: 11px; color: #666; flex-wrap: wrap; }
.exam-question-pick { display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; }

/* === Başarı sıralaması ilk 3 vurgusu === */
.dashboard-table tr.rank-1 td { background: linear-gradient(90deg, #fff7d6 0%, #fffdf3 100%); }
.dashboard-table tr.rank-2 td { background: linear-gradient(90deg, #eef0f4 0%, #fafbfc 100%); }
.dashboard-table tr.rank-3 td { background: linear-gradient(90deg, #fbe5d6 0%, #fff7ef 100%); }

/* === Kazanım Ekle yatay şerit === */
.outcome-add-strip { margin-top: 12px; }
.outcome-add-strip h2 { margin-bottom: 10px; }
.outcome-add-form p { display: inline-block; margin: 0 10px 8px 0; vertical-align: top; }
.outcome-add-form p label { display: block; font-size: 12px; color: #555; margin-bottom: 4px; }
.outcome-add-form p input, .outcome-add-form p select, .outcome-add-form p textarea {
  padding: 7px 10px; border: 1px solid #d8d6e3; border-radius: 8px; font-size: 13px; min-width: 180px;
}
.outcome-add-form button { margin-top: 6px; vertical-align: top; }

/* === PDF testi sorulara böl vurgu kartı === */
.pdf-split-highlight {
  background: linear-gradient(135deg, #faf6ff 0%, #f0e8ff 100%);
  border: 1px solid #d9c8ff; box-shadow: 0 8px 24px -16px rgba(109,93,251,.4);
  margin-top: 12px;
}
.pdf-split-highlight h2 { color: #5a48f0; }

/* === Öğretmen anasayfası: profesyonel düzen === */
.teacher-home { padding-bottom: 40px; }
.teacher-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 18px 0; padding: 28px 32px;
  background: linear-gradient(120deg, #1a1f3a 0%, #2c2964 50%, #5b3fb8 100%);
  color: #fff; border-radius: 22px; box-shadow: 0 18px 40px -20px rgba(28,28,90,.55);
  position: relative; overflow: hidden;
}
.teacher-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); pointer-events: none;
}
.teacher-hero .dashboard-eyebrow { color: rgba(255,255,255,.7); }
.teacher-hero h1 { font-size: 28px; margin: 6px 0 8px; }
.teacher-hero p { margin: 0; color: rgba(255,255,255,.85); }
.teacher-hero-day {
  background: rgba(255,255,255,.14); padding: 14px 20px; border-radius: 16px;
  text-align: center; backdrop-filter: blur(6px); min-width: 88px;
}
.teacher-hero-day strong { display: block; font-size: 32px; font-weight: 700; line-height: 1; }
.teacher-hero-day span { font-size: 12px; opacity: .85; text-transform: uppercase; letter-spacing: 1px; }

/* KPI ızgarası */
.teacher-kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.teacher-kpi-card {
  background: #fff; border-radius: 16px; padding: 18px 20px;
  border: 1px solid #ecebf3; position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.teacher-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,0,0,.2); }
.teacher-kpi-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
}
.teacher-kpi-card.kpi-1::before { background: linear-gradient(180deg, #6d5dfb, #b18cff); }
.teacher-kpi-card.kpi-2::before { background: linear-gradient(180deg, #1fb6a6, #36c7ad); }
.teacher-kpi-card.kpi-3::before { background: linear-gradient(180deg, #ff7a59, #ffb18c); }
.teacher-kpi-card.kpi-4::before { background: linear-gradient(180deg, #2b6df0, #4f8bff); }
.kpi-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.kpi-value { display: block; font-size: 32px; font-weight: 700; margin: 4px 0; color: #1a1f3a; }
.kpi-desc { font-size: 12px; color: #666; }

/* Hızlı eylemler */
.teacher-quick-actions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-bottom: 18px;
}
.quick-action-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 14px; border-radius: 14px; text-decoration: none;
  color: #fff; gap: 6px; font-weight: 600; transition: transform .15s ease;
}
.quick-action-btn:hover { transform: translateY(-2px); }
.qa-icon { font-size: 26px; }
.qa-label { font-size: 13px; }
.qa-violet { background: linear-gradient(135deg, #6d5dfb, #b18cff); }
.qa-blue   { background: linear-gradient(135deg, #2b6df0, #4f8bff); }
.qa-coral  { background: linear-gradient(135deg, #e94560, #ff7a8a); }
.qa-teal   { background: linear-gradient(135deg, #1fb6a6, #36c7ad); }
.qa-gold   { background: linear-gradient(135deg, #d99a00, #f6c34c); }
.qa-indigo { background: linear-gradient(135deg, #3a2f80, #6d5dfb); }

/* Panel grid */
.teacher-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.teacher-panel {
  background: #fff; border-radius: 16px; border: 1px solid #ecebf3;
  padding: 18px 20px; box-shadow: 0 6px 18px -14px rgba(0,0,0,.15);
}
.teacher-panel.panel-wide { grid-column: 1 / -1; }
.teacher-panel .panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.teacher-panel h2 { font-size: 15px; margin: 0; color: #1a1f3a; font-weight: 700; }
.teacher-panel .panel-heading span, .teacher-panel .panel-heading a { font-size: 12px; color: #6d5dfb; }

/* Bugünün programı */
.today-schedule { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.today-schedule li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: #f7f6fb; border-radius: 12px;
  border-left: 3px solid #6d5dfb;
}
.time-chip { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.time-chip strong { font-size: 14px; color: #1a1f3a; }
.time-chip span { font-size: 11px; color: #888; }
.schedule-info { display: flex; flex-direction: column; }
.schedule-info strong { font-size: 14px; color: #222; }
.schedule-info span { font-size: 12px; color: #666; }

/* Mini sınıf kartları */
.my-classes-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mini-class-card {
  padding: 12px; border-radius: 12px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; gap: 2px; transition: transform .15s;
}
.mini-class-card:hover { transform: translateY(-2px); }
.mini-class-card.mc-a { background: linear-gradient(135deg, #6d5dfb, #8b6dfc); }
.mini-class-card.mc-b { background: linear-gradient(135deg, #1fb6a6, #36c7ad); }
.mini-class-card strong { font-size: 16px; }
.mini-class-card span { font-size: 11px; opacity: .85; }

/* Bekleyen ödevler */
.pending-list, .upcoming-list, .exam-mini-list, .attendance-mini, .ann-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
}
.pending-list li, .upcoming-list li, .exam-mini-list li, .attendance-mini li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; background: #faf9ff; border-radius: 10px;
}
.pending-list li strong, .upcoming-list li strong, .exam-mini-list li strong, .attendance-mini li strong { display: block; font-size: 13px; color: #1a1f3a; }
.pending-list li span, .upcoming-list li span, .exam-mini-list li span, .attendance-mini li span { font-size: 11px; }

.due-chip, .att-date {
  background: linear-gradient(135deg, #ff7a59, #ffb18c); color: #fff;
  padding: 8px 12px; border-radius: 10px; text-align: center; min-width: 56px;
  font-size: 12px; font-weight: 600;
}
.att-date { background: linear-gradient(135deg, #2b6df0, #4f8bff); }
.due-chip small { display: block; font-size: 10px; opacity: .85; font-weight: 500; }

.ann-list li {
  padding: 12px; background: #fbfafe; border-radius: 10px;
  border-left: 3px solid #1fb6a6;
}
.ann-list li strong { display: block; font-size: 13px; margin-bottom: 4px; color: #1a1f3a; }

/* === Toplu mesaj hedef seçimi === */
.bulk-target-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px; margin: 8px 0 12px;
}
.bulk-target-card {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 1px solid #ecebf3; border-radius: 10px;
  background: #faf9ff; cursor: pointer; font-size: 13px;
  transition: background .15s, border-color .15s;
}
.bulk-target-card:hover { background: #f0edff; border-color: #b18cff; }
.bulk-target-card input[type="checkbox"]:checked + span { color: #5a48f0; font-weight: 600; }
.bulk-individual-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px; padding: 10px; background: #f7f6fb; border-radius: 10px;
  max-height: 260px; overflow-y: auto; margin-top: 8px;
}
.bulk-individual-item { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px; }

/* === Sidebar emoji ikonlar (öğrenci portalı) === */
.rail-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; font-size: 15px;
  margin-right: 6px; flex-shrink: 0;
  line-height: 1;
}

/* === Süperadmin anasayfası === */
.superadmin-home { padding-bottom: 40px; }
.superadmin-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 18px 0; padding: 28px 32px;
  background: linear-gradient(120deg, #0f172a 0%, #1e1b4b 45%, #6d28d9 100%);
  color: #fff; border-radius: 22px; box-shadow: 0 18px 40px -20px rgba(15,23,42,.55);
  position: relative; overflow: hidden;
}
.superadmin-hero::before {
  content: ''; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(168,85,247,.25), transparent 70%);
  pointer-events: none;
}
.superadmin-hero::after {
  content: ''; position: absolute; left: 40%; bottom: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(56,189,248,.18), transparent 70%);
  pointer-events: none;
}
.superadmin-hero .dashboard-eyebrow { color: rgba(255,255,255,.75); }
.superadmin-hero h1 { font-size: 28px; margin: 6px 0 8px; position: relative; z-index: 1; }
.superadmin-hero p { margin: 0; color: rgba(255,255,255,.85); position: relative; z-index: 1; }

.superadmin-mini-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 18px;
}
.mini-stat {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #fff; border-radius: 14px;
  border: 1px solid #ecebf3;
}
.mini-stat > span:first-child {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe); font-size: 20px;
}
.mini-stat strong { display: block; font-size: 22px; color: #1a1f3a; font-weight: 700; line-height: 1.1; }
.mini-stat small { font-size: 11px; color: #666; }

.superadmin-actions { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }

/* === Aylık raporlar bar chart === */
.monthly-chart {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px;
  align-items: end; height: 240px; margin: 16px 0 8px;
  padding: 12px; background: #faf9ff; border-radius: 12px;
}
.monthly-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.monthly-bar-col small { font-size: 10px; color: #666; text-align: center; line-height: 1.2; }
.monthly-bars {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; width: 100%; min-height: 12px;
}
.monthly-bars .bar {
  width: 14px; min-height: 2px; border-radius: 4px 4px 0 0;
  position: relative; transition: opacity .15s;
}
.monthly-bars .bar:hover { opacity: .85; }
.monthly-bars .bar span {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #555; font-weight: 600;
}
.bar-students { background: linear-gradient(180deg, #6d5dfb, #b18cff); }
.bar-users { background: linear-gradient(180deg, #1fb6a6, #36c7ad); }
.monthly-legend {
  display: flex; gap: 18px; justify-content: center; margin-top: 4px; font-size: 12px; color: #555;
}
.monthly-legend .dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle;
}
.dot-students { background: linear-gradient(180deg, #6d5dfb, #b18cff); }
.dot-users { background: linear-gradient(180deg, #1fb6a6, #36c7ad); }

/* === Program Yönetimi: Excel akıllı akış === */
.program-hero {
  background: linear-gradient(120deg, #0f172a 0%, #312e81 50%, #6d28d9 100%);
  color: #fff; padding: 28px 32px; border-radius: 22px;
  margin: 18px 0; position: relative; overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(15,23,42,.55);
}
.program-hero::before {
  content: ''; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(168,85,247,.25), transparent 70%);
}
.program-hero .dashboard-eyebrow { color: rgba(255,255,255,.75); position: relative; }
.program-hero h1 { font-size: 26px; margin: 6px 0 8px; position: relative; }
.program-hero > div { position: relative; z-index: 1; }
.program-hero p { margin: 0 0 16px; color: rgba(255,255,255,.85); max-width: 720px; position: relative; }

.program-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.program-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 12px;
  font-weight: 600; text-decoration: none; backdrop-filter: blur(8px);
  transition: background .15s;
}
.program-upload-btn:hover { background: rgba(255,255,255,.28); }
.program-upload-btn span { font-size: 20px; }

.program-hero-flow {
  display: flex; align-items: center; gap: 8px; margin-top: 20px;
  flex-wrap: wrap; position: relative;
}
.flow-step {
  background: rgba(255,255,255,.12); padding: 10px 14px; border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px; min-width: 110px;
}
.flow-step strong { font-size: 18px; color: #fbbf24; }
.flow-step span { font-size: 11px; opacity: .9; }
.program-hero-flow i { font-style: normal; opacity: .6; font-size: 18px; }

/* Step badge başlıklarda */
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #6d5dfb, #b18cff); color: #fff;
  font-size: 13px; font-weight: 700; margin-right: 8px;
}

/* İki kolon: form solda, liste/grid sağda */
.program-split {
  display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 20px; margin-top: 12px;
}
@media (max-width: 900px) { .program-split { grid-template-columns: 1fr; } }
.program-side-form p { margin: 0 0 10px; }
.program-side-list h3 { margin-top: 0; font-size: 14px; color: #555; }

.program-advanced-wrap {
  background: #fafafd; border: 1px solid #ecebf3; border-radius: 14px;
  padding: 14px 18px; margin-top: 16px;
}
.program-advanced-wrap > summary { cursor: pointer; font-size: 14px; padding: 4px 0; }
.program-advanced-wrap[open] > summary { margin-bottom: 12px; }

/* === Finans birleşik form === */
.finance-combo-card { background: linear-gradient(180deg, #ffffff, #faf9ff); }
.finance-combo-form .finance-fieldset {
  border: 1px solid #ecebf3; border-radius: 12px; padding: 14px 16px; margin: 12px 0;
}
.finance-combo-form .finance-fieldset legend {
  font-size: 13px; font-weight: 700; color: #5a48f0; padding: 0 8px;
}
.finance-combo-form .finance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.finance-combo-form .finance-grid > div { display: flex; flex-direction: column; gap: 4px; }
.finance-combo-form .finance-grid label { font-size: 12px; color: #555; }
.finance-combo-form input, .finance-combo-form select, .finance-combo-form textarea {
  padding: 8px 10px; border: 1px solid #d8d6e3; border-radius: 8px; font-size: 14px; width: 100%;
}
.finance-combo-submit {
  margin-top: 14px; padding: 12px 24px; font-size: 15px; font-weight: 600;
}

/* === Vade Hatırlatma paneli === */
.reminder-panel {
  background: linear-gradient(180deg, #fff, #fffaf3);
  border: 1px solid #ffe6c2;
}
.reminder-panel > summary {
  cursor: pointer; padding: 8px 0; font-size: 15px;
  list-style: none;
}
.reminder-panel > summary::marker, .reminder-panel > summary::-webkit-details-marker {
  display: none;
}
.reminder-fieldset {
  border: 1px solid #ecebf3; border-radius: 10px; padding: 12px 14px; margin: 10px 0;
}
.reminder-fieldset legend { font-weight: 700; color: #b45309; font-size: 13px; padding: 0 6px; }
.reminder-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.reminder-opt {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border: 1px solid #ecebf3; border-radius: 10px;
  background: #fff; cursor: pointer; transition: all .15s;
}
.reminder-opt:hover { border-color: #f59e0b; background: #fff8eb; }
.reminder-opt input { margin-top: 3px; }
.reminder-opt span { display: flex; flex-direction: column; gap: 2px; }
.reminder-opt span strong { font-size: 13px; color: #1a1f3a; }
.reminder-opt span small { font-size: 11px; color: #777; }
.reminder-opt input:checked ~ span strong { color: #b45309; }
.reminder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.reminder-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #555; }
.reminder-grid input, .reminder-grid select { padding: 8px 10px; border: 1px solid #d8d6e3; border-radius: 8px; }

/* === Vade hatırlatma radio düzeltme === */
.reminder-opt {
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: row !important;
}
.reminder-opt input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 3px 10px 0 0 !important;
  flex-shrink: 0 !important;
  appearance: auto !important;
  -webkit-appearance: radio !important;
  padding: 0 !important;
  border: 1px solid #999 !important;
  border-radius: 50% !important;
  background: #fff !important;
}
.reminder-opt > span {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 3px !important;
}
.reminder-opt > span strong { display: block !important; }
.reminder-opt > span small { display: block !important; margin-top: 2px !important; }

/* === Tahsilat özet kartları === */
.collection-summary-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 16px 0;
}
.collection-card {
  padding: 18px 20px; border-radius: 14px; color: #fff;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.25);
}
.collection-card span { font-size: 12px; opacity: .9; text-transform: uppercase; letter-spacing: .4px; }
.collection-card strong { display: block; font-size: 26px; font-weight: 700; margin: 6px 0 2px; }
.collection-card small { font-size: 11px; opacity: .85; }
.collection-total { background: linear-gradient(135deg, #2b6df0, #4f8bff); }
.collection-paid { background: linear-gradient(135deg, #1fb6a6, #36c7ad); }
.collection-out { background: linear-gradient(135deg, #ff7a59, #ffb18c); }
.collection-rate { background: linear-gradient(135deg, #6d5dfb, #b18cff); }
.rate-bar {
  height: 6px; background: rgba(255,255,255,.25); border-radius: 999px;
  margin: 8px 0 4px; overflow: hidden;
}
.rate-bar i { display: block; height: 100%; background: #fff; border-radius: 999px; transition: width .3s; }

/* === Aylık tahsilat grafiği === */
.ledger-chart {
  display: grid; grid-template-columns: repeat(13, 1fr); gap: 6px;
  align-items: end; height: 260px; padding: 14px 12px;
  background: linear-gradient(180deg, #faf9ff, #fff);
  border-radius: 12px; margin: 12px 0;
}
.ledger-bar-col {
  display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%;
}
.ledger-bar-col.is-current { background: rgba(109,93,251,.05); border-radius: 8px; padding: 0 2px; }
.ledger-bar-col.is-future small { color: #6d5dfb; font-weight: 600; }
.ledger-bar-col small { font-size: 10px; color: #555; text-align: center; line-height: 1.2; }
.ledger-bars {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  gap: 2px; width: 100%;
}
.ledger-bars .lbar {
  width: 10px; min-height: 2px; border-radius: 3px 3px 0 0;
  position: relative; transition: opacity .15s;
}
.ledger-bars .lbar:hover { opacity: .8; }
.ledger-bars .lbar span {
  display: none;
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #444; font-weight: 600; white-space: nowrap;
}
.ledger-bars .lbar:hover span { display: block; }
.lbar-collected { background: linear-gradient(180deg, #1fb6a6, #36c7ad); }
.lbar-planned { background: linear-gradient(180deg, #6d5dfb, #b18cff); }
.lbar-overdue { background: linear-gradient(180deg, #e94560, #ff7a8a); }
.ledger-legend {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; color: #555;
}
.ledger-legend .dot {
  display: inline-block; width: 11px; height: 11px; border-radius: 3px;
  margin-right: 6px; vertical-align: middle;
}
.dot-collected { background: linear-gradient(180deg, #1fb6a6, #36c7ad); }
.dot-planned { background: linear-gradient(180deg, #6d5dfb, #b18cff); }
.dot-overdue { background: linear-gradient(180deg, #e94560, #ff7a8a); }

/* === Aylık tahsilat grafiği — güçlendirilmiş kurallar === */
.form-panel .ledger-chart, .ledger-chart {
  display: grid !important;
  grid-template-columns: repeat(13, 1fr) !important;
  gap: 6px !important;
  align-items: end !important;
  height: 260px !important;
  padding: 14px 12px !important;
  background: linear-gradient(180deg, #faf9ff, #fff) !important;
  border-radius: 12px !important;
  margin: 12px 0 !important;
}
.ledger-bar-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  height: 100% !important;
}
.ledger-bars {
  flex: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-height: 12px !important;
}
.ledger-bars .lbar {
  display: block !important;
  width: 10px !important;
  min-height: 4px !important;
  border-radius: 3px 3px 0 0 !important;
  position: relative !important;
}
.ledger-bars .lbar > span {
  display: none !important;
}
.ledger-bars .lbar:hover > span {
  display: block !important;
  position: absolute !important;
  top: -18px !important; left: 50% !important; transform: translateX(-50%) !important;
  font-size: 9px !important; color: #444 !important; font-weight: 600 !important;
  white-space: nowrap !important; background: #fff !important;
  padding: 2px 5px !important; border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.15) !important;
}
.ledger-bar-col small {
  font-size: 10px !important;
  color: #555 !important;
  text-align: center !important;
  line-height: 1.2 !important;
  display: block !important;
}

/* === Cari Hesap belgeler (sözleşme + ekstre) === */
.contract-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin: 12px 0;
}
.contract-card {
  padding: 16px; border-radius: 12px; background: #fff;
  border: 1px solid #ecebf3; display: flex; flex-direction: column; gap: 8px;
}
.contract-card h3 { margin: 0; font-size: 14px; color: #1a1f3a; }
.contract-card p { margin: 0; font-size: 12px; }
.contract-card input[type="file"] {
  font-size: 12px; padding: 6px; border: 1px dashed #d8d6e3;
  border-radius: 8px; width: 100%; background: #faf9ff;
}
.contract-upload { background: linear-gradient(180deg, #f0fdf4, #fff); border-color: #b6e5d0; }

.contract-upload-box {
  margin-top: 10px; padding: 14px 16px;
  background: linear-gradient(180deg, #f0fdf4, #fff);
  border: 1px dashed #b6e5d0; border-radius: 12px;
}
.contract-upload-box input[type="file"] {
  font-size: 13px; padding: 6px 8px; border: 1px dashed #b6e5d0;
  border-radius: 8px; width: 100%; background: #fff;
}

/* === Cari Hesap Belgeler — yeni kart düzeni === */
.documents-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px; margin: 12px 0;
}
.document-card {
  display: flex; gap: 14px;
  padding: 18px 20px; border-radius: 14px;
  background: #fff; border: 1px solid #ecebf3;
  box-shadow: 0 4px 14px -10px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s;
}
.document-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(0,0,0,.2); }
.document-card-primary {
  background: linear-gradient(135deg, #f6f3ff 0%, #ede9fe 100%);
  border-color: #d9c8ff;
}
.document-card-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}
.document-card-upload {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 30%, #fff7ed 100%);
  border-color: #fbbf24;
}
.document-icon {
  font-size: 36px; line-height: 1;
  flex-shrink: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.7); border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.document-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.document-body h3 {
  margin: 0; font-size: 16px; color: #1a1f3a; font-weight: 700;
}
.document-body p { margin: 0; font-size: 12.5px; }
.document-download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  background: linear-gradient(135deg, #6d5dfb, #b18cff);
  color: #fff !important; font-weight: 600; font-size: 13px;
  text-decoration: none; border: none; cursor: pointer; width: 100%;
  transition: transform .15s, opacity .15s;
}
.document-download-btn:hover { transform: scale(1.02); opacity: .95; }
.document-card-success .document-download-btn {
  background: linear-gradient(135deg, #1fb6a6, #36c7ad);
}
.document-actions {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0;
}
.document-action-btn {
  padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
}
.doc-view { background: #2b6df0; color: #fff; }
.doc-download { background: #1fb6a6; color: #fff; }
.doc-remove { background: #e94560; color: #fff; }
.document-replace {
  margin-top: 8px; padding: 8px 0 0; border-top: 1px dashed #cbd5e1;
}
.document-replace summary {
  cursor: pointer; font-size: 12px; color: #5a48f0; padding: 4px 0;
}
.document-file-label {
  display: block; position: relative; cursor: pointer; margin-bottom: 8px;
  padding: 14px; background: #fff; border: 2px dashed #cbd5e1;
  border-radius: 10px; text-align: center; transition: border-color .15s;
  font-size: 13px; color: #555;
}
.document-file-label:hover { border-color: #6d5dfb; }
.document-file-label input[type="file"] {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.document-body input[type="text"] {
  padding: 8px 10px; border: 1px solid #d8d6e3; border-radius: 8px;
  font-size: 12.5px; width: 100%; margin-bottom: 6px;
}
.document-secondary-link {
  display: block; margin-top: 12px; padding: 10px 14px;
  background: #f7f6fb; border-radius: 10px;
  font-size: 13px; color: #5a48f0; text-decoration: none;
  transition: background .15s;
}
.document-secondary-link:hover { background: #ede9fe; }

/* === Cari hesap belgeler — FORCE override === */
.dashboard-panel .documents-grid, .documents-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 16px !important;
  margin: 16px 0 !important;
}
.documents-grid .document-card, .document-card {
  display: flex !important;
  gap: 14px !important;
  padding: 20px !important;
  border-radius: 16px !important;
  border: 1px solid #ecebf3 !important;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.2) !important;
  align-items: flex-start !important;
}
.document-card-primary {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%) !important;
  border-color: #b18cff !important;
}
.document-card-success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
  border-color: #4ade80 !important;
}
.document-card-upload {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border-color: #fbbf24 !important;
}
.document-card .document-icon {
  font-size: 32px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.85) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.15) !important;
}
.document-card .document-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.document-card h3 {
  margin: 0 !important;
  font-size: 17px !important;
  color: #1a1f3a !important;
  font-weight: 700 !important;
}
.document-card p { margin: 0 !important; font-size: 13px !important; line-height: 1.5 !important; }
.document-card .document-download-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #6d5dfb, #b18cff) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: auto !important;
  margin-top: 4px !important;
}
.document-card-success .document-download-btn {
  background: linear-gradient(135deg, #1fb6a6, #36c7ad) !important;
}
.document-card .document-actions {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 4px 0 !important;
}
.document-card .document-action-btn {
  padding: 7px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: auto !important;
}
.doc-view { background: #2b6df0 !important; color: #fff !important; }
.doc-download { background: #1fb6a6 !important; color: #fff !important; }
.doc-remove { background: #e94560 !important; color: #fff !important; }
.document-card .document-file-label {
  display: block !important;
  position: relative !important;
  cursor: pointer !important;
  margin-bottom: 8px !important;
  padding: 16px 12px !important;
  background: rgba(255,255,255,.7) !important;
  border: 2px dashed #94a3b8 !important;
  border-radius: 10px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #475569 !important;
  width: auto !important;
  min-height: auto !important;
}
.document-card .document-file-label:hover { border-color: #6d5dfb !important; background: #fff !important; }
.document-card .document-file-label input[type="file"] {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  opacity: 0 !important; cursor: pointer !important;
  padding: 0 !important; border: none !important;
}
.document-card input[type="text"] {
  padding: 9px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  width: 100% !important;
  margin-bottom: 6px !important;
  background: rgba(255,255,255,.85) !important;
}
.document-card .document-replace {
  margin-top: 8px !important;
  padding: 10px 0 0 !important;
  border-top: 1px dashed #94a3b8 !important;
}
.document-card .document-replace summary {
  cursor: pointer !important;
  font-size: 12px !important;
  color: #5a48f0 !important;
  padding: 4px 0 !important;
  list-style: none !important;
}
.document-secondary-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 12px 16px !important;
  background: #f7f6fb !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: #5a48f0 !important;
  text-decoration: none !important;
  border: 1px solid #e9e6f5 !important;
}
.document-secondary-link:hover { background: #ede9fe !important; }

/* === Ödeme hareketleri tablosu: aksiyon hücreleri içeriğe sığar === */
.dashboard-table th:nth-child(8),
.dashboard-table th:nth-child(9),
.dashboard-table th:nth-child(10),
.dashboard-table td:nth-child(8),
.dashboard-table td:nth-child(9),
.dashboard-table td:nth-child(10) {
  width: 1% !important;
  white-space: nowrap !important;
}
.dashboard-table td .inline-status-form {
  max-width: none !important;
  width: max-content !important;
}

/* === Ödeme hareketleri tablosu — kompakt aksiyon hücreleri === */
.payments-table { table-layout: auto !important; }
.payments-table th:nth-child(8),
.payments-table th:nth-child(9),
.payments-table th:nth-child(10),
.payments-table td:nth-child(8),
.payments-table td:nth-child(9),
.payments-table td:nth-child(10) {
  width: 1% !important;
  white-space: nowrap !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.payments-table td .inline-status-form {
  max-width: none !important;
  width: max-content !important;
  display: inline-flex !important;
  gap: 4px !important;
}
.payments-table .inline-status-form > input[type="number"],
.payments-table .inline-status-form > input[type="text"] {
  width: 90px !important; max-width: 90px !important; min-width: 80px !important;
}
.payments-table .inline-status-form > select {
  width: 110px !important; max-width: 110px !important; min-width: 90px !important;
}

/* === Video etkinlikleri (öğrenci tarafı) === */
.video-activities {
  margin-top: 18px; padding: 18px 20px;
  background: linear-gradient(180deg, #f6f3ff, #fff);
  border-radius: 14px; border: 1px solid #e9e6f5;
}
.video-activities h3 { margin: 0 0 4px; font-size: 16px; color: #5a48f0; }
.activity-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.activity-card {
  background: #fff; border: 1px solid #ecebf3; border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s;
}
.activity-card:hover { border-color: #b18cff; }
.activity-card summary {
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  font-size: 14px; list-style: none;
}
.activity-card summary::-webkit-details-marker { display: none; }
.activity-card summary::before { content: '▶'; color: #6d5dfb; font-size: 11px; transition: transform .15s; }
.activity-card[open] summary::before { transform: rotate(90deg); }
.activity-kind-badge {
  margin-left: auto;
  padding: 3px 10px; border-radius: 999px;
  background: #ede9fe; color: #5a48f0;
  font-size: 11px; font-weight: 600;
}
.activity-body { padding: 12px 0 4px; }
.activity-q {
  background: #faf9ff; padding: 12px; border-radius: 10px;
  margin-bottom: 10px; border-left: 3px solid #6d5dfb;
}
.activity-q p { margin: 0 0 8px; font-weight: 600; color: #1a1f3a; }
.activity-q input[type="radio"] { margin-right: 4px; }
.activity-q label { margin-right: 12px; font-size: 13px; }
.activity-q input[type="text"], .activity-q textarea {
  width: 100%; padding: 8px 10px;
  border: 1px solid #d8d6e3; border-radius: 8px;
  font-size: 13px;
}
.matching-grid { display: flex; flex-direction: column; gap: 8px; }
.match-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; background: #faf9ff; border-radius: 8px;
}
.match-left { flex: 1; font-weight: 600; }
.match-row select { padding: 6px 10px; border: 1px solid #d8d6e3; border-radius: 6px; }

/* === Etkinlik soru oluşturucu (süperadmin) === */
.qbuilder {
  background: #faf9ff; border: 1px solid #ecebf3;
  border-radius: 12px; padding: 14px 16px; margin: 12px 0;
}
.qbuilder h3 { margin: 0 0 6px; font-size: 14px; color: #5a48f0; }
.qb-rows { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.qb-row {
  display: flex; gap: 8px; align-items: center;
  background: #fff; padding: 8px 10px; border-radius: 8px;
  border: 1px solid #ecebf3;
}
.qb-row > .qbf {
  flex: 1; padding: 8px 10px;
  border: 1px solid #d8d6e3; border-radius: 6px;
  font-size: 13px; min-width: 80px;
}
.qb-row > select.qbf { flex: 0 0 110px; }
.qb-row > span { color: #888; font-weight: 600; padding: 0 4px; }
.add-q-btn {
  padding: 8px 14px; background: #6d5dfb; color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600;
}
.add-q-btn:hover { background: #5a48f0; }
.del-q-btn {
  padding: 4px 8px; background: #fde0e4; color: #b1303f;
  border: none; border-radius: 6px; cursor: pointer;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.del-q-btn:hover { background: #fbc2cc; }

/* === Çoktan seçmeli soru builder === */
.qb-mc-row {
  background: #fff !important;
  padding: 12px !important;
  border: 2px solid #ecebf3 !important;
  border-radius: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.qb-mc-q-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #1a1f3a;
}
.qb-mc-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 4px;
}
.qb-mc-opt {
  display: flex !important; align-items: center; gap: 6px;
  padding: 6px 8px; background: #faf9ff; border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer; font-size: 13px;
}
.qb-mc-opt:has(input:checked) {
  background: #ddd6fe;
  border-color: #6d5dfb;
  font-weight: 600;
}
.qb-mc-letter {
  font-weight: 700; color: #5a48f0; min-width: 20px;
}
.qb-mc-opt input[type="radio"] { flex-shrink: 0; }
.qb-mc-opt .qbf-opt {
  flex: 1; padding: 5px 8px;
  border: 1px solid #d8d6e3; border-radius: 5px;
  font-size: 12px; background: #fff;
}

/* Öğrenci tarafı: çoktan seçmeli seçenekler */
.mc-option {
  display: block !important; padding: 8px 12px; margin: 4px 0;
  background: #faf9ff; border-radius: 8px;
  border: 1px solid #ecebf3; cursor: pointer; font-size: 13px;
  transition: all .15s;
}
.mc-option:hover { background: #ede9fe; border-color: #b18cff; }
.mc-option input[type="radio"] { margin-right: 8px; }

/* === Öğretmen video etkinlik listesi (read-only) === */
.teacher-activity-list {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.teacher-activity-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff;
  border: 1px solid #ecebf3; border-radius: 8px;
  font-size: 13px;
}
.teacher-activity-item .activity-kind-badge {
  flex-shrink: 0;
}
.teacher-activity-item strong { color: #1a1f3a; }

/* === Etkinlik göster/gizle butonu === */
.video-activities-toggle { margin-top: 14px; }
.video-activities-toggle > summary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6d5dfb, #b18cff);
  color: #fff; font-weight: 600; font-size: 14px;
  border-radius: 12px; cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 20px -12px rgba(109,93,251,.5);
  transition: transform .15s, box-shadow .15s;
}
.video-activities-toggle > summary::-webkit-details-marker { display: none; }
.video-activities-toggle > summary::before {
  content: '▶'; font-size: 11px; transition: transform .2s;
}
.video-activities-toggle[open] > summary::before { transform: rotate(90deg); }
.video-activities-toggle > summary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(109,93,251,.6); }
.video-activities-toggle[open] > .video-activities { margin-top: 12px; }

/* === Etkinlik kart panosu (öğretmen tarafı) === */
.activity-board { margin-top: 18px; }
.activity-board h3 { margin: 0 0 4px; font-size: 16px; color: #5a48f0; }
.activity-card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 14px;
}
.act-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
  background: linear-gradient(135deg, #6d5dfb, #b18cff);
  color: #fff;
}
.act-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(0,0,0,.3); }
.act-card-a { background: linear-gradient(135deg, #6d5dfb, #b18cff); }
.act-card-b { background: linear-gradient(135deg, #1fb6a6, #36c7ad); }
.act-card-c { background: linear-gradient(135deg, #ff7a59, #ffb18c); }
.act-card-d { background: linear-gradient(135deg, #2b6df0, #4f8bff); }
.act-card-e { background: linear-gradient(135deg, #e94560, #ff7a8a); }
.act-card-f { background: linear-gradient(135deg, #d99a00, #f6c34c); }

.act-card > summary {
  cursor: pointer; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  list-style: none;
  position: relative; min-height: 110px;
}
.act-card > summary::-webkit-details-marker { display: none; }
.act-card > summary::after {
  content: '▼'; position: absolute; right: 14px; top: 14px;
  font-size: 11px; opacity: .8; transition: transform .2s;
}
.act-card[open] > summary::after { transform: rotate(180deg); }

.act-card-icon {
  font-size: 28px; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.act-card-kind {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; opacity: .9;
  letter-spacing: .5px;
}
.act-card-title {
  font-size: 15px; line-height: 1.3;
  display: block;
}

.act-card-body {
  padding: 14px 18px; background: #fff;
  color: #1a1f3a; font-size: 13px;
  border-top: 1px solid rgba(0,0,0,.05);
}
.act-card-body p { margin: 0 0 10px; color: #555; }
.act-preview {
  list-style-position: outside; padding-left: 18px; margin: 0;
}
.act-preview li {
  margin: 6px 0; line-height: 1.5; color: #1a1f3a;
}
.act-preview ul, .act-preview ol {
  list-style-type: disc; padding-left: 18px; margin: 4px 0;
}
.act-correct {
  background: #dcfce7; color: #1a7f56;
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}

/* === Doğru-Yanlış interaktif butonlar (öğrenci) === */
.tf-buttons {
  display: flex; gap: 12px; margin-top: 8px;
}
.tf-btn {
  flex: 1; padding: 14px 20px;
  border: 2px solid transparent; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .15s;
}
.tf-true {
  background: #dcfce7; color: #1a7f56;
  border-color: #86efac;
}
.tf-true:hover:not(:disabled) {
  background: #bbf7d0; transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(26,127,86,.4);
}
.tf-false {
  background: #fde0e4; color: #b1303f;
  border-color: #fca5b3;
}
.tf-false:hover:not(:disabled) {
  background: #fbc2cc; transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(177,48,63,.4);
}
.tf-btn:disabled { cursor: default; opacity: .55; }
.tf-btn.tf-picked {
  opacity: 1 !important;
  transform: scale(1.04);
  border-width: 3px;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.25);
}
.tf-feedback {
  margin-top: 10px; padding: 12px 16px;
  border-radius: 10px; font-size: 14px;
  animation: feedbackPop .25s ease;
}
.tf-feedback-ok {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #1a7f56; border: 1px solid #86efac;
}
.tf-feedback-bad {
  background: linear-gradient(135deg, #fde0e4, #fbc2cc);
  color: #b1303f; border: 1px solid #fca5b3;
}
@keyframes feedbackPop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Etkinlik tamamlandı (kilitli) durumu === */
.activity-card.activity-done {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5) !important;
  border-color: #86efac !important;
}
.activity-done-badge {
  display: inline-block; margin-left: auto;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #1fb6a6, #36c7ad); color: #fff;
  font-size: 11px; font-weight: 600;
}
.activity-locked {
  text-align: center; padding: 20px;
  background: linear-gradient(135deg, #ecfdf5, #dcfce7);
  border-radius: 10px; border: 2px solid #86efac;
}
.activity-locked h4 {
  margin: 0 0 8px; color: #1a7f56; font-size: 18px;
}
.activity-locked p { margin: 4px 0; color: #1a1f3a; }

/* === İzlendi butonu kilitli/açık durumu === */
.player-complete-form button:disabled {
  opacity: .5; cursor: not-allowed;
  background: #ccc;
}
.player-complete-form button.watch-unlocked {
  animation: unlockGlow .6s ease;
}
@keyframes unlockGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(31,182,166,0); }
  50% { box-shadow: 0 0 20px rgba(31,182,166,.6); }
}

/* === Öğrenci tarafı: yan yana renkli etkinlik kartları === */
.student-activity-board { margin-top: 18px; }
.student-activity-board h3 { margin: 0 0 4px; font-size: 16px; color: #5a48f0; }
.student-activity-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 14px;
}
.student-act-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
  color: #fff;
}
.student-act-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(0,0,0,.3); }
.student-act-a { background: linear-gradient(135deg, #6d5dfb, #b18cff); }
.student-act-b { background: linear-gradient(135deg, #1fb6a6, #36c7ad); }
.student-act-c { background: linear-gradient(135deg, #ff7a59, #ffb18c); }
.student-act-d { background: linear-gradient(135deg, #2b6df0, #4f8bff); }
.student-act-e { background: linear-gradient(135deg, #e94560, #ff7a8a); }
.student-act-f { background: linear-gradient(135deg, #d99a00, #f6c34c); }

.student-act-card > summary {
  cursor: pointer; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  list-style: none;
  position: relative; min-height: 130px;
}
.student-act-card > summary::-webkit-details-marker { display: none; }
.student-act-card > summary::after {
  content: '▼'; position: absolute; right: 14px; top: 14px;
  font-size: 11px; opacity: .8; transition: transform .2s;
}
.student-act-card[open] > summary::after { transform: rotate(180deg); }

.student-act-icon {
  font-size: 28px; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.student-act-kind {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; opacity: .9;
  letter-spacing: .5px;
}
.student-act-title {
  font-size: 15px; line-height: 1.3;
  display: block;
}
.student-act-status {
  margin-top: auto;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-size: 11px; font-weight: 600;
  align-self: flex-start;
}
.student-act-go { background: rgba(255,255,255,.32); }

.student-act-card[open] {
  grid-column: 1 / -1;  /* açıkken tüm satırı kaplasın */
}
.student-act-card .activity-body {
  padding: 18px 20px; background: #fff;
  color: #1a1f3a;
  border-top: 1px solid rgba(0,0,0,.05);
}
.student-act-card.student-act-done {
  filter: grayscale(.25);
  opacity: .92;
}

.live-lesson-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.live-lesson-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-radius: 14px; background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.live-lesson-row.live-state-live { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #10b981; }
.live-lesson-row.live-state-waiting { background: linear-gradient(135deg, #fef2f2, #fee2e2); border-color: #ef4444; }
.live-lesson-row.live-state-upcoming { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #60a5fa; }
.live-lesson-row.live-state-recorded { background: linear-gradient(135deg, #faf5ff, #ede9fe); border-color: #8b5cf6; }
.live-lesson-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.live-lesson-meta { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.live-lesson-title { font-size: 15px; color: #0f172a; }
.live-lesson-teacher { font-size: 12px; color: #475569; }
.live-lesson-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.live-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 13px;
  text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
}
.live-btn-go { background: #10b981; color: #ffffff; box-shadow: 0 4px 12px rgba(16, 185, 129, .35); }
.live-btn-go:hover { background: #059669; }
.live-btn-wait { background: #ef4444; color: #ffffff; cursor: not-allowed; }
.live-btn-soon { background: #3b82f6; color: #ffffff; }
.live-btn-replay { background: #8b5cf6; color: #ffffff; }
.live-btn-replay:hover { background: #7c3aed; }
.live-btn-replay-sm { background: #ede9fe; color: #6d28d9; padding: 8px 12px; font-size: 12px; }
.live-btn-ended { background: #e2e8f0; color: #475569; }
@media (max-width: 640px) {
  .live-lesson-row { flex-direction: column; align-items: stretch; }
  .live-lesson-actions { justify-content: flex-end; }
}
.live-btn-replay-disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }

.acal-panel { padding: 18px 20px 22px; }
.acal-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.acal-nav-btn {
  width: 36px; height: 36px; border-radius: 10px; background: #f1f5f9; color: #0f172a;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  text-decoration: none; border: 1px solid rgba(15,23,42,.08);
}
.acal-nav-btn:hover { background: #e2e8f0; }
.acal-month-title { margin: 0; font-size: 22px; color: #0f172a; min-width: 220px; }
.acal-today-btn {
  padding: 8px 14px; border-radius: 10px; background: linear-gradient(135deg,#7c3aed,#ec4899);
  color: #fff; font-weight: 700; font-size: 13px; text-decoration: none;
}
.acal-count { margin-left: auto; color: #64748b; font-size: 13px; font-weight: 600; }

.acal-strip-wrap { overflow: hidden; margin-bottom: 14px; }
.acal-strip { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: thin; }
.acal-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
  background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
.acal-chip:hover { background: #e2e8f0; }
.acal-chip.is-today { background: #fef3c7; color: #92400e; }
.acal-chip.is-current { background: linear-gradient(135deg,#7c3aed,#ec4899); color: #fff; border-color: transparent; }

.acal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .04em;
}
.acal-weekdays span { text-align: center; padding: 6px 0; }

.acal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.acal-cell {
  background: #ffffff; border: 1px solid rgba(15,23,42,.06); border-radius: 10px;
  min-height: 92px; padding: 8px; display: flex; flex-direction: column; gap: 4px;
}
.acal-cell.is-other { background: #f8fafc; opacity: .55; }
.acal-cell.is-today { border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(124,58,237,.18) inset; }
.acal-cell.has-events { background: linear-gradient(180deg,#ffffff,#faf5ff); }
.acal-day-num { font-size: 13px; font-weight: 700; color: #0f172a; }
.acal-cell.is-today .acal-day-num {
  background: #7c3aed; color: #fff; width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
}
.acal-evt {
  background: linear-gradient(135deg,#ddd6fe,#fbcfe8); color: #6b21a8;
  font-size: 11px; padding: 4px 6px; border-radius: 6px; font-weight: 600;
  display: flex; gap: 4px; align-items: center; overflow: hidden;
}
.acal-evt-time { font-weight: 700; flex-shrink: 0; }
.acal-evt-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acal-evt-exam { background: linear-gradient(135deg,#fee2e2,#fecaca); color: #991b1b; }
.acal-evt-holiday { background: linear-gradient(135deg,#dcfce7,#bbf7d0); color: #166534; }
.acal-evt-meeting { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: #1e40af; }
.acal-evt-trip { background: linear-gradient(135deg,#fef3c7,#fde68a); color: #92400e; }

.acal-bottom-grid { margin-top: 18px; }

@media (max-width: 720px) {
  .acal-cell { min-height: 70px; padding: 5px; }
  .acal-day-num { font-size: 12px; }
  .acal-evt-title { display: none; }
}
.exam-chip-meta { font-size: 11px; font-weight: 700; color: #7c3aed; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 4px; }

.skorvar-cta-strip { margin: 14px 0 18px; }
.skorvar-cta-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  color: #ffffff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.skorvar-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.42); }
.skorvar-cta-icon {
  font-size: 28px; width: 48px; height: 48px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); border-radius: 12px; backdrop-filter: blur(10px);
}
.skorvar-cta-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.skorvar-cta-text strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.skorvar-cta-text small { font-size: 12.5px; opacity: .88; font-weight: 500; }
.skorvar-cta-arrow { font-size: 24px; font-weight: 700; opacity: .85; }

.subject-chip-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px;
}
.subject-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: all .15s ease;
}
.subject-chip:hover { background: #e2e8f0; }
.subject-chip.is-active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,.32);
}

.exam-section { margin-bottom: 18px; }
.exam-section-ready .panel-heading h2 { color: #7c3aed; }
.exam-section-past .panel-heading h2 { color: #64748b; }
.exam-section-institution .panel-heading h2 { color: #0ea5e9; }
.exam-section-zero .panel-heading h2 { color: #f59e0b; }
.exam-section-personal .panel-heading h2 { color: #ec4899; }

.exam-pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 4px 4px; margin-top: 8px;
}
.exam-pager-btn {
  padding: 8px 14px; border-radius: 10px;
  background: #f1f5f9; color: #0f172a; font-weight: 600; font-size: 13px;
  text-decoration: none; border: 1px solid rgba(15,23,42,.08);
}
.exam-pager-btn:hover { background: #e2e8f0; }
.exam-pager-btn.is-disabled { color: #cbd5e1; cursor: not-allowed; background: #f8fafc; }
.exam-pager-info { color: #64748b; font-size: 13px; font-weight: 600; }

.detail-btn-go {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important; border-color: transparent;
}
.detail-btn-go:hover { background: #059669; color: #fff; }

/* ============== Sınav Çözme Ekranı (Optik Form) ============== */
.exam-take-body { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); margin: 0; padding: 0; }
.exam-take-main { max-width: 1280px; margin: 0 auto; padding: 20px; }

.exam-take-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px; margin-bottom: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.exam-take-title { flex: 1; min-width: 0; }
.exam-take-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #7c3aed; }
.exam-take-title h1 { margin: 2px 0 4px; font-size: 20px; color: #0f172a; }
.exam-take-title small { color: #64748b; font-size: 12px; font-weight: 600; }

.exam-take-timer-box {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; min-width: 130px;
  transition: all .2s ease;
}
.exam-take-timer-box.is-low { background: linear-gradient(135deg, #f59e0b, #f97316); }
.exam-take-timer-box.is-critical { background: linear-gradient(135deg, #ef4444, #dc2626); animation: pulseTimer 1s ease infinite; }
@keyframes pulseTimer { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.exam-take-timer-label { font-size: 10px; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.exam-take-timer-value { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.exam-take-timer-bar { width: 100%; height: 3px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.exam-take-timer-bar i { display: block; height: 100%; background: rgba(255,255,255,.85); transition: width 1s linear; width: 100%; }

.exam-take-finish-btn {
  padding: 12px 22px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 12px rgba(16,185,129,.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.exam-take-finish-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16,185,129,.42); }

.exam-take-grid {
  display: grid; grid-template-columns: 1fr 280px; gap: 18px;
  align-items: start;
}
@media (max-width: 980px) { .exam-take-grid { grid-template-columns: 1fr; } }

.exam-take-questions { display: flex; flex-direction: column; gap: 14px; }
.exam-take-question {
  background: #fff; border-radius: 14px; padding: 18px 20px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.exam-take-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.exam-take-q-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; font-weight: 800; font-size: 14px;
}
.exam-take-q-subject { font-size: 12px; font-weight: 700; color: #7c3aed; background: #ede9fe; padding: 4px 10px; border-radius: 999px; }
.exam-take-q-outcome { font-size: 11px; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 4px 8px; border-radius: 6px; }
.exam-take-q-prompt { color: #0f172a; line-height: 1.55; font-size: 15px; margin: 8px 0 12px; }
.exam-take-q-img { max-width: 100%; border-radius: 10px; margin: 8px 0; }

.exam-take-q-options { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.exam-take-bubble {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 2px solid #cbd5e1;
  cursor: pointer; transition: all .12s ease;
  user-select: none;
}
.exam-take-bubble input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.exam-take-bubble-letter { font-size: 18px; font-weight: 800; color: #475569; }
.exam-take-bubble:hover { border-color: #7c3aed; background: #faf5ff; }
.exam-take-bubble:has(input:checked) {
  background: radial-gradient(circle, #1e293b 30%, #0f172a 100%);
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15,23,42,.12);
}
.exam-take-bubble:has(input:checked) .exam-take-bubble-letter { color: #fff; }
.exam-take-clear {
  background: #f1f5f9; border: 1px solid rgba(15,23,42,.08); border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; color: #64748b; font-size: 14px;
}
.exam-take-clear:hover { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.exam-take-bottom-actions { padding: 14px 0 30px; text-align: center; }
.exam-take-finish-btn-big { padding: 16px 32px; font-size: 16px; }

/* Sağ panel - Optik Form */
.exam-take-optic {
  position: sticky; top: 100px;
  background: #fff; border-radius: 14px; padding: 16px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.exam-take-optic-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 2px dashed #e2e8f0;
}
.exam-take-optic-head strong { color: #0f172a; font-size: 14px; }
.exam-take-optic-head span { font-size: 13px; font-weight: 700; color: #7c3aed; }

.exam-take-optic-sheet { display: flex; flex-direction: column; gap: 6px; }
.optic-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 8px;
  transition: background .12s ease;
}
.optic-row.is-answered { background: #f0fdf4; }
.optic-row-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #f1f5f9; color: #475569;
  font-size: 11px; font-weight: 800; cursor: pointer;
  flex-shrink: 0;
}
.optic-row-no:hover { background: #e0e7ff; color: #4338ca; }
.optic-row.is-answered .optic-row-no { background: #10b981; color: #fff; }
.optic-row-bubbles { display: flex; gap: 4px; }
.optic-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1.5px solid #cbd5e1;
  font-size: 10px; font-weight: 700; color: #64748b;
  cursor: pointer; transition: all .1s ease;
}
.optic-bubble:hover { border-color: #7c3aed; }
.optic-bubble.is-filled {
  background: #0f172a; color: #fff; border-color: #0f172a;
}

.exam-take-optic-legend {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f0;
  font-size: 11px; color: #64748b;
}
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.legend-answered { background: #10b981; }
.legend-empty { background: #fff; border: 1.5px solid #cbd5e1; }

/* ============== ProLig (Liderlik Tablosu) ============== */
.prolig-aside {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(124,58,237,.12);
  box-shadow: 0 4px 14px rgba(124,58,237,.08);
}
.prolig-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; padding-bottom: 12px;
  border-bottom: 2px dashed #ede9fe;
  margin-bottom: 12px;
}
.prolig-eyebrow { font-size: 11px; font-weight: 800; color: #7c3aed; letter-spacing: .08em; }
.prolig-head h2 { margin: 4px 0 2px; font-size: 16px; color: #0f172a; }
.prolig-head small { font-size: 11px; color: #64748b; font-weight: 600; }
.prolig-me-badge {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; min-width: 70px;
}
.prolig-me-badge span { font-size: 9px; font-weight: 700; opacity: .85; letter-spacing: .05em; }
.prolig-me-badge strong { font-size: 18px; font-weight: 800; line-height: 1; }
.prolig-me-badge em { font-size: 10px; font-weight: 700; font-style: normal; opacity: .9; }

.prolig-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.prolig-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(15,23,42,.05);
  transition: all .12s ease;
}
.prolig-item:hover { border-color: rgba(124,58,237,.25); transform: translateX(2px); }
.prolig-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #f1f5f9; color: #475569;
  font-weight: 800; font-size: 12px; flex-shrink: 0;
}
.prolig-rank-1 .prolig-rank { background: #fef3c7; font-size: 18px; }
.prolig-rank-2 .prolig-rank { background: #e2e8f0; font-size: 18px; }
.prolig-rank-3 .prolig-rank { background: #fde68a; font-size: 18px; }
.prolig-name {
  flex: 1; font-size: 13px; color: #0f172a; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prolig-name em { color: #7c3aed; font-style: normal; font-size: 11px; font-weight: 700; }
.prolig-points {
  font-size: 13px; font-weight: 800; color: #7c3aed;
  font-variant-numeric: tabular-nums;
}
.prolig-item.is-me {
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124,58,237,.15);
}
.prolig-item.is-me .prolig-name { font-weight: 800; }
.prolig-empty { padding: 14px; text-align: center; color: #64748b; font-size: 13px; }

.prolig-rules { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f0; }
.prolig-rules summary {
  cursor: pointer; font-size: 12px; font-weight: 700; color: #7c3aed;
  list-style: none;
}
.prolig-rules summary::-webkit-details-marker { display: none; }
.prolig-rules ul {
  list-style: none; padding: 8px 0 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.prolig-rules li { font-size: 12px; color: #475569; padding: 4px 0; }
.prolig-rules li strong { color: #7c3aed; }

/* ============ Yatay Hatırlatma/Duyuru Şeridi ============ */
.reminder-strip-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 18px 0;
}
@media (max-width: 720px) { .reminder-strip-grid { grid-template-columns: 1fr; } }

.reminder-strip {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 4px; scrollbar-width: thin;
}
.reminder-strip-item {
  flex: 0 0 220px; display: flex; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  border: 1px solid rgba(124,58,237,.1);
}
.reminder-strip-item strong { display: block; font-size: 13px; color: #0f172a; margin-bottom: 4px; }
.reminder-strip-item small { display: block; font-size: 11px; color: #64748b; line-height: 1.4; }
.reminder-strip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #7c3aed; color: #fff; flex-shrink: 0;
}
.reminder-strip-icon.reminder-icon-accent { background: #ec4899; }

/* Duyurular yatay şerit (Mevcut Eğitimler altı) */
.announcements-strip-panel { margin: 18px 0; }
.announcement-strip {
  display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px;
  scrollbar-width: thin; scroll-behavior: smooth;
}
.announcement-strip-item {
  flex: 0 0 280px; display: flex; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #fdf2f8, #faf5ff);
  border: 1px solid rgba(236, 72, 153, .15);
  transition: transform .15s ease, box-shadow .15s ease;
}
.announcement-strip-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(236, 72, 153, .12); }
.announcement-strip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #fff; flex-shrink: 0; font-size: 18px;
}
.announcement-strip-item strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.announcement-strip-item small { display: block; font-size: 11px; color: #64748b; font-weight: 600; margin-bottom: 6px; }
.announcement-strip-body { font-size: 12px; color: #475569; line-height: 1.45; margin: 0; }

/* Duyurular — Mevcut Eğitimlerim altında inline panel (sadece sol kolon) */
.academy-courses { display: flex; flex-direction: column; gap: 16px; }
.announcements-inline {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.announcement-strip-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
}
.announcement-strip-inline .announcement-strip-item {
  flex: 1 1 auto;
  width: 100%;
}
/* academy-main grid'i hizala — aside içerikle eşit yükseklikte uzar */
.academy-main { align-items: stretch; }
.prolig-aside { height: 100%; }

.exam-chip-time {
  font-size: 14px; font-weight: 800; color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.search-box-spacer { flex: 1; }

/* === Mobil hamburger menü & sidebar drawer === */
/* Desktop'ta hamburger menü ikonunu (☰) tamamen gizle — yalnızca mobilde görünür */
.icon-button,
button.icon-button,
.dashboard-topbar .icon-button,
.dashboard-topbar > button[aria-label="Menü"],
.dashboard-topbar > .search-box-spacer { display: none !important; visibility: hidden !important; width:0 !important; height:0 !important; padding:0 !important; margin:0 !important; border:0 !important; }

@media (max-width: 900px) {
  /* Mobilde menü ikonu görünür */
  .icon-button,
  button.icon-button,
  .dashboard-topbar .icon-button {
    display: inline-flex !important;
    visibility: visible !important;
    width: 40px; height: 40px; border-radius: 10px;
    background: #ffffff; border: 1px solid rgba(15,23,42,.08);
    color: #0f172a; font-size: 18px; cursor: pointer;
  }
  .icon-button:hover { background: #f1f5f9; }

  /* Sidebar drawer mantığı */
  .app-shell { grid-template-columns: 1fr; }
  .side-rail {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; max-width: 86vw;
    transform: translateX(-105%);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,.18);
    background: #fff;
  }
  .app-shell.sidebar-open .side-rail { transform: translateX(0); }
  /* Backdrop overlay */
  .app-shell.sidebar-open::before {
    content: ''; position: fixed; inset: 0;
    background: rgba(15,23,42,.4);
    z-index: 999;
  }
}

/* Öğrenci portal anasayfa - sağ topbar butonları ile sol hero metnini görsel olarak aynı seviyeye getir */
.dashboard-main.portal-home { padding-top: 12px; }
.dashboard-main.portal-home .dashboard-topbar { margin-bottom: 0; }
.dashboard-main.portal-home .role-hero { margin-top: -34px; margin-bottom: 16px; }
.dashboard-main.portal-home .role-hero h1 { margin-top: 2px; }

/* Sabit (açılmaz) portal başlığı - "Öğrenci" / "Veli" etiketi */
.rail-group-static .rail-group-label {
  align-items: center;
  display: flex;
  margin: 8px 0 4px -8px;
  color: #8a93a6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: default;
  user-select: none;
}

/* ============== Dijital Kitaplar - Branş Kartları ============== */
.book-subject-grid {
  display: grid; gap: 18px; margin-top: 16px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.book-subject-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.book-subject-head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  color: #ffffff;
}
.book-subject-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22);
  border-radius: 14px;
  font-size: 28px; backdrop-filter: blur(8px);
}
.book-subject-info strong {
  display: block; font-size: 18px; font-weight: 800; line-height: 1.2;
}
.book-subject-info small {
  display: block; font-size: 12px; opacity: .88; font-weight: 600; margin-top: 2px;
}
/* Branş renk varyantları */
.book-subject-a .book-subject-head { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.book-subject-b .book-subject-head { background: linear-gradient(135deg, #ec4899, #f97316); }
.book-subject-c .book-subject-head { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.book-subject-d .book-subject-head { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.book-subject-e .book-subject-head { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.book-subject-f .book-subject-head { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

.book-list {
  padding: 10px 14px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.book-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.05);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: all .15s ease;
}
.book-item:hover {
  background: #ffffff;
  border-color: #7c3aed;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(124,58,237,.15);
}
.book-item-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 8px; font-size: 20px;
}
.book-item-body { flex: 1; min-width: 0; }
.book-item-body strong {
  display: block; font-size: 13.5px; color: #0f172a; font-weight: 700;
  line-height: 1.3; margin-bottom: 2px;
}
.book-item-body small {
  display: block; font-size: 11.5px; color: #64748b; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.book-item-arrow {
  font-size: 16px; color: #94a3b8;
  flex-shrink: 0; transition: transform .15s ease;
}
.book-item:hover .book-item-arrow { color: #7c3aed; transform: translateX(2px); }

/* Logo varsa rail brand alanı sadece logoyu büyük göster */
.rail-brand-logo-only {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px;
  background: transparent !important;
  box-shadow: none !important;
}
.rail-brand-full-logo {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto; height: auto;
  object-fit: contain;
}

/* ====================== TENANT LOGIN (her kuruma özel giriş ekranı) ====================== */
.tenant-login-body {
  margin: 0; padding: 0; min-height: 100vh;
  background: #f8fafc;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.tenant-login-wrap {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
  min-height: 100vh;
}

/* SOL panel */
.tenant-login-left {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 40px 36px;
  background: #ffffff;
  position: relative;
}
.tenant-login-card { display: flex; flex-direction: column; gap: 22px; }
.tenant-login-logo {
  display: flex; justify-content: center;
  margin: 18px 0 22px;
}
.tenant-login-logo img {
  max-width: 260px; max-height: 180px;
  width: auto; height: auto;
  object-fit: contain;
}

.tenant-login-form {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 360px; margin: 0 auto; width: 100%;
}
.tenant-input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.tenant-input-wrap input[type="text"],
.tenant-input-wrap input[type="password"] {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px; outline: none;
  background: #ffffff; color: #0f172a;
  transition: border .15s ease, box-shadow .15s ease;
}
.tenant-input-wrap input:focus {
  border-color: var(--brand, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.tenant-password-wrap input { padding-right: 46px; }
.tenant-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  border: none; background: none; cursor: pointer;
  font-size: 16px; color: #6b7280; padding: 4px;
}

.tenant-login-meta {
  display: flex; justify-content: flex-end;
}
.tenant-login-meta a {
  color: #0f172a; font-size: 13px; font-weight: 700;
  text-decoration: none;
}
.tenant-login-meta a:hover { color: var(--brand, #7c3aed); }

.tenant-login-btn {
  background: #1e293b; color: #fff;
  border: none; padding: 14px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
  margin-top: 6px;
}
.tenant-login-btn:hover { background: var(--brand, #7c3aed); }

.tenant-login-error {
  background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b;
  padding: 10px 12px; border-radius: 8px; font-size: 13px;
}

.tenant-login-footer {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 22px; border-top: 1px solid #e5e7eb;
  margin-top: 22px;
}
.tenant-foot-row {
  display: flex; align-items: center; gap: 12px;
}
.tenant-foot-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand, #7c3aed); color: #fff;
  border-radius: 50%; font-size: 16px;
}
.tenant-foot-row small {
  display: block; font-size: 11.5px; color: #6b7280; font-weight: 600;
}
.tenant-foot-row strong {
  display: block; font-size: 13.5px; color: #0f172a;
}

/* SAĞ panel — Kurumun hero görseli (1500×985 önerilen) */
.tenant-login-right {
  background: linear-gradient(135deg, var(--brand, #7c3aed) 0%, var(--accent, #ec4899) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.tenant-login-hero-fallback {
  padding: 60px; text-align: center;
  max-width: 700px;
}
.tenant-login-hero-fallback h1 {
  font-size: 52px; font-weight: 900; line-height: 1.1;
  margin: 0 0 16px; text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.tenant-login-hero-fallback h2 {
  font-size: 28px; font-weight: 700; line-height: 1.3;
  margin: 0 0 16px; opacity: .95;
}
.tenant-login-hero-fallback p {
  font-size: 17px; font-weight: 500; opacity: .85; margin: 0;
}

/* Mobile — sağ panel gizlenir, sadece form */
@media (max-width: 900px) {
  .tenant-login-wrap { grid-template-columns: 1fr; }
  .tenant-login-right { display: none; }
  .tenant-login-left { min-height: 100vh; }
}

/* ====================== TENANT REGISTER (kayıt ol açılır formu) ====================== */
.tenant-register-toggle {
  margin-top: 16px;
  border: none;
}
.tenant-register-toggle summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.tenant-register-toggle summary::-webkit-details-marker { display: none; }

.tenant-register-trigger {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px;
  background: #ffffff;
  border: 1.5px solid var(--brand, #7c3aed);
  color: var(--brand, #7c3aed);
  border-radius: 10px;
  font-size: 14px; font-weight: 800;
  transition: all .15s ease;
}
.tenant-register-trigger:hover {
  background: rgba(124, 58, 237, .06);
}
.tenant-register-toggle[open] .tenant-register-trigger {
  background: var(--brand, #7c3aed);
  color: #fff;
  border-color: var(--brand, #7c3aed);
}
.tenant-register-trigger-arrow {
  font-size: 10px;
  transition: transform .2s ease;
}
.tenant-register-toggle[open] .tenant-register-trigger-arrow {
  transform: rotate(180deg);
}

.tenant-register-form {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 4px 4px;
  margin-top: 4px;
  animation: tenant-fade-in .25s ease;
}
@keyframes tenant-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tenant-register-row {
  display: flex; gap: 10px;
}
.tenant-register-row-2col > * { flex: 1; min-width: 0; }
.tenant-register-row-2col input {
  width: 100%;
}

.tenant-register-form input[type="text"],
.tenant-register-form input[type="email"],
.tenant-register-form input[type="tel"],
.tenant-register-form input[type="password"],
.tenant-register-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}
.tenant-register-form input:focus,
.tenant-register-input:focus {
  border-color: var(--brand, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.tenant-register-form input::placeholder {
  color: #9ca3af;
}

/* Telefon satırı */
.tenant-phone-row {
  display: flex; align-items: stretch; gap: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tenant-phone-row:focus-within {
  border-color: var(--brand, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.tenant-phone-flag {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px;
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
  font-weight: 700; color: #0f172a;
  font-size: 14px; white-space: nowrap;
}
.tenant-phone-row input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
}

/* Checkboxlar */
.tenant-check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
  cursor: pointer;
}
.tenant-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--brand, #7c3aed);
  cursor: pointer;
}
.tenant-check span {
  flex: 1;
}
.tenant-check a {
  color: var(--brand, #7c3aed);
  text-decoration: none;
}
.tenant-check a:hover {
  text-decoration: underline;
}
.tenant-check strong {
  color: inherit;
  font-weight: 600;
}

.tenant-register-note {
  font-size: 11.5px;
  color: #6b7280;
  margin: 4px 0 2px;
  line-height: 1.5;
  font-style: italic;
}

.tenant-register-err {
  display: block;
  margin: -4px 2px 2px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

/* İki buton: Kayıt Ol (kırmızı çerçeve) + Giriş yap (yeşil çerçeve) */
.tenant-register-actions {
  display: flex; gap: 10px;
  margin-top: 8px;
}
.tenant-register-submit {
  flex: 1;
  padding: 13px;
  border: 2px solid #ef4444;
  background: #ffffff;
  color: #ef4444;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s ease;
}
.tenant-register-submit:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, .25);
}
.tenant-register-cancel {
  flex: 1;
  padding: 13px;
  border: 2px solid #10b981;
  background: #ffffff;
  color: #10b981;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all .15s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.tenant-register-cancel:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .25);
}

/* === Login layout düzeltmesi: sol panel dikey ortala, daralt === */
.tenant-login-wrap {
  grid-template-columns: minmax(380px, 440px) minmax(0, 1fr);
}
.tenant-login-left {
  justify-content: center;
  align-items: stretch;
  padding: 24px 36px;
  position: relative;
}
/* Sol-sağ ayırıcı şeffaf çizgi */
.tenant-login-left::after {
  content: '';
  position: absolute;
  top: 8%; bottom: 8%;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.08) 30%, rgba(0,0,0,0.08) 70%, transparent 100%);
  pointer-events: none;
}
.tenant-login-card {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.tenant-login-form { max-width: none; }
.tenant-login-logo {
  margin: 0 0 16px;
}
.tenant-login-logo img {
  max-height: 140px;
}
.tenant-login-footer {
  margin-top: 24px;
  padding-top: 16px;
}
/* Sağ hero panel: 1500x985 oranı + max-width */
.tenant-login-right {
  aspect-ratio: 1500 / 985;
  max-height: 100vh;
}
@media (max-width: 900px) {
  .tenant-login-right { display: none; }
  .tenant-login-wrap { grid-template-columns: 1fr; }
}

/* === Login layout final fix: hero görseli tam dolsun, taşmasın === */
.tenant-login-wrap {
  grid-template-columns: minmax(380px, 480px) minmax(0, 1fr);
  min-height: 100vh;
  align-items: stretch;
}
.tenant-login-left {
  min-height: 100vh;
  height: auto;
}
.tenant-login-right {
  aspect-ratio: auto;          /* sabit oran kalktı - panel sınırlarına uyar */
  max-height: none;
  min-height: 100vh;
  background-size: cover;       /* görsel kırpılarak boşluksuz doldurur */
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
/* Hero görseli olmayan fallback halinde içerik dikey ortalı kalsın */
.tenant-login-hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
@media (max-width: 900px) {
  .tenant-login-right { display: none; }
  .tenant-login-wrap { grid-template-columns: 1fr; }
}

/* =================== LOGIN V2 - Modern Glassmorphism Tasarım =================== */
.login-v2-body {
  margin: 0; padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--brand, #7c3aed);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow-x: hidden;
}
/* Görsel yoksa degrade fallback */
.login-v2-body:not([style*="background-image"]) {
  background: linear-gradient(135deg,
    var(--brand, #7c3aed) 0%,
    var(--accent, #ec4899) 50%,
    var(--brand-dark, #4c1d95) 100%);
}

/* Overlay - okunabilirlik için yarı saydam karartma */
.login-v2-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, .55), rgba(30, 27, 75, .65));
  pointer-events: none;
  z-index: 1;
}

/* Marka şeridi - sol üst */
.login-v2-brandbar {
  position: fixed; top: 24px; left: 32px;
  z-index: 10;
  display: flex; align-items: center;
}
.login-v2-brandbar img {
  max-height: 56px; max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}

/* Sağ üst iletişim */
.login-v2-contact {
  position: fixed; top: 24px; right: 32px;
  z-index: 10;
  display: flex; gap: 16px;
}
.login-v2-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: all .2s ease;
}
.login-v2-contact a:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* Ana shell - viewport ortalama */
.login-v2-shell {
  position: relative; z-index: 5;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 80px;
}

/* GLASSMORPHISM KART */
.login-v2-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 24px;
  box-shadow:
    0 25px 60px -10px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.1) inset;
  padding: 40px 36px 32px;
  animation: login-v2-pop .6s cubic-bezier(.22,1,.36,1);
}
@keyframes login-v2-pop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-v2-card-head {
  text-align: center;
  margin-bottom: 28px;
}
.login-v2-card-head h1 {
  margin: 0 0 8px;
  font-size: 28px; font-weight: 800;
  color: #0f172a; letter-spacing: -.02em;
}
.login-v2-card-head p {
  margin: 0;
  color: #475569;
  font-size: 14px; font-weight: 600;
  line-height: 1.5;
}
.login-v2-card-head small {
  display: block; margin-top: 4px;
  color: #94a3b8; font-size: 12px;
}

/* FORM */
.login-v2-form {
  display: flex; flex-direction: column; gap: 12px;
}
.login-v2-field {
  position: relative;
  display: flex; align-items: center;
}
.login-v2-icon {
  position: absolute; left: 16px;
  font-size: 16px; opacity: .6;
  pointer-events: none;
}
.login-v2-field input {
  width: 100%;
  padding: 15px 16px 15px 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14.5px;
  outline: none;
  color: #0f172a;
  box-sizing: border-box;
  transition: all .15s ease;
}
.login-v2-field input:focus {
  border-color: var(--brand, #7c3aed);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}
.login-v2-field input::placeholder { color: #94a3b8; }

.login-v2-eye {
  position: absolute; right: 12px;
  background: none; border: none;
  font-size: 16px; cursor: pointer;
  color: #64748b; padding: 6px;
}

.login-v2-meta {
  text-align: right;
  margin: 4px 4px 8px;
}
.login-v2-meta a {
  color: var(--brand, #7c3aed);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
}
.login-v2-meta a:hover { text-decoration: underline; }

.login-v2-submit {
  background: linear-gradient(135deg, var(--brand, #7c3aed), var(--accent, #ec4899));
  color: #fff; border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(124, 58, 237, .35);
  transition: all .2s ease;
}
.login-v2-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, .45);
}
.login-v2-submit:active { transform: translateY(0); }

.login-v2-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
}

/* AÇILIR KAYIT - footer'a entegre */
.login-v2-register {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed #e2e8f0;
}
.login-v2-register summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; list-style: none;
  padding: 8px 4px;
  color: #475569;
  font-size: 14px;
  user-select: none;
}
.login-v2-register summary::-webkit-details-marker { display: none; }
.login-v2-register summary strong {
  color: var(--brand, #7c3aed);
  font-weight: 800;
}
.login-v2-register summary:hover strong { text-decoration: underline; }
.login-v2-register-arrow {
  color: var(--brand, #7c3aed);
  font-weight: 800;
  transition: transform .25s ease;
}
.login-v2-register[open] .login-v2-register-arrow { transform: rotate(180deg); }

.login-v2-register-form {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 14px;
  animation: login-v2-slide .3s ease;
}
@keyframes login-v2-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.login-v2-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.login-v2-register-form input[type="text"],
.login-v2-register-form input[type="email"],
.login-v2-register-form input[type="tel"],
.login-v2-register-form input[type="password"] {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13.5px;
  outline: none;
  transition: all .15s ease;
}
.login-v2-register-form input:focus {
  border-color: var(--brand, #7c3aed);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.login-v2-phone {
  display: flex; align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all .15s ease;
}
.login-v2-phone:focus-within {
  border-color: var(--brand, #7c3aed);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.login-v2-phone span {
  padding: 12px 14px;
  background: #f1f5f9;
  font-weight: 700; font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
  border-right: 1px solid #e2e8f0;
}
.login-v2-phone input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
}

.login-v2-checks {
  display: flex; flex-direction: column; gap: 6px;
  margin: 4px 0;
}
.login-v2-checks label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; line-height: 1.4;
  color: #475569;
  cursor: pointer;
}
.login-v2-checks input[type="checkbox"] {
  margin-top: 1px;
  width: 16px; height: 16px;
  accent-color: var(--brand, #7c3aed);
  cursor: pointer; flex-shrink: 0;
}
.login-v2-checks a {
  color: var(--brand, #7c3aed);
  font-weight: 700;
  text-decoration: none;
}
.login-v2-checks a:hover { text-decoration: underline; }

.login-v2-register-submit {
  background: #0f172a;
  color: #fff; border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px; font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  transition: all .15s ease;
}
.login-v2-register-submit:hover {
  background: var(--brand, #7c3aed);
  transform: translateY(-1px);
}

.login-v2-err {
  display: block;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  margin: -4px 2px 2px;
}

/* Footer */
.login-v2-footer {
  position: fixed; bottom: 16px; left: 0; right: 0;
  z-index: 5;
  text-align: center;
}
.login-v2-footer small {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

/* Mobile */
@media (max-width: 600px) {
  .login-v2-shell { padding: 90px 16px 70px; }
  .login-v2-card { padding: 32px 24px 26px; border-radius: 20px; }
  .login-v2-card-head h1 { font-size: 24px; }
  .login-v2-brandbar { top: 16px; left: 16px; }
  .login-v2-brandbar img { max-height: 42px; max-width: 140px; }
  .login-v2-contact { display: none; }
  .login-v2-footer { display: none; }
}

/* ==================== LOGIN V3 - Split AI Hero + Right Card ==================== */
.login-v3-body {
  margin: 0; padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0f0a24;
  overflow-x: hidden;
}
.login-v3-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ================= SOL: AI Hero Bölümü ================= */
.login-v3-hero {
  position: relative;
  background: linear-gradient(135deg,
    #1e1b4b 0%,
    #4c1d95 30%,
    #6b21a8 60%,
    #581c87 100%);
  color: #fff;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 48px;
  background-size: cover;
  background-position: center;
}
.login-v3-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(76, 29, 149, .25) 0%, rgba(15, 23, 42, .1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Yıldız-toz efekti */
.login-v3-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.3), transparent),
    radial-gradient(2px 2px at 75% 60%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 10% 70%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,.4), transparent);
  background-size: 400px 400px;
  opacity: .6;
  animation: stars-drift 60s linear infinite;
  z-index: 1;
}
@keyframes stars-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-400px, -400px); }
}

/* Dekoratif yüzen orb'lar (Argedu mockup'ındaki gibi renkli toplar) */
.login-v3-decor { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.login-v3-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: orb-float 8s ease-in-out infinite;
}
.login-v3-orb-1 {
  width: 80px; height: 80px;
  top: 18%; right: 12%;
  background: radial-gradient(circle at 30% 30%, #ec4899, #be185d);
  box-shadow: 0 0 40px rgba(236, 72, 153, .5);
}
.login-v3-orb-2 {
  width: 50px; height: 50px;
  top: 38%; right: 28%;
  background: radial-gradient(circle at 30% 30%, #06b6d4, #0e7490);
  box-shadow: 0 0 30px rgba(6, 182, 212, .5);
  animation-delay: -2s;
}
.login-v3-orb-3 {
  width: 36px; height: 36px;
  bottom: 26%; right: 18%;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
  box-shadow: 0 0 24px rgba(251, 191, 36, .5);
  animation-delay: -4s;
}
.login-v3-orb-4 {
  width: 64px; height: 64px;
  bottom: 14%; left: 22%;
  background: radial-gradient(circle at 30% 30%, #34d399, #047857);
  box-shadow: 0 0 30px rgba(52, 211, 153, .5);
  animation-delay: -6s;
}
.login-v3-orb-5 {
  width: 28px; height: 28px;
  top: 24%; left: 32%;
  background: radial-gradient(circle at 30% 30%, #a78bfa, #6d28d9);
  box-shadow: 0 0 20px rgba(167, 139, 250, .6);
  animation-delay: -3s;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25%      { transform: translateY(-20px) translateX(8px); }
  50%      { transform: translateY(-10px) translateX(-8px); }
  75%      { transform: translateY(-22px) translateX(4px); }
}

/* Merkezi AI robot - üst kısma alındı (metni örtmesin) */
.login-v3-bot-wrap {
  position: absolute;
  top: 22%; left: 50%;
  transform: translate(-50%, 0);
  width: 220px;
  filter: drop-shadow(0 20px 50px rgba(124, 58, 237, .5));
  z-index: 3;
  animation: bot-bob 4s ease-in-out infinite;
}
@keyframes bot-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -10px); }
}
.login-v3-bot { width: 100%; height: auto; display: block; }

/* Yörünge halkaları - robot etrafına alındı */
.login-v3-orbit {
  position: absolute;
  top: 28%; left: 50%;
  width: 480px; height: 480px;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: orbit-spin 80s linear infinite;
  pointer-events: none;
}
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sol panel içerik z-index */
.login-v3-brandbar {
  position: relative; z-index: 10;
  display: inline-flex; align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .96);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  align-self: flex-start;
}
.login-v3-brandbar img {
  max-height: 80px; max-width: 260px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}

.login-v3-hero-text {
  position: relative; z-index: 10;
  margin-top: auto;
  max-width: 480px;
  padding-top: 280px;     /* robotla başlık arasında nefes alanı */
}
.login-v3-hero-text h2 {
  margin: 0 0 14px;
  font-size: 36px; font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.login-v3-hero-text p {
  margin: 0 0 22px;
  font-size: 15px; line-height: 1.6;
  opacity: .92;
}

.login-v3-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.login-v3-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
}

.login-v3-hero-contact {
  position: relative; z-index: 10;
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 28px;
}
.login-v3-hero-contact a {
  color: rgba(255,255,255,.9);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  transition: background .15s ease;
}
.login-v3-hero-contact a:hover { background: rgba(255,255,255,.2); }

/* ================= SAĞ: Login Kartı Bölümü ================= */
.login-v3-shell {
  background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
  position: relative;
}
.login-v3-shell::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, .04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, .04), transparent 50%);
  pointer-events: none;
}

.login-v3-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 25px 60px -15px rgba(76, 29, 149, .15),
    0 0 0 1px rgba(15, 23, 42, .04);
  padding: 44px 38px 30px;
  animation: v3-pop .5s cubic-bezier(.22,1,.36,1);
  position: relative;
  z-index: 5;
}
@keyframes v3-pop {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-v3-card-head { text-align: center; margin-bottom: 28px; }
.login-v3-card-head h1 {
  margin: 0 0 6px;
  font-size: 28px; font-weight: 800;
  color: #0f172a; letter-spacing: -.02em;
}
.login-v3-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px; font-weight: 500;
}

.login-v3-form {
  display: flex; flex-direction: column; gap: 12px;
}
.login-v3-field {
  position: relative;
  display: flex; align-items: center;
}
.login-v3-icon {
  position: absolute; left: 16px;
  font-size: 16px; opacity: .55;
  pointer-events: none;
}
.login-v3-field input {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14.5px;
  outline: none;
  color: #0f172a;
  transition: all .15s ease;
}
.login-v3-field input:focus {
  border-color: #7c3aed;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}
.login-v3-field input::placeholder { color: #94a3b8; }
.login-v3-eye {
  position: absolute; right: 12px;
  background: none; border: none;
  font-size: 16px; cursor: pointer; color: #64748b;
  padding: 6px;
}

.login-v3-meta { text-align: right; margin: 4px 4px 8px; }
.login-v3-meta a {
  color: #7c3aed; font-size: 13px; font-weight: 700;
  text-decoration: none;
}
.login-v3-meta a:hover { text-decoration: underline; }

.login-v3-submit {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 15px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .35);
  transition: all .2s ease;
}
.login-v3-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, .45);
}

.login-v3-error {
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px;
}

/* Kayıt açılır */
.login-v3-register {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px dashed #e2e8f0;
}
.login-v3-register summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; list-style: none;
  padding: 6px 4px;
  color: #475569; font-size: 14px;
  user-select: none;
}
.login-v3-register summary::-webkit-details-marker { display: none; }
.login-v3-register summary strong {
  color: #7c3aed; font-weight: 800;
}
.login-v3-register-arrow {
  color: #7c3aed; font-weight: 800;
  transition: transform .25s ease;
}
.login-v3-register[open] .login-v3-register-arrow { transform: rotate(180deg); }

.login-v3-register-form {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 14px;
}
.login-v3-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-v3-register-form input[type="text"],
.login-v3-register-form input[type="email"],
.login-v3-register-form input[type="tel"],
.login-v3-register-form input[type="password"] {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13.5px; outline: none;
  transition: all .15s ease;
}
.login-v3-register-form input:focus {
  border-color: #7c3aed; background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.login-v3-phone {
  display: flex; align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.login-v3-phone:focus-within {
  border-color: #7c3aed; background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.login-v3-phone span {
  padding: 12px 14px;
  background: #f1f5f9;
  font-weight: 700; font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid #e2e8f0;
}
.login-v3-phone input {
  border: none !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
  flex: 1;
}

.login-v3-checks { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; }
.login-v3-checks label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; line-height: 1.4;
  color: #475569; cursor: pointer;
}
.login-v3-checks input[type="checkbox"] {
  margin-top: 1px;
  width: 16px; height: 16px;
  accent-color: #7c3aed;
  cursor: pointer; flex-shrink: 0;
}
.login-v3-checks a { color: #7c3aed; font-weight: 700; text-decoration: none; }
.login-v3-checks a:hover { text-decoration: underline; }

.login-v3-register-submit {
  background: #0f172a; color: #fff;
  border: none; padding: 13px;
  border-radius: 10px;
  font-size: 14px; font-weight: 800;
  cursor: pointer; margin-top: 4px;
  transition: all .15s ease;
}
.login-v3-register-submit:hover {
  background: #7c3aed;
}

.login-v3-err {
  display: block; color: #dc2626;
  font-size: 12px; font-weight: 600;
  margin: -4px 2px 2px;
}

.login-v3-foot {
  display: block;
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  color: #94a3b8;
  font-size: 11.5px;
}

/* ====== Mobile ====== */
@media (max-width: 980px) {
  .login-v3-wrap { grid-template-columns: 1fr; }
  .login-v3-hero { display: none; }
  .login-v3-shell { padding: 30px 16px; }
}

/* ====== Mobil özel — form yarım kalmasın diye taşmaları aç ====== */
@media (max-width: 768px) {
  body.login-v3-body {
    height: auto !important;
    min-height: 100vh !important;
    overflow: auto !important;
    overflow-x: hidden !important;
  }
  body.login-v3-body .login-v3-wrap {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    display: block !important;
  }
  .login-v3-shell {
    width: 100% !important;
    min-height: 100vh !important;
    padding: 24px 14px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto !important;
  }
  .login-v3-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 20px 18px !important;
    box-sizing: border-box !important;
  }
  .login-v3-card-logo img {
    max-width: 200px !important;
    max-height: 60px !important;
  }
  .login-v3-field input {
    padding: 13px 14px 13px 42px !important;
    font-size: 16px !important;  /* iOS zoom önlemek için en az 16px */
  }
  .login-v3-eye {
    right: 10px !important;
  }
  .login-v3-submit {
    padding: 14px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 380px) {
  .login-v3-card { padding: 20px 16px 14px !important; }
  .login-v3-card-head p { font-size: 12px !important; }
}

/* Sağ kart logosu (h1 yerine logo görseli) */
.login-v3-card-logo {
  display: flex; justify-content: center;
  margin-bottom: 8px;
}
.login-v3-card-logo img {
  max-width: 300px; max-height: 100px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}

/* Sol hero başlığı tek satıra sığsın - font boyutu küçült, max-width genişlet */
.login-v3-hero-text {
  max-width: 560px !important;
}
.login-v3-hero-text h2 {
  font-size: 30px !important;
  white-space: nowrap;
  letter-spacing: -.02em;
}
@media (max-width: 1280px) {
  .login-v3-hero-text h2 { font-size: 26px !important; }
}
@media (max-width: 1100px) {
  .login-v3-hero-text h2 { font-size: 22px !important; white-space: normal; }
}

/* ====== Login V3 - Full Viewport Compactlama (SADECE LOGIN SAYFASI) ====== */
body.login-v3-body {
  height: 100vh !important;
  overflow: hidden !important;
}
body.login-v3-body .login-v3-wrap {
  height: 100vh !important;
  min-height: 0 !important;
  overflow: hidden;
}

/* SOL hero - kompaktla */
.login-v3-hero { padding: 28px 36px !important; }
.login-v3-bot-wrap { top: 10% !important; width: 180px !important; }
.login-v3-orbit { top: 16% !important; width: 380px !important; height: 380px !important; }
.login-v3-hero-text {
  padding-top: 220px !important;
  max-width: 520px !important;
}
.login-v3-hero-text h2 {
  font-size: 26px !important;
  margin: 0 0 10px !important;
}
.login-v3-hero-text p {
  font-size: 13.5px !important;
  margin: 0 0 16px !important;
  line-height: 1.5 !important;
}
.login-v3-features { gap: 7px !important; }
.login-v3-features li {
  padding: 7px 12px !important;
  font-size: 12.5px !important;
}
.login-v3-hero-contact { margin-top: 14px !important; }
.login-v3-hero-contact a { padding: 6px 12px; font-size: 12px; }

/* SAĞ kart - kompaktla */
.login-v3-shell {
  padding: 24px 28px !important;
  overflow-y: auto;
}
.login-v3-card {
  padding: 28px 32px 20px !important;
  max-width: 420px !important;
}
.login-v3-card-head { margin-bottom: 18px !important; }
.login-v3-card-logo { margin-bottom: 4px !important; }
.login-v3-card-logo img {
  max-width: 240px !important;
  max-height: 70px !important;
}
.login-v3-card-head p { font-size: 13px !important; }

.login-v3-form { gap: 10px !important; }
.login-v3-field input { padding: 12px 14px 12px 42px !important; font-size: 14px !important; }
.login-v3-meta { margin: 2px 4px 4px !important; }
.login-v3-submit { padding: 13px !important; font-size: 14.5px !important; }

.login-v3-register { margin-top: 16px !important; padding-top: 14px !important; }
.login-v3-register summary { padding: 4px !important; font-size: 13px !important; }
.login-v3-register-form { gap: 8px !important; margin-top: 10px !important; }
.login-v3-register-form input { padding: 10px 12px !important; font-size: 13px !important; }
.login-v3-phone span { padding: 10px 12px !important; }
.login-v3-checks { gap: 4px !important; margin: 4px 0 2px !important; }
.login-v3-checks label { font-size: 11.5px !important; }
.login-v3-register-submit { padding: 11px !important; font-size: 13.5px !important; }
.login-v3-foot { margin-top: 14px !important; padding-top: 12px !important; font-size: 11px !important; }

/* Login V3 - Tam ekran zorla, dış boşluk kaldır (SADECE LOGIN) */
body.login-v3-body {
  margin: 0 !important; padding: 0 !important;
  width: 100vw !important; max-width: 100vw !important;
  overflow-x: hidden !important;
}
body.login-v3-body .login-v3-wrap {
  width: 100vw !important; max-width: 100vw !important;
  margin: 0 !important; padding: 0 !important;
}
body.login-v3-body .login-v3-hero,
body.login-v3-body .login-v3-shell {
  margin: 0 !important;
}

/* Login V3 - Sol hero metnini dikey ortala */
.login-v3-hero {
  justify-content: center !important;
}
.login-v3-hero-text {
  margin-top: 0 !important;
  padding-top: 60px !important;  /* robotla başlık arası nefes */
}
.login-v3-bot-wrap {
  top: 4% !important;
}
.login-v3-orbit {
  top: 10% !important;
}
.login-v3-hero-contact {
  position: absolute !important;
  bottom: 24px;
  left: 36px;
}

/* Login V3 - Biraz aşağı + puntolar büyüt */
.login-v3-bot-wrap { top: 10% !important; width: 200px !important; }
.login-v3-orbit { top: 15% !important; width: 420px !important; height: 420px !important; }
.login-v3-hero-text {
  padding-top: 120px !important;
  max-width: 540px !important;
}
.login-v3-hero-text h2 {
  font-size: 32px !important;
  margin: 0 0 14px !important;
  line-height: 1.2 !important;
}
.login-v3-hero-text p {
  font-size: 15.5px !important;
  margin: 0 0 20px !important;
  line-height: 1.55 !important;
}
.login-v3-features { gap: 9px !important; }
.login-v3-features li {
  padding: 10px 16px !important;
  font-size: 14.5px !important;
}

/* Login V3 - Sol h2 ile sağ password field hizala */
.login-v3-hero {
  justify-content: flex-start !important;
}
.login-v3-hero-text {
  position: absolute !important;
  top: 38% !important;
  left: 36px !important;
  right: 36px !important;
  max-width: 540px !important;
  padding-top: 0 !important;
  transform: translateY(-50%);
}
.login-v3-hero-text h2 {
  font-size: 32px !important;
  margin: 0 0 14px !important;
}

/* Login V3 - Sol metin daha aşağı (şifre satırı hizası) */
.login-v3-hero-text {
  top: 55% !important;
}

/* Login V3 - Daha aşağıya */
.login-v3-hero-text {
  top: 68% !important;
}
