:root {
  --accent: #9e0333;
  --accent2: #c70442;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #12131a;
  --muted: #5b6072;
  --border: rgba(20,20,40,.12);
  --shadow: 0 20px 70px rgba(15, 18, 30, .10);
}

/* ===== GLOBAL RESET ===== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

/* ===== SELECT STYLING ===== */
.pcb-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background: linear-gradient(180deg,#fff 0%, #fbfcff 100%);
  cursor: pointer;
}

.pcb-field .pcb-select {
  background-image:
    linear-gradient(45deg, transparent 50%, #70768a 50%),
    linear-gradient(135deg, #70768a 50%, transparent 50%),
    linear-gradient(180deg,#fff 0%, #fbfcff 100%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
}

/* ===== PAGE ===== */
.pcb-page {
  width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  overflow: visible !important;
}

/* ===== HERO ===== */
.pcb-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(900px 420px at 10% 12%, rgba(158,3,51,.12), transparent 60%),
    radial-gradient(680px 360px at 90% 88%, rgba(199,4,66,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 10px;
}

.pcb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20,20,40,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,40,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .45;
  pointer-events: none;
}

.pcb-hero-inner { position: relative; z-index: 1; }

.pcb-title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.pcb-title .grad {
  background: linear-gradient(90deg,var(--accent),#ff2d6a,var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pcbGrad 3s linear infinite;
}

@keyframes pcbGrad {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.pcb-head { display: block; }

/* ===== PROCESS BANNER ===== */
.pcb-processbar {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(600px 160px at 10% 10%, rgba(158,3,51,.10), transparent 60%),
    linear-gradient(180deg,#fff 0%, #fbfcff 100%);
  box-shadow: 0 10px 30px rgba(10,12,20,.05);
  overflow: hidden;
}

.pcb-mini-steps {
  padding: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.pcb-mini-step {
  max-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,20,40,.10);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15,18,30,.06);
}

.pcb-mini-step:hover {
  border-color: rgba(158,3,51,.22);
  box-shadow: 0 14px 30px rgba(15,18,30,.08);
}

.pcb-mini-num {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow: 0 10px 18px rgba(158,3,51,.18);
  flex: 0 0 auto;
}

.pcb-mini-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pcb-mini-text b {
  font-size: 12px;
  font-weight: 900;
  color: #1c2030;
  line-height: 1.1;
  white-space: nowrap;
}

.pcb-mini-text span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .pcb-mini-step {
    flex: 1 1 calc(50% - 10px);
    max-width: 420px;
  }
  .pcb-mini-text b, .pcb-mini-text span { white-space: normal; }
}

@media (max-width: 420px) {
  .pcb-mini-step {
    flex: 1 1 100%;
    max-width: 520px;
  }
}

/* ===== GRID LAYOUT ===== */
.pcb-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 12px;
}

.pcb-grid > * { min-width: 0; }

@media (min-width: 861px) {
  .pcb-grid { align-items: flex-start; }
  
  .pcb-price-sticky {
    position: -webkit-sticky;
    position: sticky !important;
    top: 20px !important;
    z-index: 10;
  }
}

@media (max-width: 860px) {
  .pcb-grid {
    grid-template-columns: 1fr !important;
    align-items: stretch;
  }
  
  .pcb-price-sticky {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 1440px) {
  #content { padding: 10px !important; }
}

/* ===== CARDS ===== */
.pcb-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(10,12,20,.08);
  overflow: hidden;
  min-width: 0;
}

.pcb-card-head { padding: 12px 12px 0 12px; }

.pcb-card-title {
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 5px;
}

.pcb-card-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pcb-form-wrap { padding: 12px; }
.pcb-process { padding: 12px 14px 14px 14px; }

/* ===== SEPARATORS ===== */
.pcb-sep {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(20,20,40,.08);
  margin: 4px 0;
}

/* ===== PREVIEW ===== */
.pcb-preview {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg,#fff 0%, #fbfcff 100%);
  margin-bottom: 10px;
}

.pcb-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.pcb-preview-title {
  font-weight: 900;
  font-size: 12.5px;
  color: #1c2030;
}

.pcb-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pcb-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  border: 1px solid var(--border);
  background: #fff;
  color: #2b2f40;
  white-space: nowrap;
}

.pcb-chip b { color: var(--accent); }

.pcb-preview-body {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.pcb-preview-warn {
  display: none;
  border: 1px solid rgba(190,40,75,0.18);
  background: rgba(190,40,75,0.08);
  color: #6a0f2b;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.35;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pcb-svggrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width:720px) {
  .pcb-svggrid { grid-template-columns: 1fr; }
}

.pcb-svgpanel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcb-svgbox {
  position: relative;
  border: 1px dashed rgba(20,20,40,.16);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  min-width: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcb-svgbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,12,20,.12);
}

.pcb-svgbox svg {
  width: 100%;
  max-height: 250px;
  display: block;
}

.pcb-svgbox.has-svg::before {
  content: "🔍";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pcb-svgbox.has-svg:hover::before { opacity: 1; }

.pcb-svgbox.loading::after {
  content: "Yükleniyor...";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width:720px) {
  .pcb-svgbox { min-height: 160px; }
}

/* ===== FORM ===== */
.pcb-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width:720px) {
  .pcb-form {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.pcb-field {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 4px 12px;
  min-width: 0;
}

.pcb-field > label {
  grid-column: 1;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #3a3f55;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  white-space: normal;
}

.pcb-field > :not(label) { grid-column: 2; }
.pcb-field .pcb-help { grid-column: 1 / -1; }

.pcb-field input,
.pcb-field select,
.pcb-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #141825;
  padding: 8px 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-size: 12.5px;
}

.pcb-field textarea {
  min-height: 80px;
  resize: vertical;
}

.pcb-field input:focus,
.pcb-field select:focus,
.pcb-field textarea:focus {
  border-color: rgba(158,3,51,0.45);
  box-shadow: 0 0 0 4px rgba(158,3,51,0.12);
}

.pcb-field input[type="number"] {
  -moz-appearance: textfield;
}

.pcb-field input[type="number"]::-webkit-outer-spin-button,
.pcb-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pcb-span-2 { grid-column: 1 / -1; }

.pcb-help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.pcb-hidden { display: none !important; }

.pcb-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 0 4px;
  line-height: 1.3;
}

@media (max-width:720px) {
  .pcb-field {
    grid-template-columns: 1fr;
  }
  
  .pcb-field > label,
  .pcb-field > :not(label),
  .pcb-field .pcb-help {
    grid-column: 1;
  }
  
  .pcb-field > label { margin-top: 0; }
}

/* ===== RADIO BUTTONS ===== */
.pcb-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcb-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pcb-radio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #1c2030;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.pcb-radio-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 18, 30, .08);
  border-color: rgba(158,3,51,0.28);
}

.pcb-radio-group input[type="radio"]:focus + .pcb-radio-btn {
  box-shadow: 0 0 0 4px rgba(158,3,51,0.12);
  border-color: rgba(158,3,51,0.45);
}

.pcb-radio-group input[type="radio"]:checked + .pcb-radio-btn {
  background: linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  color: #fff;
  border-color: rgba(158,3,51,0.30);
  box-shadow: 0 14px 34px rgba(158,3,51,0.22);
}

.pcb-radio-group input[type="radio"]:checked + .pcb-radio-btn::after {
  content: "✓";
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.pcb-radio-btn[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ===== PANEL CARD (Unified Design System) ===== */
.pcb-panel-card {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(10,12,20,.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pcb-panel-card:hover {
  border-color: rgba(158,3,51,.15);
  box-shadow: 0 12px 32px rgba(10,12,20,.10);
}

/* Header Section */
.pcb-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(20,20,40,.08);
}

.pcb-panel-title-group {
  flex: 1;
  min-width: 0;
}

.pcb-panel-title {
  font-weight: 900;
  font-size: 13.5px;
  color: #1c2030;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcb-panel-title::before {
  content: "●";
  color: var(--accent);
  font-size: 10px;
}

.pcb-panel-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

.pcb-panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 1px solid rgba(158,3,51,.18);
  background: rgba(158,3,51,.06);
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Content Section */
.pcb-panel-content {
  display: grid;
  gap: 12px;
}

/* Grid Layouts */
.pcb-panel-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pcb-panel-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Field Styling inside Panel */
.pcb-panel-card .pcb-field {
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: stretch;
}

.pcb-panel-card .pcb-field > label {
  margin-top: 0;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 900;
  color: #3a3f55;
}

.pcb-panel-card .pcb-field input,
.pcb-panel-card .pcb-field select {
  width: 100%;
}

/* Help Text */
.pcb-panel-help {
  grid-column: 1 / -1;
  padding: 10px 12px;
  background: rgba(158,3,51,.04);
  border: 1px dashed rgba(158,3,51,.12);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

.pcb-panel-help b {
  color: var(--accent);
  font-weight: 900;
}

.pcb-panel-help small {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--muted);
  opacity: 0.8;
}

/* Responsive Behavior */
@media (max-width: 860px) {
  .pcb-panel-grid-2,
  .pcb-panel-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .pcb-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pcb-panel-badge {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .pcb-panel-card {
    padding: 12px;
  }
  
  .pcb-panel-title {
    font-size: 12.5px;
  }
  
  .pcb-panel-sub {
    font-size: 11px;
  }
}

/* ===== SECTION ===== */
.pcb-section {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg,#fff 0%, #fbfcff 100%);
  padding: 10px;
  box-shadow: 0 8px 24px rgba(10,12,20,.04);
  margin-top: 4px;
}

.pcb-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(20,20,40,.10);
}

.pcb-section-title {
  font-weight: 900;
  font-size: 12.5px;
  color: #1c2030;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pcb-section-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

/* ===== PRICE BOX ===== */
.pcb-pricebox {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background:
    radial-gradient(520px 220px at 8% 18%, rgba(158,3,51,.08), transparent 60%),
    linear-gradient(180deg,#fff 0%, #fbfcff 100%);
}

.pcb-price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pcb-price-title {
  font-weight: 900;
  font-size: 13px;
  color: #1c2030;
}

.pcb-price-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.pcb-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(158,3,51,.18);
  background: rgba(158,3,51,.06);
  color: var(--accent);
  white-space: nowrap;
}

.pcb-price-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width:520px) {
  .pcb-price-body { grid-template-columns: 1fr; }
}

.pcb-price-total {
  border: 1px solid rgba(158,3,51,.18);
  background: rgba(158,3,51,.045);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
}

.pcb-price-total small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  font-size: 11px;
}

.pcb-price-total strong {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}

.pcb-price-lines {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
}

.pcb-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(20,20,40,.10);
  font-size: 12.5px;
}

.pcb-price-line:last-child { border-bottom: none; }
.pcb-price-line span { color: var(--muted); font-weight: 800; }
.pcb-price-line b { color: #1c2030; font-weight: 900; white-space: nowrap; }

.pcb-price-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width:520px) {
  .pcb-price-actions {
    justify-content: stretch;
  }
  .pcb-price-actions .pcb-btn {
    width: 100%;
    justify-content: center;
  }
}

.pcb-price-summary {
  margin-top: 10px;
  border: 1px dashed rgba(20,20,40,.18);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #2b2f40;
}

.pcb-price-summary b {
  color: var(--accent);
  font-weight: 900;
}

.pcb-price-summary .row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(20,20,40,.10);
  font-size: 12px;
}

.pcb-price-summary .k {
  color: var(--muted);
  font-weight: 800;
  min-width: 140px;
}

.pcb-price-summary .v {
  font-weight: 900;
  white-space: normal;
  text-align: left;
}

.pcb-price-summary .row:last-child { border-bottom: none; }

.pcb-price-summary .meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 420px) {
  .pcb-price-summary .row {
    flex-direction: column;
    gap: 4px;
  }
  .pcb-price-summary .k { min-width: 0; }
}

/* ===== BUTTONS ===== */
.pcb-btn {
  background: linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(158,3,51,0.22);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.pcb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(158,3,51,0.28);
}

.pcb-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.pcb-btn-outline {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.pcb-btn-outline:hover {
  background: rgba(158,3,51,.06);
}

/* ===== MESSAGES ===== */
.pcb-success {
  display: none;
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(28,120,70,0.10);
  border: 1px solid rgba(28,120,70,0.18);
  color: #0f2b1e;
}

.pcb-error {
  display: none;
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(190,40,75,0.08);
  border: 1px solid rgba(190,40,75,0.18);
  color: #6a0f2b;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ===== MODAL ===== */
.pcb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.pcb-modal.is-open { display: block; }

.pcb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,20,.55);
  backdrop-filter: blur(3px);
}

.pcb-modal__dialog {
  position: relative;
  width: min(720px, calc(100% - 28px));
  margin: min(7vh, 48px) auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(10,12,20,.35);
  overflow: hidden;
}

.pcb-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 14px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(520px 180px at 10% 20%, rgba(158,3,51,.10), transparent 60%),
    linear-gradient(180deg,#fff 0%, #fbfcff 100%);
}

.pcb-modal__title {
  font-weight: 900;
  font-size: 14px;
  color: #1c2030;
}

.pcb-modal__sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}

.pcb-modal__close {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-weight: 900;
  color: #2b2f40;
}

.pcb-modal__close:hover {
  border-color: rgba(158,3,51,.22);
  box-shadow: 0 10px 24px rgba(15,18,30,.10);
}

.pcb-modal__body { padding: 14px; }

.pcb-modal__warnbox {
  border: 1px solid rgba(190,40,75,0.18);
  background: rgba(190,40,75,0.06);
  color: #421020;
  border-radius: 14px;
  padding: 12px 12px;
}

.pcb-modal__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
}

.pcb-modal__list b { color: var(--accent); }

.pcb-modal__check {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #1c2030;
  font-weight: 800;
  user-select: none;
}

.pcb-modal__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.pcb-modal__mini {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}

.pcb-modal__foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 14px 14px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}

@media (max-width:520px) {
  .pcb-modal__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .pcb-modal__foot .pcb-btn {
    width: 100%;
    justify-content: center;
  }
}

.pcb-modal__err {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(190,40,75,0.10);
  border: 1px solid rgba(190,40,75,0.22);
  color: #6a0f2b;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ===== ZOOM MODAL ===== */
.pcb-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  animation: fadeIn 0.2s ease;
}

.pcb-zoom-modal.is-open { display: block; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pcb-zoom-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,20,0.92);
  backdrop-filter: blur(4px);
}

.pcb-zoom-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pcb-zoom-modal__header {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.pcb-zoom-modal__title {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 900;
  font-size: 14px;
  color: #1c2030;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcb-zoom-modal__title span {
  display: inline-block;
  padding: 4px 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.pcb-zoom-modal__close {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  color: #2b2f40;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pcb-zoom-modal__close:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.pcb-zoom-modal__svg-container {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  width: 95vw;
  height: 85vh;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcb-zoom-modal__svg-wrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
  cursor: grab;
  position: relative;
  text-align: -webkit-center;
}

.pcb-zoom-modal__svg-wrapper.dragging {
  cursor: grabbing !important;
  user-select: none;
}

.pcb-zoom-modal__svg-wrapper:active { cursor: grabbing; }

.pcb-zoom-modal__svg-wrapper::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.pcb-zoom-modal__svg-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

.pcb-zoom-modal__svg-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 6px;
}

.pcb-zoom-modal__svg-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.pcb-zoom-modal__svg-inner { display: inline-block; }

.pcb-zoom-modal__svg-content {
  position: relative;
  display: block;
  padding: 60px;
  box-sizing: content-box;
}

.pcb-zoom-modal__controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 10;
}

.pcb-zoom-modal__btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.pcb-zoom-modal__btn.btn-switch {
  font-size: 12px;
  gap: 6px;
}

.pcb-zoom-modal__btn.btn-switch span { font-size: 16px; }

.pcb-zoom-modal__btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158,3,51,0.25);
}

.pcb-zoom-modal__btn:active { transform: translateY(0); }

.pcb-zoom-modal__info {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .pcb-zoom-modal__header {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  
  .pcb-zoom-modal__title {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .pcb-zoom-modal__close {
    width: 38px;
    height: 38px;
  }
  
  .pcb-zoom-modal__controls { bottom: 15px; }
  .pcb-zoom-modal__info {
    bottom: 70px;
    font-size: 11px;
  }
}



/* Teknik Kişi Kartı için ek stiller (eğer gerekirse) */
#pcbTechContactCard .pcb-field input {
  font-size: 12.5px;
}

#pcbTechContactCard .pcb-field input::placeholder {
  color: #9ca3af;
  opacity: 0.7;
}

#pcbTechContactCard .pcb-field input:focus::placeholder {
  opacity: 0.5;
}

/* Mobil responsive ayarı zaten view-style.css'te var ama ek kontrol */
@media (max-width: 860px) {
  #pcbTechContactCard .pcb-panel-grid-2 {
    grid-template-columns: 1fr !important;
  }
}