/* /css/ilan-ver-arac.css */

/* =========================
   VEHICLE MODULE WRAPPER
========================= */
.iv-dyn-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.iv-form-block[data-vehicle-block],
.iv-dyn-card[data-vehicle-block] {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(246, 194, 41, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.iv-form-block[data-vehicle-block]::before,
.iv-dyn-card[data-vehicle-block]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* =========================
   MODULE HEAD
========================= */
.iv-dyn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.iv-mini-badge {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe07a 0%, #f6c229 100%);
  color: #163252;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(246, 194, 41, 0.18);
  white-space: nowrap;
}

/* =========================
   VEHICLE FORM BLOCKS
========================= */
.iv-form-block[data-vehicle-block="basic"] .ilan-ver-dyn-grid,
.iv-form-block[data-vehicle-block="sales"] .ilan-ver-dyn-grid {
  margin-top: 0;
}

.iv-form-block[data-vehicle-block] label {
  position: relative;
}

.iv-form-block[data-vehicle-block] label > input,
.iv-form-block[data-vehicle-block] label > select {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  min-height: 52px;
  padding-left: 14px;
  padding-right: 14px;
  color: #173055;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.iv-form-block[data-vehicle-block] label > input::placeholder {
  color: #91a0b6;
  font-weight: 600;
}

.iv-form-block[data-vehicle-block] label > input:focus,
.iv-form-block[data-vehicle-block] label > select:focus {
  outline: none;
  border-color: rgba(246, 194, 41, 0.8);
  box-shadow: 0 0 0 4px rgba(246, 194, 41, 0.16);
  transform: translateY(-1px);
}

/* =========================
   VEHICLE EXPERTISE LAYOUT
========================= */
.iv-dyn-card[data-vehicle-block="expertise"] {
  padding: 20px;
}

.iv-veh-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.iv-veh-preview {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top, rgba(246, 194, 41, 0.10), transparent 34%),
    linear-gradient(180deg, #f9fafc 0%, #f3f5f8 100%);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.iv-veh-preview-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.iv-veh-base {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.iv-veh-mask-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.iv-veh-mask-piece {
  position: absolute;
  inset: 0;
  opacity: 0.97;
  -webkit-mask-image: var(--mask-url);
  mask-image: var(--mask-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.iv-veh-mask-piece.is-original {
  background: #4caf50;
}

.iv-veh-mask-piece.is-painted {
  background: #f2db3f;
}

.iv-veh-mask-piece.is-localPaint {
  background: repeating-linear-gradient(
    135deg,
    #f2db3f 0 10px,
    #fff1a8 10px 20px
  );
}

.iv-veh-mask-piece.is-changed {
  background: #ef5350;
}

.iv-veh-mask-piece.is-sokTak {
  background: #ffb74d;
}

/* =========================
   VEHICLE LEGEND
========================= */
.iv-veh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.iv-veh-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #5f7087;
  font-weight: 800;
}

.iv-veh-legend-swatch {
  width: 17px;
  height: 17px;
  border-radius: 6px;
  border: 1px solid rgba(23, 48, 85, 0.08);
  flex: 0 0 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.iv-veh-legend-swatch.is-original {
  background: #4caf50;
}

.iv-veh-legend-swatch.is-painted {
  background: #f2db3f;
}

.iv-veh-legend-swatch.is-localPaint {
  background: repeating-linear-gradient(
    135deg,
    #f2db3f 0 6px,
    #fff1a8 6px 12px
  );
}

.iv-veh-legend-swatch.is-changed {
  background: #ef5350;
}

.iv-veh-legend-swatch.is-sokTak {
  background: #ffb74d;
}

/* =========================
   VEHICLE SELECT GRID
========================= */
.iv-veh-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.iv-veh-field {
  display: grid;
  gap: 8px;
}

.iv-veh-field span {
  color: #173055;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.iv-veh-field select {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0 14px;
  color: #173055;
  font-size: 14px;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.iv-veh-field select:focus {
  outline: none;
  border-color: rgba(246, 194, 41, 0.8);
  box-shadow: 0 0 0 4px rgba(246, 194, 41, 0.16);
  transform: translateY(-1px);
}

.iv-veh-footnote {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #73829a;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

/* =========================
   PREMIUM EMPHASIS
========================= */
.iv-form-block[data-vehicle-block="basic"] {
  border-color: rgba(43, 127, 255, 0.10);
}

.iv-form-block[data-vehicle-block="sales"] {
  border-color: rgba(246, 194, 41, 0.16);
}

.iv-dyn-card[data-vehicle-block="expertise"] {
  border-color: rgba(246, 194, 41, 0.20);
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
  .iv-veh-layout {
    grid-template-columns: 1fr;
  }

  .iv-veh-preview-frame {
    max-width: 320px;
  }

  .iv-veh-preview {
    border-radius: 22px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .iv-dyn-stack {
    gap: 14px;
    margin-top: 16px;
  }

  .iv-dyn-card[data-vehicle-block="expertise"] {
    padding: 14px;
    border-radius: 20px;
  }

  .iv-mini-badge {
    min-height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }

  .iv-veh-preview {
    padding: 14px;
    border-radius: 18px;
  }

  .iv-veh-preview-frame {
    max-width: 250px;
  }

  .iv-veh-select-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .iv-veh-field span {
    font-size: 12px;
  }

  .iv-veh-field select {
    min-height: 46px;
    font-size: 13px;
    border-radius: 14px;
  }

  .iv-veh-legend {
    gap: 8px 12px;
    margin-top: 14px;
  }

  .iv-veh-legend-item {
    font-size: 11px;
  }

  .iv-veh-footnote {
    font-size: 11px;
    padding: 10px 12px;
    border-radius: 14px;
  }
}


/* /css/ilan-ver-arac.css */

/* =========================
   VEHICLE MODULE WRAPPER
========================= */
.iv-dyn-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.iv-form-block[data-vehicle-block],
.iv-dyn-card[data-vehicle-block] {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(246, 194, 41, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.iv-form-block[data-vehicle-block]::before,
.iv-dyn-card[data-vehicle-block]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* =========================
   MODULE HEAD
========================= */
.iv-dyn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.iv-mini-badge {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe07a 0%, #f6c229 100%);
  color: #163252;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(246, 194, 41, 0.18);
  white-space: nowrap;
}

/* =========================
   VEHICLE IDENTITY / CATALOG
========================= */
.iv-form-block[data-vehicle-block="identity"] {
  border-color: rgba(43, 127, 255, 0.14);
}

.iv-catalog-card {
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top left, rgba(43, 127, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.iv-catalog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.iv-catalog-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(43, 127, 255, 0.10);
  border: 1px solid rgba(43, 127, 255, 0.14);
  color: #1a4f92;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.iv-catalog-note {
  color: #6d7f97;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.iv-catalog-path {
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f6fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #173055;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
  word-break: break-word;
}

.iv-catalog-grid {
  margin-top: 0;
}

/* =========================
   VEHICLE FORM BLOCKS
========================= */
.iv-form-block[data-vehicle-block="basic"] .ilan-ver-dyn-grid,
.iv-form-block[data-vehicle-block="sales"] .ilan-ver-dyn-grid {
  margin-top: 0;
}

.iv-form-block[data-vehicle-block] label {
  position: relative;
}

.iv-form-block[data-vehicle-block] label > input,
.iv-form-block[data-vehicle-block] label > select {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  min-height: 52px;
  padding-left: 14px;
  padding-right: 14px;
  color: #173055;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.iv-form-block[data-vehicle-block] label > input::placeholder {
  color: #91a0b6;
  font-weight: 600;
}

.iv-form-block[data-vehicle-block] label > input:focus,
.iv-form-block[data-vehicle-block] label > select:focus {
  outline: none;
  border-color: rgba(246, 194, 41, 0.8);
  box-shadow: 0 0 0 4px rgba(246, 194, 41, 0.16);
  transform: translateY(-1px);
}

/* =========================
   VEHICLE EXPERTISE LAYOUT
========================= */
.iv-dyn-card[data-vehicle-block="expertise"] {
  padding: 20px;
}

.iv-veh-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.iv-veh-preview {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top, rgba(246, 194, 41, 0.10), transparent 34%),
    linear-gradient(180deg, #f9fafc 0%, #f3f5f8 100%);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.iv-veh-preview-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.iv-veh-base {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.iv-veh-mask-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.iv-veh-mask-piece {
  position: absolute;
  inset: 0;
  opacity: 0.97;
  -webkit-mask-image: var(--mask-url);
  mask-image: var(--mask-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.iv-veh-mask-piece.is-original {
  background: #4caf50;
}

.iv-veh-mask-piece.is-painted {
  background: #f2db3f;
}

.iv-veh-mask-piece.is-localPaint {
  background: repeating-linear-gradient(
    135deg,
    #f2db3f 0 10px,
    #fff1a8 10px 20px
  );
}

.iv-veh-mask-piece.is-changed {
  background: #ef5350;
}

.iv-veh-mask-piece.is-sokTak {
  background: #ffb74d;
}

/* =========================
   VEHICLE LEGEND
========================= */
.iv-veh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.iv-veh-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #5f7087;
  font-weight: 800;
}

.iv-veh-legend-swatch {
  width: 17px;
  height: 17px;
  border-radius: 6px;
  border: 1px solid rgba(23, 48, 85, 0.08);
  flex: 0 0 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.iv-veh-legend-swatch.is-original {
  background: #4caf50;
}

.iv-veh-legend-swatch.is-painted {
  background: #f2db3f;
}

.iv-veh-legend-swatch.is-localPaint {
  background: repeating-linear-gradient(
    135deg,
    #f2db3f 0 6px,
    #fff1a8 6px 12px
  );
}

.iv-veh-legend-swatch.is-changed {
  background: #ef5350;
}

.iv-veh-legend-swatch.is-sokTak {
  background: #ffb74d;
}

/* =========================
   VEHICLE SELECT GRID
========================= */
.iv-veh-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.iv-veh-field {
  display: grid;
  gap: 8px;
}

.iv-veh-field span {
  color: #173055;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.iv-veh-field select {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0 14px;
  color: #173055;
  font-size: 14px;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.iv-veh-field select:focus {
  outline: none;
  border-color: rgba(246, 194, 41, 0.8);
  box-shadow: 0 0 0 4px rgba(246, 194, 41, 0.16);
  transform: translateY(-1px);
}

.iv-veh-footnote {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #73829a;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

/* =========================
   PREMIUM EMPHASIS
========================= */
.iv-form-block[data-vehicle-block="basic"] {
  border-color: rgba(43, 127, 255, 0.10);
}

.iv-form-block[data-vehicle-block="sales"] {
  border-color: rgba(246, 194, 41, 0.16);
}

.iv-dyn-card[data-vehicle-block="expertise"] {
  border-color: rgba(246, 194, 41, 0.20);
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
  .iv-veh-layout {
    grid-template-columns: 1fr;
  }

  .iv-veh-preview-frame {
    max-width: 320px;
  }

  .iv-veh-preview {
    border-radius: 22px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .iv-dyn-stack {
    gap: 14px;
    margin-top: 16px;
  }

  .iv-dyn-card[data-vehicle-block="expertise"] {
    padding: 14px;
    border-radius: 20px;
  }

  .iv-mini-badge {
    min-height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }

  .iv-catalog-card {
    padding: 14px;
    border-radius: 18px;
  }

  .iv-catalog-path {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
  }

  .iv-veh-preview {
    padding: 14px;
    border-radius: 18px;
  }

  .iv-veh-preview-frame {
    max-width: 250px;
  }

  .iv-veh-select-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .iv-veh-field span {
    font-size: 12px;
  }

  .iv-veh-field select {
    min-height: 46px;
    font-size: 13px;
    border-radius: 14px;
  }

  .iv-veh-legend {
    gap: 8px 12px;
    margin-top: 14px;
  }

  .iv-veh-legend-item {
    font-size: 11px;
  }

  .iv-veh-footnote {
    font-size: 11px;
    padding: 10px 12px;
    border-radius: 14px;
  }
}

.iv-veh-mask-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform: translateY(-10px);
}