/* DASHBOARD.CSS — portal-test — matchar faktisk HTML-struktur */

.forflyttning-hero {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 36px 28px;
  background: #fff;
  margin-bottom: 14px;
}
.forflyttning-eyebrow {
  font-family: var(--hf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 10px;
}
.forflyttning-rubrik {
  font-family: var(--hf-font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  font-style: normal;
}
.forflyttning-under {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 24px;
  font-family: var(--hf-font);
}

.tidslinje {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}
.tidslinje-punkt {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.tidslinje-punkt::before {
  content: '';
  position: absolute;
  top: 9px;
  left: -50%;
  width: 100%;
  height: 1.5px;
  background: rgba(95,89,89,0.12);
  z-index: 0;
}
.tidslinje-punkt:first-child::before { display: none; }
.tidslinje-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(95,89,89,0.2);
  background: #fff;
  z-index: 1;
  position: relative;
}
.tidslinje-dot.aktiv  { border-color: #FF9F46; background: #FF9F46; }
.tidslinje-dot.klar   { border-color: #94AD9B; background: #94AD9B; }
.tidslinje-label {
  font-family: var(--hf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
}
.tidslinje-label.aktiv { opacity: 1; color: #FF9F46; }

.score-rad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.score-kort {
  border: 2px solid rgba(95,89,89,0.15);
  border-radius: 0 10px 0 10px;
  padding: 24px;
  background: #fff;
  text-align: center;
}
.score-label {
  font-family: var(--hf-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 8px;
  display: block;
}
.score-tal {
  font-family: var(--hf-font);
  font-size: 36px;
  font-weight: 700;
  color: #FF9F46;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.score-bar {
  height: 4px;
  background: rgba(95,89,89,0.08);
  border-radius: 2px;
  margin: 8px 0 6px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: #FF9F46;
  border-radius: 2px;
}
.score-undertext {
  font-size: 11px;
  opacity: 0.4;
  display: block;
  font-family: var(--hf-font);
}

.spider-sektion {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
  margin-bottom: 14px;
  align-items: center;
}
.spider-info { display: flex; flex-direction: column; gap: 10px; }
.spider-legend-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; font-family: var(--hf-font); }
.spider-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.mal-sektion {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
  margin-bottom: 14px;
}
.mal-sektion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mal-sektion-header h2,
.mal-sektion-header .mal-rubrik {
  font-family: var(--hf-font);
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
}

.kampanj-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  border: 2px solid #FF9F46;
  border-radius: 0 10px 0 10px;
  background: #fff;
  margin-bottom: 14px;
}

.verktyg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.verktyg-kort {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.verktyg-kort:hover { border-color: #FF9F46; transform: translateY(-2px); }
.verktyg-kort-titel {
  font-family: var(--hf-font);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  font-style: normal;
}
.verktyg-kort-sub {
  font-size: 12px;
  opacity: 0.5;
  display: block;
  line-height: 1.5;
  font-family: var(--hf-font);
}

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

.modul-kort {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
  overflow: hidden;
}
.modul-kort-header { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.modul-ikon { opacity: 0.4; flex-shrink: 0; margin-top: 2px; }
.modul-info { flex: 1; }
.modul-rubrik {
  font-family: var(--hf-font);
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
  color: #5F5959;
  font-style: normal;
}
.modul-status {
  font-size: 12px;
  opacity: 0.5;
  display: block;
  font-style: normal;
  font-family: var(--hf-font);
}
.modul-chevron {
  margin-left: auto;
  font-size: 16px;
  opacity: 0.22;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: #5F5959;
}
.modul-kort.expanderad .modul-chevron { transform: rotate(90deg); }
.modul-stang {
  font-family: var(--hf-font);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.35;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #5F5959;
  padding: 10px 0 2px;
  display: inline-block;
}
.modul-stang:hover { opacity: 0.7; }
.modul-innehall {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px solid rgba(95,89,89,0.1);
}

.section-label {
  font-family: var(--hf-font) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #5F5959 !important;
  opacity: 0.4 !important;
  margin-bottom: 14px !important;
  margin-top: 32px !important;
  display: block !important;
}

.wrap { max-width: 1100px; margin: 0 auto; }

.checklist-section {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(95,89,89,0.08);
  cursor: pointer;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-dot {
  width: 9px;
  height: 9px;
  border: 2px solid #94AD9B;
  flex-shrink: 0;
}
.checklist-dot.done,
.checklist-dot.klar { background: #94AD9B; }
.checklist-left { display: flex; align-items: center; gap: 14px; flex: 1; }
.checklist-title {
  font-size: 14px;
  font-weight: 700;
  display: block;
  color: #5F5959;
  font-style: normal;
  font-family: var(--hf-font);
}
.checklist-desc {
  font-size: 11px;
  opacity: 0.45;
  margin-top: 2px;
  display: block;
  font-family: var(--hf-font);
}
.checklist-arrow { margin-left: auto; font-size: 18px; opacity: 0.2; }

.team-section {
  border: 2px solid rgba(95,89,89,0.2);
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-top: 16px;
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(95,89,89,0.07);
  border: 2px solid rgba(95,89,89,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--hf-font); font-size: 13px; font-weight: 700; margin-bottom: 3px; font-style: normal; }
.team-role { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.4; font-family: var(--hf-font); }

.coach-chat {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.coach-messages {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  min-height: 240px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coach-msg {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 13px;
  line-height: 1.6;
  font-family: var(--hf-font);
}
.coach-msg.assistant {
  background: rgba(95,89,89,0.05);
  border: 1px solid rgba(95,89,89,0.12);
  border-radius: 0 8px 0 8px;
  align-self: flex-start;
}
.coach-msg.user {
  background: #FF9F46;
  color: #fff;
  border-radius: 0 8px 0 8px;
  align-self: flex-end;
}
.coach-input-row {
  padding: 14px 20px;
  border-top: 1.5px solid rgba(95,89,89,0.1);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.coach-input {
  font-family: var(--hf-font);
  font-size: 13px;
  color: #5F5959;
  border: 2px solid rgba(95,89,89,0.15);
  border-radius: 0 8px 0 8px;
  padding: 10px 14px;
  flex: 1;
  background: #fff;
  outline: none;
  resize: none;
  min-height: 42px;
}
.coach-input:focus { border-color: #FF9F46; }
.coach-send {
  font-family: var(--hf-font);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #FF9F46;
  border: none;
  border-radius: 0 6px 0 6px;
  padding: 10px 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.three60-panel {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}
.three60-tab {
  font-family: var(--hf-font);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px 10px;
  cursor: pointer;
  opacity: 0.4;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  background: transparent;
  color: #5F5959;
}
.three60-tab.active { opacity: 1; border-bottom-color: #FF9F46; }

.ability-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(95,89,89,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: #5F5959;
}
.ability-dot:hover { border-color: #FF9F46; color: #FF9F46; }
.ability-dot.vald { background: #FF9F46; border-color: #FF9F46; color: #fff; }

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}
.commitment-card {
  border: 2px solid rgba(95,89,89,0.15);
  border-radius: 0 10px 0 10px;
  padding: 14px;
  background: #fff;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.commitment-card:hover { border-color: #FF9F46; }
.commitment-card.aktiv    { border-left: 3px solid #FF9F46; }
.commitment-card.paborjad { border-left: 3px solid #94AD9B; }
.commitment-card.stoppad  { border-left: 3px solid rgba(95,89,89,0.25); }
.commitment-card.klar     { border-left: 3px solid #94AD9B; opacity: 0.55; }

.kalendarium-panel {
  border: 2px solid rgba(95,89,89,0.2);
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}
.kalendarium-panel h3 {
  font-family: var(--hf-font);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #5F5959;
  font-style: normal;
}
.kalendarium-lista { display: flex; flex-direction: column; }
.kalendarium-lista a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(95,89,89,0.08);
  text-decoration: none;
  color: #5F5959;
  font-size: 13px;
  font-family: var(--hf-font);
}
.kalendarium-lista a:last-of-type { border-bottom: none; }
.kalendarium-lista a:hover { opacity: 0.65; }
.kalendarium-lista a span:first-child {
  font-weight: 700;
  color: #FF9F46;
  min-width: 100px;
  flex-shrink: 0;
}

.sprak-panel {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}
.ovn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}
.ovn-kort {
  border: 2px solid rgba(95,89,89,0.15);
  border-radius: 0 8px 0 8px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.ovn-kort:hover { border-color: #FF9F46; }
.ovn-kort.klar { border-color: #94AD9B; opacity: 0.65; }

.alumni-historik {
  border: 2px solid #5F5959;
  border-radius: 0 10px 0 10px;
  padding: 28px;
  background: #fff;
}

* {
  font-family: var(--hf-font) !important;
  font-style: normal !important;
}

h1, h2, h3, h4, h5, h6, strong, b {
  font-weight: 700 !important;
}

[style*="color:#c8996a"], [style*="color: #c8996a"] { color: #FF9F46 !important; }
[style*="background:#faf9f7"], [style*="background: #faf9f7"] { background: #fff !important; }
[style*="background-color:#faf9f7"] { background-color: #fff !important; }
[style*="--bg"] { background: #fff !important; }

@media (max-width: 700px) {
  .score-rad { grid-template-columns: 1fr; }
  .verktyg-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .spider-sektion { grid-template-columns: 1fr; }
  .kanban-board { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-botten { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

.forflyttning-hero,
.mal-sektion,
.modul-kort,
.score-kort,
.checklist-section,
.team-section,
.coach-chat,
.three60-panel,
.kalendarium-panel,
.sprak-panel,
.alumni-historik {
  border-radius: 0 10px 0 10px !important;
  background: #ffffff !important;
}

.dashboard-grid > *,
.dashboard-botten > * {
  border-radius: 0 10px 0 10px !important;
  background: #ffffff !important;
}
