/* ==========================================================================
   SPRZEDAJWÓZ - CALCULATORS STYLESHEET (css/calculators.css)
   Leasing Financing & Customs/Tax Import Calculators
   ========================================================================== */

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin-bottom: 3rem;
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 700;
}

.calc-slider-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
}

/* Calculator Summary Box */
.calc-summary-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-summary-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ef4444);
}

.calc-result-main {
  text-align: center;
  margin-bottom: 1.5rem;
}

.calc-result-label {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
}

.calc-result-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin: 0.25rem 0;
}

.calc-result-sub {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
}

.calc-breakdown-row span:last-child {
  font-weight: 800;
  color: #0f172a;
}

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

/* ==========================================================================
   ZONE MODE SWITCHER & FORMS (LEASING & IMPORT)
   ========================================================================== */
.zone-nav-switcher {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.zone-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: #475569;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zone-mode-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}

.zone-mode-tab.active,
.zone-mode-tab.active-blue {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.zone-mode-tab.active-purple {
  background: #ffffff;
  color: #7c3aed;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Zone Content Panels */
.zone-content-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.zone-content-panel.active {
  display: block;
}

/* Cesja / Import Form Builder */
.zone-form-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.zone-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
}

.zone-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.zone-form-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-form-step-num.blue {
  background: #38bdf8;
}

.zone-form-step-num.purple {
  background: #c084fc;
}

.zone-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.zone-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Cesja Details Callout Badges inside Cards */
.cesja-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  margin: 0.75rem 0;
  text-align: center;
}

.cesja-meta-item {
  display: flex;
  flex-direction: column;
}

.cesja-meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.cesja-meta-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
}

/* Import Meta Strip */
.import-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  margin: 0.75rem 0;
  text-align: center;
}

.import-meta-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #c084fc;
}

/* Comparison Cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.compare-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.compare-card.highlight {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

.compare-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

