/* ==========================================================================
   AKADEMION PORTAL SİSTEMİ (Öğrenci, Koç, Ölçmeci, Yönetici)
   Kurumsal, Sade, Şık & Net Dashboard Stilleri
   ========================================================================== */

.panel-body {
  background-color: #f1f5f9;
  color: #0f172a;
  min-height: 100vh;
}

/* Üst Rol Değiştirici Bar (Demo & Test) */
.demo-role-switcher {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.role-switcher-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.switcher-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.role-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 8px;
}

.role-tab-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.role-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.role-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.back-home-link {
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.back-home-link:hover {
  color: #ffffff;
}

/* Panel Navbar */
.panel-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.panel-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-badge-icon {
  width: 34px;
  height: 34px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.role-tag-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 6px;
}

.role-ogrenci { background: #eff6ff; color: #1d4ed8; }
.role-koc { background: #fef3c7; color: #b45309; }
.role-olcmeci { background: #ecfdf5; color: #047857; }
.role-admin { background: #f3e8ff; color: #7e22ce; }

.panel-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.user-role-label {
  font-size: 11.5px;
  color: #64748b;
}

/* Panel Ana Kapsayıcı */
.panel-main-container {
  padding-top: 28px;
  padding-bottom: 60px;
}

/* Dashboard Izgara Düzeni (Sol: 1.3fr, Sağ: 0.7fr) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.dash-col-left, .dash-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Kurumsal Kart Yapısı */
.card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dash-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.dash-sub {
  font-size: 14px;
  color: #64748b;
  margin-top: 2px;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.meta-val {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

.section-title-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.section-title-between h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

/* Rozetler */
.badge-status-green {
  background: #ecfdf5;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}

.badge-status-warn, .badge-warn {
  background: #fef3c7;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-meet {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-teams {
  background: #ede9fe;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Atanan Mentor Şeridi */
.assigned-coach-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.coach-mini-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.coach-strip-info {
  flex: 1;
}

.coach-strip-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.coach-strip-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.coach-strip-info p {
  font-size: 12.5px;
  color: #64748b;
}

/* Seans Listesi & Kartları */
.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.session-date-col {
  min-width: 140px;
}

.session-badge-platform {
  font-size: 10.5px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.session-datetime {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.session-details-col {
  flex: 1;
}

.session-details-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.session-status-text {
  font-size: 12px;
  color: #64748b;
}

/* Görev & Ödev Listesi */
.task-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13.5px;
}

.task-check {
  font-size: 15px;
  font-weight: 800;
  color: #64748b;
  flex-shrink: 0;
  margin-top: 1px;
}

.task-row.done .task-check { color: #10b981; }
.task-row.in-progress .task-check { color: #f59e0b; }

.task-meta {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}

/* Sağ Kolon: Ölçme & Değerlendirme Rapor Kutusu */
.report-box {
  background: #ffffff;
  border-left: 4px solid #2563eb;
}

.report-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.report-pill {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
  letter-spacing: 0.05em;
}

.score-num {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.score-max {
  font-size: 12px;
  color: #64748b;
}

.report-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.report-sub-txt {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 20px;
}

/* Bilişsel Metrik Barları */
.metrics-list-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.metric-row-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-info-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.metric-bar-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 999px;
}

.metric-level-tag {
  font-size: 11px;
  color: #64748b;
  text-align: right;
}

/* Uzman Notu Kutusu */
.specialist-note-callout {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #f59e0b;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.note-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 4px;
}

.specialist-note-callout p {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  font-style: italic;
}

.student-tips-callout {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px;
  border-radius: 6px;
}

.tips-pre {
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.5;
  color: #166534;
  white-space: pre-line;
  margin: 0;
}

/* KOÇ EKRANI STİLLERİ */
.finance-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
}

.fin-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.fin-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 2px;
}

.fin-sub {
  font-size: 12.5px;
  color: #cbd5e1;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.data-table td {
  padding: 14px 12px;
  font-size: 13.5px;
  border-bottom: 1px solid #f1f5f9;
}

.student-mini-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-mini-cell img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.student-mini-cell strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
}

.student-mini-cell small {
  font-size: 11.5px;
  color: #64748b;
}

.link-edit-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-input {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 220px;
}

.coach-confidential-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 16px;
}

.confidential-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #854d0e;
}

.confidential-author {
  font-size: 11px;
  font-weight: 700;
  color: #713f12;
  text-align: right;
  margin-top: 8px;
}

.student-selector-pill {
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* FORM ELEMANLARI */
.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 13.5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
}

/* ÖLÇME UZMANI EKRANI */
.assessment-queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.queue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.queue-item.active-queue {
  border-color: #2563eb;
  background: #eff6ff;
}

.queue-student-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.queue-student-info span {
  font-size: 12px;
  color: #64748b;
}

.queue-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.protocol-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
  font-size: 13px;
}

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

.protocol-item strong {
  color: #0f172a;
  display: block;
  margin-bottom: 3px;
}

/* ADMIN PANELİ */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.stat-card.highlight-card {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.stat-card.highlight-card .stat-lbl, .stat-card.highlight-card .stat-trend {
  color: #94a3b8;
}

.stat-card.highlight-card .stat-val {
  color: #ffffff;
}

.stat-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
}

.stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 2px;
}

.stat-trend {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
}

.admin-setting-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
}

.admin-setting-item:last-child { border-bottom: none; }

.admin-setting-item label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.setting-row {
  display: flex;
  gap: 8px;
}

/* YARDIMCI STİLLER */
.text-right { text-align: right; }
.text-muted-small { font-size: 11.5px; color: #64748b; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .role-switcher-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .role-tabs { overflow-x: auto; width: 100%; }
  .session-card-item { flex-direction: column; align-items: flex-start; }
  .form-row-grid { grid-template-columns: 1fr; }
}
