/* ── VALORX FORM STYLES ── */

#valorx-warranty-wrapper,
#valorx-contact-wrapper {
  --vw-card: #131313;
  --vw-border: #1e1e1e;
  --vw-border2: #252525;
  --vw-gold: #E8A020;
  --vw-gold2: #D4911A;
  --vw-gold-glow: rgba(232,160,32,0.10);
  --vw-field-border: rgba(232,160,32,0.15);
  --vw-text: #E8E4DC;
  --vw-text2: #999;
  --vw-text3: #8a7a65;
  --vw-input-bg: #131313;

  background: transparent;
  padding: 40px 20px 80px;
}

#valorx-warranty-wrapper *,
#valorx-contact-wrapper * { box-sizing: border-box; }

/* ── HERO SECTION ── */
.vw-hero {
  text-align: center;
  padding: 80px 20px 50px;
  position: relative;
  overflow: hidden;
}
.vw-hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(232,160,32,0.08), transparent 70%);
  pointer-events: none;
}
.vw-hero-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--vw-gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.vw-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--vw-text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.vw-hero-title span { color: var(--vw-gold); }
.vw-hero-sub {
  font-size: 15px;
  color: var(--vw-text2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CARD ── */
.vw-card {
  background: var(--vw-card);
  border: 1px solid var(--vw-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.vw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vw-gold), transparent);
}

/* ── SECTION ── */
.vw-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--vw-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vw-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--vw-border2);
}
.vw-gap { margin-top: 32px; }

/* ── ROW ── */
.vw-row { display: flex; gap: 16px; }
.vw-row > .vw-field { flex: 1; }

/* ── FIELD ── */
.vw-field { margin-bottom: 18px; }
.vw-half { max-width: 48%; }

.vw-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--vw-text2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vw-req { color: var(--vw-gold); margin-left: 2px; }

.vw-field input,
.vw-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vw-field-border) !important;
  border-radius: 8px;
  font-size: 14px;
  color: #fff !important;
  background: var(--vw-input-bg);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.vw-field input::placeholder,
.vw-field textarea::placeholder,
.vw-dropdown-trigger { color: var(--vw-text3) !important; }
.vw-dropdown-trigger.has-value { color: var(--vw-text) !important; }

.vw-field input:focus,
.vw-field textarea:focus {
  border-color: var(--vw-gold) !important;
  box-shadow: 0 0 0 2px var(--vw-gold-glow);
}
.vw-field textarea { min-height: 110px; resize: vertical; }

/* ── DROPDOWN ── */
.vw-dropdown { position: relative; }

.vw-dropdown-trigger {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vw-field-border) !important;
  border-radius: 8px;
  font-size: 14px;
  color: var(--vw-text3);
  background: var(--vw-input-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.vw-dropdown-trigger.open {
  border-color: var(--vw-gold) !important;
  box-shadow: 0 0 0 2px var(--vw-gold-glow);
  border-radius: 8px 8px 0 0;
}

.vw-dropdown-arrow {
  width: 16px; height: 16px;
  color: var(--vw-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.vw-dropdown-trigger.open .vw-dropdown-arrow { transform: rotate(180deg); }

.vw-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 40;
  background: #111;
  border: 1px solid var(--vw-gold);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow: hidden auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  animation: vwDropIn 0.15s ease;
}
.vw-dropdown-menu.open { display: block; }

.vw-dropdown-menu::-webkit-scrollbar { width: 5px; }
.vw-dropdown-menu::-webkit-scrollbar-track { background: #111; }
.vw-dropdown-menu::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.vw-dropdown-search-wrap {
  padding: 8px;
  border-bottom: 1px solid var(--vw-border);
  position: sticky;
  top: 0;
  background: #111;
  z-index: 2;
}
.vw-dropdown-search {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--vw-field-border) !important;
  border-radius: 6px;
  background: var(--vw-input-bg);
  color: var(--vw-text);
  font-size: 13px;
  outline: none;
}
.vw-dropdown-search:focus { border-color: var(--vw-gold) !important; }

.vw-dropdown-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--vw-text2);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.12s;
}
.vw-dropdown-item:hover {
  background: rgba(232,160,32,0.06);
  color: var(--vw-text);
  border-left-color: var(--vw-gold);
}
.vw-dropdown-item.selected {
  background: rgba(232,160,32,0.10);
  color: var(--vw-gold);
  font-weight: 600;
  border-left-color: var(--vw-gold);
}
.vw-dropdown-item + .vw-dropdown-item { border-top: 1px solid var(--vw-border); }
.vw-dropdown-item.hidden { display: none; }

/* ── PHONE ── */
.vw-phone-wrap { display: flex; align-items: stretch; }

.vw-phone-prefix {
  padding: 12px;
  border: 1px solid var(--vw-field-border) !important;
  border-right: 0 !important;
  border-radius: 8px 0 0 8px;
  background: var(--vw-input-bg);
  font-size: 14px;
  color: var(--vw-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.vw-flag { font-size: 18px; line-height: 1; }
.vw-phone-wrap input { border-radius: 0 8px 8px 0 !important; }
.vw-char-count { text-align: right; font-size: 11px; color: var(--vw-text3); margin-top: 4px; }

/* ── UPLOAD ── */
.vw-upload-zone {
  border: 1px dashed var(--vw-field-border) !important;
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  background: var(--vw-input-bg);
  transition: all 0.2s;
}
.vw-upload-zone:hover { border-color: var(--vw-gold) !important; background: rgba(232,160,32,0.02); }
.vw-upload-zone.dragging { border-color: var(--vw-gold) !important; background: rgba(232,160,32,0.04); }
.vw-upload-icon { font-size: 30px; margin-bottom: 8px; display: block; transition: transform 0.2s; }
.vw-upload-zone:hover .vw-upload-icon { transform: translateY(-2px); }
.vw-upload-text { font-size: 13px; color: var(--vw-text3); }
.vw-upload-text span { color: var(--vw-gold); font-weight: 600; text-decoration: underline; cursor: pointer; }
.vw-upload-hint { font-size: 11px; color: var(--vw-text3); margin-top: 4px; opacity: 0.5; }

/* ── SUBMIT ── */
.vw-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--vw-gold), var(--vw-gold2));
  color: #0A0A0A;
  border: none;
  padding: 8px 14px !important;
  border-radius: 6px;
  font-size: 11px !important;
  font-weight: 700;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.vw-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12));
  pointer-events: none;
}
.vw-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,160,32,0.25); }
.vw-submit-btn:active { transform: translateY(0); }
.vw-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── THANK YOU ── */
.vw-ty-wrap { max-width: 560px; margin: 0 auto; padding: 60px 20px; text-align: center; }

.vw-ty-glow {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 28px;
  background: radial-gradient(circle, rgba(232,160,32,0.12), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vwPopIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
.vw-ty-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vw-gold), var(--vw-gold2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,160,32,0.25);
}
.vw-ty-check svg { width: 28px; height: 28px; color: #0A0A0A; }

.vw-ty-title { font-size: 28px; font-weight: 800; color: var(--vw-text); margin-bottom: 10px; animation: vwFadeUp 0.5s 0.2s ease both; }
.vw-ty-title span { color: var(--vw-gold); }
.vw-ty-sub { color: var(--vw-text2); font-size: 14px; line-height: 1.7; margin-bottom: 32px; animation: vwFadeUp 0.5s 0.3s ease both; }

.vw-ty-card {
  background: var(--vw-card);
  border: 1px solid var(--vw-border);
  border-radius: 12px;
  padding: 24px 28px;
  text-align: left;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  animation: vwFadeUp 0.5s 0.4s ease both;
}
.vw-ty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vw-gold), transparent);
}
.vw-ty-card h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--vw-gold); margin-bottom: 16px; }
.vw-ty-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--vw-border); font-size: 13px; }
.vw-ty-row:last-child { border: none; }
.vw-lbl { color: var(--vw-text3); }
.vw-val { color: var(--vw-text); font-weight: 600; }

.vw-ty-actions { display: flex; gap: 12px; justify-content: center; animation: vwFadeUp 0.5s 0.5s ease both; }

.vw-btn-gold {
  background: linear-gradient(135deg, var(--vw-gold), var(--vw-gold2));
  color: #0A0A0A;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.vw-btn-gold:hover { box-shadow: 0 4px 20px rgba(232,160,32,0.25); transform: translateY(-1px); color: #0A0A0A; }

/* ── ANIMATIONS ── */
@keyframes vwDropIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes vwPopIn  { from { transform: scale(0); opacity: 0; } }
@keyframes vwFadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ── TABLET ── */
@media (max-width: 768px) {
  #valorx-warranty-wrapper,
  #valorx-contact-wrapper { padding: 24px 12px 60px; }
  .vw-card { padding: 28px 20px; }
  .vw-hero { padding: 60px 16px 36px; }
  .vw-hero-title { font-size: 32px; }
  .vw-hero-sub { font-size: 14px; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .vw-row { flex-direction: column; gap: 0; }
  .vw-half { max-width: 100%; }
  #valorx-warranty-wrapper,
  #valorx-contact-wrapper { padding: 16px 10px 48px; }
  .vw-card { padding: 20px 14px; border-radius: 12px; }
  .vw-section-label { font-size: 9px; letter-spacing: 2px; margin-bottom: 16px; }
  .vw-gap { margin-top: 24px; }
  .vw-field { margin-bottom: 14px; }
  .vw-field label { font-size: 10px; }
  .vw-field input,
  .vw-field textarea,
  .vw-dropdown-trigger { padding: 11px 12px; font-size: 13px; }
  .vw-dropdown-trigger.open { border-radius: 8px 8px 0 0; }
  .vw-dropdown-item { padding: 10px 12px; font-size: 13px; }
  .vw-phone-prefix { padding: 11px 10px; font-size: 13px; }
  .vw-upload-zone { padding: 24px 14px; }
  .vw-submit-btn { width: 100%; justify-content: center; padding: 8px 14px; font-size: 11px; }
  .vw-ty-wrap { padding: 40px 14px; }
  .vw-ty-glow { width: 70px; height: 70px; }
  .vw-ty-check { width: 54px; height: 54px; }
  .vw-ty-check svg { width: 24px; height: 24px; }
  .vw-ty-title { font-size: 22px; }
  .vw-ty-sub { font-size: 13px; }
  .vw-ty-card { padding: 18px 14px; }
  .vw-ty-row { font-size: 12px; }
  .vw-ty-actions { flex-direction: column; }
  .vw-btn-gold { width: 100%; text-align: center; }
  .vw-hero { padding: 40px 14px 28px; }
  .vw-hero-tag { font-size: 9px; letter-spacing: 3px; }
  .vw-hero-title { font-size: 24px; }
  .vw-hero-sub { font-size: 13px; max-width: 90%; }
  .vw-hero-glow { width: 250px; height: 120px; }
}