/* Page specific styles: index */

.swa-section {
  padding: 56px 0;
}

.swa-hero {
  background: linear-gradient(120deg,#f2542d 0%,#f57c1f 55%,#f2a13a 100%);
  border-radius: 16px;
  padding: 34px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  color: #fff;
  margin-bottom: 26px;
}

.swa-hero-text {
  max-width: 620px;
}

.swa-hero-text h2 {
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 10px;
}

.swa-hero-text p {
  color: #ffe3d1;
  font-size: .98rem;
  margin-bottom: 18px;
}

.swa-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.swa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--saffron-dark);
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: .9rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.swa-btn:hover {
  background: #fff0e6;
  text-decoration: none;
}

.swa-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
}

.swa-btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.swa-hero-stats {
  display: flex;
  gap: 34px;
  flex-shrink: 0;
}

.swa-hero-stats div strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.1;
}

.swa-hero-stats div span {
  font-size: .8rem;
  color: #ffe3d1;
}

.swa-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
}

.swa-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.swa-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.swa-item:last-child {
  border-bottom: 0;
}

.swa-item:hover {
  background: var(--paper);
}

.swa-item.is-active {
  background: #fff5ee;
  box-shadow: inset 3px 0 0 var(--saffron);
}

.swa-item-ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.swa-item-txt strong {
  display: block;
  font-size: .88rem;
  color: var(--ink);
}

.swa-item-txt span {
  font-size: .75rem;
  color: var(--muted);
}

.swa-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.swa-cat {
  display: inline-block;
  background: #fff0e6;
  color: var(--saffron-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.swa-panel h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.swa-panel p.swa-desc {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 18px;
  max-width: 640px;
}

.swa-window {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 18px;
}

.swa-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef1f5;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.swa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.swa-window-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .72rem;
  color: var(--muted);
  text-align: center;
  margin-left: 6px;
}

.swa-window-body {
  display: flex;
  min-height: 230px;
}

.swa-window-side {
  width: 150px;
  background: var(--navy-dark);
  color: #cfd9ea;
  padding: 14px 12px;
  flex: 0 0 auto;
}

.swa-window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.swa-window-brand span:first-child {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--saffron);
}

.swa-window-brand span:last-child {
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
}

.swa-window-nav a {
  display: block;
  padding: 7px 8px;
  border-radius: 5px;
  font-size: .78rem;
  color: #cfd9ea;
  text-decoration: none;
  margin-bottom: 2px;
}

.swa-window-nav a.on {
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 600;
}

.swa-window-main {
  flex: 1;
  padding: 16px 18px;
  background: #fbfcfe;
}

.swa-window-main h4 {
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.swa-kpis {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.swa-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
}

.swa-kpi span {
  display: block;
  font-size: .68rem;
  color: var(--muted);
}

.swa-kpi strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.swa-kpi em {
  font-style: normal;
  font-size: .68rem;
  color: var(--green);
  font-weight: 700;
}

.swa-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px 8px;
}

.swa-chart span {
  font-size: .7rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.swa-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}

.swa-bars i {
  flex: 1;
  background: linear-gradient(180deg,#5b8def,#3667d6);
  border-radius: 4px 4px 0 0;
  display: block;
}

.swa-months {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

.swa-months span {
  flex: 1;
  text-align: center;
  font-size: .62rem;
  color: var(--muted);
}

.swa-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.swa-check div {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--ink);
}

.swa-check div b {
  color: var(--green);
  font-weight: 700;
}

.swa-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.swa-foot small {
  color: var(--muted);
  font-size: .72rem;
  font-style: italic;
}

@media(max-width:860px) {
  .swa-body {
    grid-template-columns: 1fr;
  }
  .swa-window-body {
    flex-direction: column;
  }
  .swa-window-side {
    width: 100%;
  }
}

@media(max-width:520px) {
  .swa-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .swa-hero-stats {
    gap: 22px;
  }
  .swa-kpis {
    grid-template-columns: 1fr;
  }
  .swa-check {
    grid-template-columns: 1fr;
  }
}
