/* ==========================================================================
   FinBillx Website Product Tour & Showcase (Clean App Alignment)
   ========================================================================== */

.showcase-wrapper {
  background: var(--fb-bg-card);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-lg);
  overflow: hidden;
  box-shadow: var(--fb-shadow-card);
}

.showcase-tabs {
  display: flex;
  background: var(--fb-bg-page);
  border-bottom: 1px solid var(--fb-border);
  overflow-x: auto;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: var(--fb-space-2);
  padding: var(--fb-space-3) var(--fb-space-5);
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: var(--fb-font-size-base);
  font-weight: var(--fb-font-weight-medium);
  color: var(--fb-text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--fb-transition-fast);
}

.showcase-tab-btn:hover {
  color: var(--fb-text-primary);
}

.showcase-tab-btn.active {
  color: var(--fb-primary);
  background: var(--fb-bg-card);
  border-bottom-color: var(--fb-primary);
  font-weight: var(--fb-font-weight-semibold);
}

.showcase-body {
  padding: var(--fb-space-6);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--fb-space-6);
  align-items: center;
}

@media (max-width: 900px) {
  .showcase-layout {
    grid-template-columns: 1fr;
  }
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.showcase-info-title {
  font-size: var(--fb-font-size-lg);
  font-weight: var(--fb-font-weight-bold);
  color: var(--fb-text-primary);
}

.showcase-info-desc {
  font-size: var(--fb-font-size-base);
  color: var(--fb-text-muted);
  line-height: 1.5;
}

.showcase-feature-points {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-2);
  margin-top: var(--fb-space-1);
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: var(--fb-space-2);
}

.point-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--fb-radius-full);
  background: var(--fb-success-bg);
  color: var(--fb-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.point-text {
  font-size: var(--fb-font-size-sm);
  color: var(--fb-text-secondary);
  line-height: 1.4;
}

.interactive-simulation-box {
  background: var(--fb-bg-page);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-md);
  padding: var(--fb-space-4);
}

.interactive-calc-wrapper {
  background: var(--fb-bg-card);
  border-radius: var(--fb-radius-md);
  padding: var(--fb-space-4);
  border: 1px solid var(--fb-border);
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.calc-line-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--fb-space-2);
  align-items: center;
}

.calc-input {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-sm);
  background: var(--fb-bg-page);
  color: var(--fb-text-primary);
  font-size: var(--fb-font-size-xs);
}

.calc-input:focus {
  outline: none;
  border-color: var(--fb-primary);
}

.workspace-list-preview {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-2);
}

.workspace-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fb-space-3);
  background: var(--fb-bg-card);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-md);
  cursor: pointer;
  transition: border-color var(--fb-transition-fast);
}

.workspace-item:hover,
.workspace-item.active {
  border-color: var(--fb-primary);
}

.workspace-meta {
  display: flex;
  align-items: center;
  gap: var(--fb-space-3);
}

.workspace-avatar {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.workspace-title {
  font-size: var(--fb-font-size-sm);
  font-weight: var(--fb-font-weight-semibold);
  color: var(--fb-text-primary);
}

.workspace-currency {
  font-size: 11px;
  color: var(--fb-text-muted);
}

.report-chart-preview {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: var(--fb-space-3);
  height: 120px;
  padding-top: var(--fb-space-2);
  border-bottom: 1px solid var(--fb-border);
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  background: var(--fb-primary);
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.bar-fill.accent {
  background: var(--fb-success);
}

.bar-label {
  font-size: 10px;
  color: var(--fb-text-muted);
}
