@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@400;500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --red: #D72638;
  --red-dark: #B01E2C;
  --red-light: rgba(215, 38, 56, 0.08);
  --bg: #F8F8F6;
  --surface: #FFFFFF;
  --surface2: #F2F2EF;
  --border: #E4E4DF;
  --border2: #D0D0CA;
  --text: #1A1A1A;
  --text2: #555550;
  --text3: #999990;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
}

/* TOPBAR */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.logo-wrap img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.topbar-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
  font-family: 'DM Mono', monospace;
}

/* HERO */
.hero {
  background: var(--surface);
  border-bottom: 2px solid var(--red);
  padding: 2.2rem 2rem 1.8rem;
  text-align: center;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero p {
  font-size: 0.82rem;
  color: var(--text3);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* STEPS */
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1rem 0;
  flex-wrap: wrap;
  gap: 10px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 0.75rem;
  transition: color 0.3s;
}

.step.active {
  color: var(--text);
}

.step.done {
  color: var(--red);
}

.step-num {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-family: 'DM Mono', monospace;
  transition: all 0.3s;
  flex-shrink: 0;
}

.step.active .step-num {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.step.done .step-num {
  border-color: var(--red);
  background: var(--red-dark);
  color: #fff;
}

.step-line {
  width: 36px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* LAYOUT */
.main {
  max-width: 1140px;
  margin: 1.75rem auto;
  padding: 0 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: start;
}


@media (max-width: 840px) {
  .main {
    grid-template-columns: 1fr;
  }
}

/* PANEL */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.3s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: var(--red);
  letter-spacing: 1px;
}

.panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--text);
  flex: 1;
}

.panel-body {
  padding: 1.35rem 1.5rem;
}

/* UPLOAD */
.upload-zone {
  border: 2px dashed var(--border2);
  border-radius: 6px;
  padding: 2.2rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  background: var(--bg);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--red);
  background: var(--red-light);
}

.upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  display: block;
}

.upload-zone h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.upload-zone p {
  font-size: 0.72rem;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  letter-spacing: 1px;
}

.file-info {
  display: none;
  background: var(--red-light);
  border: 1px solid rgba(215, 38, 56, 0.25);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  align-items: center;
  gap: 10px;
}

.file-info.show {
  display: flex;
}

.file-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.file-name {
  flex: 1;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--text2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-remove {
  color: var(--text3);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
  flex-shrink: 0;
}

.file-remove:hover {
  color: var(--red);
}

.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.65rem;
  display: none;
}

.progress-bar.show {
  display: block;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-radius: 2px;
  width: 0%;
  transition: width 0.25s;
}

/* 3D CANVAS */
.canvas-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  background: radial-gradient(ellipse at 50% 35%, #f0eae8 0%, #e8e8e4 100%);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  cursor: grab;
}

.canvas-wrap:active {
  cursor: grabbing;
}

.canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  transition: opacity 0.45s;
}

.canvas-hint {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 0.58rem;
  font-family: 'DM Mono', monospace;
  color: rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  pointer-events: none;
}

.canvas-dims {
  position: absolute;
  top: 9px;
  right: 12px;
  font-size: 0.6rem;
  font-family: 'DM Mono', monospace;
  color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  text-align: right;
  line-height: 1.7;
  white-space: pre;
}

.canvas-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text3);
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-family: 'DM Mono', monospace;
}

.canvas-placeholder .pl-icon {
  font-size: 2rem;
}

.parse-status {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.58rem;
  font-family: 'DM Mono', monospace;
  color: var(--red);
  letter-spacing: 1px;
  pointer-events: none;
}

/* OPTIONS LOCK */
.options-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  gap: 9px;
}

.options-lock .lock-icon {
  font-size: 2rem;
}

.options-lock h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: var(--text);
}

.options-lock p {
  font-size: 0.76rem;
  color: var(--text3);
  line-height: 1.65;
  max-width: 240px;
}

.options-lock .bounce {
  font-size: 1.3rem;
  color: var(--red);
  animation: bounce 1.1s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

/* FORM ELEMENTS */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 540px) {

  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
}

select,
input[type=number],
input[type=text] {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-family: 'Outfit', sans-serif;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23D72638' d='M5 7L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
  background-color: var(--bg);
}

select:focus,
input[type=number]:focus,
input[type=text]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

select option {
  background: #fff;
}

/* COLOR SWATCHES */
.color-group-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.45rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.finish-tag {
  font-size: 0.57rem;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 1px;
}

.finish-tag.matte {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text2);
}

.finish-tag.silk {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(215, 38, 56, 0.2);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  /* border: 2px solid transparent; */
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.swatch:hover {
  transform: scale(1.18);
}

.swatch.selected {
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--red), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.swatch[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  font-family: 'DM Mono', monospace;
  z-index: 20;
}

.swatch.rainbow {
  background: conic-gradient(red, orange, yellow, green, blue, violet, red);
}

#selectedColorDisplay {
  font-size: 0.68rem;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  margin-top: 0.15rem;
}

/* QTY */
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.qty-btn {
  background: var(--surface2);
  border: none;
  color: var(--text);
  width: 34px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: var(--red);
  color: #fff;
}

.qty-input {
  flex: 1;
  border: none;
  background: #fff;
  color: var(--text);
  text-align: center;
  font-size: 0.88rem;
  font-family: 'DM Mono', monospace;
  padding: 0.4rem 0;
  height: 36px;
  outline: none;
}

/* TOGGLE */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

.toggle-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.toggle-sub {
  font-size: 0.67rem;
  color: var(--text3);
  margin-top: 2px;
}

.toggle {
  width: 38px;
  height: 21px;
  background: var(--border2);
  border-radius: 11px;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}

.toggle.on {
  background: var(--red);
}

.toggle::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.25s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle.on::after {
  left: calc(100% - 18px);
}

/* RANGE */
.range-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.range-val {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  min-width: 38px;
  text-align: right;
}

input[type=range] {
  flex: 1;
  padding: 0;
  height: 4px;
  background: var(--border);
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 2px;
  accent-color: var(--red);
}

/* GAPS / LABELS */
.gap {
  height: 1rem;
}

.gap-sm {
  height: 0.6rem;
}

.sec-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* CERT */
.cert-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 1rem;
}

.cert-box input[type=checkbox] {
  width: 14px;
  height: 14px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
  cursor: pointer;
}

.cert-box p {
  font-size: .9rem;
  color: var(--text3);
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: initial;
  font-weight: 400;
}

/* ALERTS */
.alert {
  background: rgba(215, 38, 56, 0.07);
  border: 1px solid rgba(215, 38, 56, 0.25);
  border-radius: 5px;
  padding: 0.65rem 0.9rem;
  font-size: 0.74rem;
  color: var(--red);
  margin-top: 0.85rem;
  display: none;
  font-weight: 500;
}

.alert.show {
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0.78rem 1.4rem;
  border: none;
  border-radius: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(215, 38, 56, 0.3);
}

.btn-primary:disabled {
  background: var(--border2);
  color: var(--text3);
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-copy {
  background: var(--bg);
  color: var(--text2);
  border: 1px solid var(--border2);
  font-size: 0.75rem;
}

.btn-copy:hover {
  border-color: var(--text3);
  color: var(--text);
}

.btn-copy.copied {
  border-color: #16a34a;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.06);
}

.btn-add {
  background: var(--surface2);
  color: var(--red);
  border: 1.5px dashed rgba(215, 38, 56, 0.4);
  font-size: 0.76rem;
}

.btn-add:hover {
  background: var(--red-light);
  border-color: var(--red);
}

/* QUOTE PANEL */

.right_panel {
  position: sticky;
  top: 80px;
}

.quote-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.qp-header {
  background: var(--red);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px 7px 0 0;
}

.qp-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: #fff;
}

.live-badge {
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  font-family: 'DM Mono', monospace;
}

.qp-body {
  padding: 1.25rem 1.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.44rem 0;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-of-type {
  border-bottom: none;
}

.stat-label {
  color: var(--text3);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.stat-val {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--text2);
  text-align: right;
  max-width: 55%;
  word-break: break-all;
}

.price-box {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  margin: 0.85rem 0;
}

.price-box .per-unit {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.price-box .amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--red);
  line-height: 1;
  letter-spacing: 2px;
}

.price-box .total-line {
  font-size: 0.7rem;
  color: var(--text2);
  margin-top: 0.25rem;
  font-family: 'DM Mono', monospace;
}

.discount-badge {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #16a34a;
  border-radius: 4px;
  padding: 0.45rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  display: none;
  margin-bottom: 0.5rem;
}

.empty-quote {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--text3);
}

.empty-quote .empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.65rem;
}

.empty-quote p {
  font-size: 0.75rem;
  line-height: 1.75;
}

/* CART */
.cart-section {
  margin-top: 0.5rem;
}

.cart-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sub {
  font-size: 0.63rem;
  color: var(--text3);
  font-family: 'DM Mono', monospace;
  margin-top: 2px;
}

.cart-item-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--red);
  flex-shrink: 0;
  letter-spacing: 1px;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text3);
  font-size: 0.9rem;
  padding: 2px 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: var(--red);
}

.grand-total-row {
  background: var(--red);
  color: #fff;
  border-radius: 5px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.grand-total-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.grand-total-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 2px;
  line-height: 1;
}

/* QUOTE FORM */
.quote-form {
  display: none;
}

.quote-form.show {
  display: block;
}

.form-field {
  margin-bottom: 0.8rem;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
}

.form-field input[type=text],
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.form-field textarea {
  resize: vertical;
}

.form-field input[type=text]:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

.form-submit-msg {
  font-size: 0.72rem;
  color: var(--text3);
  text-align: center;
  margin-top: 0.5rem;
  display: none;
}

/* THANK YOU */
.thankyou {
  text-align: center;
  padding: 1.5rem 1rem;
  display: none;
}

.thankyou.show {
  display: block;
}

.thankyou .ty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.65rem;
}

.thankyou h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.thankyou p {
  font-size: 0.77rem;
  color: var(--text3);
  line-height: 1.65;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #16a34a;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  font-family: 'Outfit', sans-serif;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.66rem;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--surface);
}

/* COLOR DISCLAIMER */
.color-disclaimer {
  font-size: 0.7rem;
  color: rgb(215, 38, 56);
  line-height: 1.5;
  margin-top: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: rgba(215, 38, 56, 0.15);
  border-left: 2px solid rgba(215, 38, 56, 0.95);
  border-radius: 0 3px 3px 0;
}

/* ALERT SUCCESS (green) */
.alert-success {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 5px;
  padding: 0.65rem 0.9rem;
  font-size: 0.74rem;
  color: #16a34a;
  margin-top: 0.85rem;
  display: none;
  font-weight: 500;
}

.alert-success.show {
  display: block;
}

/* USER GUIDE */
.guide-panel {
  max-width: 1140px;
  margin: 2.5rem auto;
}

.guide-panel-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 20px;
}

.guide-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.guide-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-icon {
  font-size: 0.9rem;
}

.guide-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--text);
}

.guide-chevron {
  font-size: 0.75rem;
  color: var(--text3);
  transition: transform 0.25s;
}

.guide-chevron.open {
  transform: rotate(180deg);
}

.guide-body {
  padding: 1rem 1.25rem;
  display: none;
}

.guide-body.open {
  display: block;
}

.guide-step {
  display: flex;
  gap: 10px;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-num {
  width: 24px;
  height: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: 'DM Mono', monospace;
}

.guide-step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text2);
}

.guide-step-text strong {
  color: var(--text);
  font-weight: 600;
}

.guide-tip {
  background: rgba(215, 38, 56, 0.05);
  border: 1px solid rgba(215, 38, 56, 0.5);
  border-radius: 5px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.55;
  margin-top: 0.85rem;
}

.guide-tip strong {
  color: var(--red);
}