/* warranty.css — public warranty lookup page (warranty.html)
 * Extracted from inline <style> block during Wave 12b refactor.
 * Variables (--dark, --white, --red) come from css/style.css. */

.w-hero {
  background: radial-gradient(ellipse at top, rgba(255,28,15,0.12), transparent 60%), var(--dark);
  padding: 140px 0 80px;
  min-height: calc(100vh - 180px);
}
.w-wrap { max-width: 640px; margin: 0 auto; }
.w-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(255,28,15,0.1); border: 1px solid rgba(255,28,15,0.3);
  border-radius: 999px; color: #ff4530; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.w-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700; color: var(--white);
  margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.1;
}
.w-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin-bottom: 40px;
}
.w-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 28px;
  backdrop-filter: blur(10px);
}
.w-input-row { display: flex; gap: 10px; }
.w-input {
  flex: 1; padding: 16px 18px; font-family: ui-monospace, monospace;
  font-size: 16px; letter-spacing: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; color: var(--white); outline: none;
  text-transform: uppercase;
  transition: all 0.2s;
}
.w-input::placeholder { letter-spacing: 0.5px; color: rgba(255,255,255,0.3); }
.w-input:focus { border-color: var(--red); background: rgba(255,28,15,0.06); }
.w-btn {
  padding: 0 28px; font-size: 15px; font-weight: 600;
  background: var(--red); color: #fff; border: none;
  border-radius: 12px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.w-btn:hover { background: #e61808; transform: translateY(-1px); }
.w-btn:disabled { opacity: 0.6; cursor: wait; }
.w-hint {
  font-size: 13px; color: rgba(255,255,255,0.4);
  margin-top: 16px; line-height: 1.5;
}
.w-step-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.5); margin-bottom: 14px; font-weight: 600;
}
.w-step-help {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.5; margin-bottom: 4px;
}
.w-link {
  background: none; border: none; color: rgba(255,28,15,0.85);
  cursor: pointer; font-size: 13px; padding: 10px 0 0; margin-top: 8px;
  font-family: inherit;
}
.w-link:hover { color: #ff4530; }
.w-list { display: grid; gap: 10px; margin-top: 16px; }
[data-theme="light"] .w-step-label { color: rgba(0,0,0,0.6); }
[data-theme="light"] .w-step-help { color: rgba(0,0,0,0.65); }
.w-result {
  margin-top: 24px; padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.w-result--active {
  border-color: rgba(34,197,94,0.45);
  background: rgba(34,197,94,0.06);
}
.w-result--expired, .w-result--revoked, .w-result--not_found {
  border-color: rgba(239,68,68,0.45);
  background: rgba(239,68,68,0.06);
}
.w-result__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.w-result--active .w-result__status { background: rgba(34,197,94,0.15); color: #22c55e; }
.w-result--expired .w-result__status,
.w-result--revoked .w-result__status,
.w-result--not_found .w-result__status { background: rgba(239,68,68,0.15); color: #ef4444; }
.w-result__serial {
  font-family: ui-monospace, monospace; font-size: 18px; font-weight: 700;
  color: var(--white); letter-spacing: 1px; margin-bottom: 18px;
}
.w-result__product { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.w-result__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.w-result__cell { padding: 10px 12px; background: rgba(255,255,255,0.04); border-radius: 10px; }
.w-result__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.w-result__value { font-size: 14px; color: var(--white); font-weight: 500; }
.w-result__countdown { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.7); }
.w-result__countdown b { color: var(--white); font-size: 17px; }
.w-loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: wspin 0.7s linear infinite; }
@keyframes wspin { to { transform: rotate(360deg); } }

[data-theme="light"] .w-hero { background: radial-gradient(ellipse at top, rgba(255,28,15,0.08), transparent 60%), #fafafa; }
[data-theme="light"] .w-title { color: #0a0a0a; }
[data-theme="light"] .w-subtitle { color: #525252; }
[data-theme="light"] .w-form { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
[data-theme="light"] .w-input { background: #fafafa; border-color: rgba(0,0,0,0.1); color: #0a0a0a; }
[data-theme="light"] .w-input::placeholder { color: rgba(0,0,0,0.3); }
[data-theme="light"] .w-input:focus { background: #fff; }
[data-theme="light"] .w-hint { color: rgba(0,0,0,0.5); }
[data-theme="light"] .w-result { background: #fafafa; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .w-result__serial, [data-theme="light"] .w-result__product, [data-theme="light"] .w-result__value { color: #0a0a0a; }
[data-theme="light"] .w-result__label { color: rgba(0,0,0,0.5); }
[data-theme="light"] .w-result__cell { background: rgba(0,0,0,0.04); }

@media (max-width: 600px) {
  .w-hero { padding: 110px 0 60px; }
  .w-input-row { flex-direction: column; }
  .w-btn { padding: 14px 28px; }
  .w-form { padding: 20px; }
}
