/* ==========================================================================
   Section 04 — panel  ("Bütün tahsilatın, tek ekranda.")
   ========================================================================== */

.panel {
  background: var(--bg);
}

.panel__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--container-pad) 120px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

/* --- copy column ---------------------------------------------------------- */
.panel__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
}

.panel__title {
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 18px;
}

.panel__lede {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
  text-wrap: pretty;
}

.panel__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.panel__check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--pink-tint);
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

/* --- dashboard mockup ----------------------------------------------------- */
.panel__mockup {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.panel__side {
  background: var(--bg-tint-2);
  border-right: 1px solid var(--line-soft);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel__logo {
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  margin-bottom: 18px;
}

.panel__nav {
  color: var(--muted-2);
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.panel__nav--active {
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--r-xs);
  font-weight: 700;
}

.panel__main {
  padding: 28px;
}

.panel__label {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
}

.panel__amountRow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 4px;
}

.panel__amount {
  font-weight: 800;
  font-size: 38px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.panel__pill {
  background: var(--pink-tint);
  color: #E0175B;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
}

/* --- chart ---------------------------------------------------------------- */
.panel__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
  margin: 26px 0;
}

.panel__bar {
  flex: 1;
  background: var(--line);
  border-radius: 6px 6px 0 0;
}

.panel__bar--38  { height: 38%; }
.panel__bar--56  { height: 56%; }
.panel__bar--44  { height: 44%; }
.panel__bar--72  { height: 72%; }
.panel__bar--60  { height: 60%; }
.panel__bar--88  { height: 88%; }
.panel__bar--100 { height: 100%; background: var(--grad-pink-red); }

/* --- transaction rows ----------------------------------------------------- */
.panel__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line-5);
  font-size: 14px;
}

.panel__rowLabel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.panel__rowValue {
  color: var(--ink);
  font-weight: 700;
}

.panel__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
}

.panel__dot.pulse-dot {
  animation: pulseDot 2.4s ease infinite;
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  /* 80px/120px matches none of the original's mobile padding selectors, so it
     does NOT collapse — verified 80px top / 120px bottom, gap 64px at 390px. */
  .panel__inner {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-top: 80px;
    padding-bottom: 120px;
  }

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

  /* Verified on the original at 390px, all three are deliberate non-changes:
     - .panel__side keeps border-right (swapping it for a border-bottom adds 1px)
     - .panel__main keeps its 28px padding
     - .panel__amountRow does NOT wrap; the pill stays on the row, gets squeezed,
       and its label breaks onto a second line. That is what the original does. */
}
