/* Shared header service-check popups (repair + warranty) */
.swal2-container {
    z-index: 99999 !important;
}
.swal2-popup.repair-form-popup {
    width: min(500px, 96vw) !important;
    max-height: 92dvh !important;
    padding: 14px 16px 12px !important;
    border-radius: 14px !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
}
.swal2-popup.repair-form-popup .swal2-title {
    font-size: 1rem !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
.swal2-popup.repair-form-popup .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    flex: 1 !important;
    -webkit-overflow-scrolling: touch !important;
}
.swal2-popup.repair-form-popup .swal2-actions {
    gap: 8px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.swal2-popup.repair-form-popup .swal2-confirm,
.swal2-popup.repair-form-popup .swal2-cancel {
    margin: 0 !important;
    min-width: 0 !important;
    flex: 1 !important;
    font-size: .88rem !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
}
/* Repair form inner */
.repair-form-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 0;
}
.repair-form-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
@media (max-width: 400px) {
    .repair-form-row2 { grid-template-columns: 1fr; }
}
.repair-form-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.repair-form-label {
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 5px;
}
.repair-form-required { color: #ef4444; margin-left: 1px; }
.repair-form-icon { font-size: .78rem; opacity: .7; }
.repair-form-icon--violet { color: #7c3aed; }
.repair-form-icon--blue   { color: #2563eb; }
.repair-form-icon--danger { color: #dc2626; }
.repair-form-popup-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: .88rem;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.repair-form-popup-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255,107,53,.18);
}
textarea.repair-form-popup-input {
    resize: vertical;
    min-height: 72px;
}
.repair-form-note {
    font-size: .75rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 7px;
    padding: 7px 10px;
    margin-top: 2px;
}
.repair-dialog-title-icon { color: #ff6b35; margin-right: 5px; }
.warranty-popup.swal2-popup {
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden;
    width: min(980px, 96vw) !important;
    max-width: 980px !important;
}
.warranty-popup .swal2-title { display: none !important; }
.warranty-popup .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.warranty-popup .swal2-actions { display: none !important; }
.warranty-popup-shell {
    text-align: left;
}
.wc-modal {
    display: grid;
    grid-template-columns: 1.25fr .95fr;
    min-height: 560px;
    background: #fff;
    font-family: Kanit, "Noto Sans Thai", sans-serif;
}
.wc-left {
    padding: 28px 28px 22px;
    background: #fff;
}
.wc-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.wc-shield {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(145deg, #1d4ed8, #0ea5e9);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .28);
}
.wc-head h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}
.wc-head p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}
.wc-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.wc-tab {
    border: 1.5px solid #dbe3ee;
    background: #fff;
    color: #334155;
    border-radius: 12px;
    padding: 11px 8px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.wc-tab i { color: #64748b; }
.wc-tab.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
    box-shadow: 0 10px 20px rgba(29, 78, 216, .22);
}
.wc-tab.active i { color: #fff; }
.wc-label {
    display: block;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    font-size: .92rem;
}
.wc-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #dbe3ee;
    border-radius: 12px;
    padding: 0 14px;
    background: #f8fafc;
    margin-bottom: 12px;
}
.wc-input-wrap i { color: #2563eb; }
.wc-input-wrap input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    padding: 13px 0;
    font: inherit;
    font-size: .98rem;
    min-width: 0;
}
.wc-check-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .28);
}
.wc-help-row {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 10px;
    margin-top: 14px;
}
.wc-examples, .wc-qr-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 12px 14px;
}
.wc-examples {
    color: #1e3a8a;
    font-size: .82rem;
    line-height: 1.55;
}
.wc-examples strong {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: .88rem;
}
.wc-examples ul {
    margin: 0;
    padding-left: 18px;
}
.wc-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    color: #1d4ed8;
    font-weight: 700;
    font-size: .86rem;
    transition: .15s ease;
}
.wc-qr-box:hover {
    background: #dbeafe;
}
.wc-qr-box i { font-size: 1.7rem; }
.wc-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 10px;
    color: #94a3b8;
    font-size: .85rem;
    font-weight: 600;
}
.wc-or::before, .wc-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.wc-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wc-alt button {
    border: 1.5px solid #93c5fd;
    background: #fff;
    color: #1d4ed8;
    border-radius: 12px;
    padding: 12px 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wc-alt button:hover { background: #eff6ff; }
.warranty-scan-status {
    display: none;
    margin-top: 12px;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: .84rem;
    line-height: 1.55;
    text-align: center;
}
.warranty-scan-status.show { display: block; }
.warranty-scan-status.info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}
.warranty-scan-status.error {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
}
.wc-right {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border-left: 1px solid #e2e8f0;
    padding: 22px 22px 18px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.wc-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.wc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding-right: 36px;
}
.wc-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 3px;
}
.wc-brand strong {
    display: block;
    color: #1d4ed8;
    font-size: 1.15rem;
    line-height: 1.1;
}
.wc-brand span {
    display: block;
    color: #64748b;
    font-size: .78rem;
}
.wc-tagline {
    color: #1d4ed8;
    font-style: italic;
    font-weight: 700;
    margin: 4px 0 12px;
    font-size: .98rem;
}
.wc-hero {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
    margin-bottom: 14px;
}
.wc-hero img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.wc-feats {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.wc-feat {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: start;
}
.wc-feat .ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .9rem;
}
.wc-feat .ico.g { background: #16a34a; }
.wc-feat .ico.b { background: #2563eb; }
.wc-feat .ico.p { background: #7c3aed; }
.wc-feat strong {
    display: block;
    font-size: .9rem;
    color: #0f172a;
}
.wc-feat span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.4;
}
.wc-help {
    margin-top: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}
.wc-help .ask {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.wc-help .ask i { color: #2563eb; }
.wc-help .ask small {
    display: block;
    font-weight: 500;
    color: #64748b;
    font-size: .78rem;
}
.wc-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #334155;
    font-size: .82rem;
    font-weight: 600;
}
.wc-contacts span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.wc-contacts i { color: #2563eb; }
.warranty-result-card {
    text-align: left;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
}
.warranty-result-card.active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #86efac;
}
.warranty-result-card.expired {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
}
.warranty-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.warranty-result-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.warranty-result-card.active .warranty-result-icon { background: #16a34a; }
.warranty-result-card.expired .warranty-result-icon { background: #dc2626; }
.warranty-result-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}
.warranty-result-product {
    font-size: .88rem;
    color: #4b5563;
    margin: 0;
}
.warranty-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, .5);
}
.warranty-detail-row:last-child { border-bottom: none; }
.warranty-detail-label { color: #6b7280; font-weight: 500; }
.warranty-detail-value { color: #111827; font-weight: 600; text-align: right; }
.warranty-candidate-list { display: grid; gap: 10px; text-align: left; }
.warranty-candidate-item {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    padding: 14px 15px;
    cursor: pointer;
    transition: all .18s ease;
    text-align: left;
}
.warranty-candidate-item:hover {
    transform: translateY(-1px);
    border-color: #7dd3fc;
    box-shadow: 0 8px 18px rgba(14,165,233,.12);
}
.warranty-candidate-serial {
    font-size: .95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.warranty-candidate-product {
    font-size: .83rem;
    color: #4b5563;
}
@media (max-width: 820px) {
    .wc-modal { grid-template-columns: 1fr; }
    .wc-right { border-left: 0; border-top: 1px solid #e2e8f0; }
    .wc-tabs, .wc-help-row, .wc-alt { grid-template-columns: 1fr; }
    .wc-hero img { height: 150px; }
}
/* Repair status result popup button */
.swal2-confirm-btn-repair {
    margin-top: 15px !important;
    padding: 12px 35px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
}
/* FORCE: Repair status result content spacing - NUCLEAR */
.repair-status-result-popup .swal2-html-container {
    padding: 0 30px !important;
    text-align: left !important;
}
.repair-status-result-popup .swal2-html-container > div {
    padding-left: 20px !important;
}
.repair-status-result-popup .repair-info-box {
    margin-left: 10px !important;
    padding: 20px 25px 20px 25px !important;
}
.repair-status-result-popup .repair-info-box p,
.repair-status-result-popup .repair-info-row {
    margin-left: 15px !important;
    padding-left: 5px !important;
    text-indent: 0 !important;
}
.repair-status-result-popup .repair-comment-box {
    margin-left: 15px !important;
    margin-right: 10px !important;
}

.repair-form-hint { font-weight: 500; color: #94a3b8; font-size: .72rem; }
.repair-form-icon--accent { color: #0ea5e9; }
.repair-form-icon--green { color: #16a34a; }
.repair-form-icon--muted { color: #94a3b8; }

/* ===== Repair Status Check mockup (2-panel) ===== */
.repair-status-swal-container.swal2-container {
  align-items: flex-start !important;
  padding-top: max(18px, 3.5vh) !important;
  padding-bottom: 24px !important;
  overflow-y: auto !important;
}
.repair-status-popup.swal2-popup {
  padding: 5px !important;
  border-radius: 22px !important;
  overflow: hidden;
  width: min(980px, 96vw) !important;
  max-width: 980px !important;
  margin-top: 0 !important;
  background: #fff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
}
.repair-status-popup .swal2-title { display: none !important; }
.repair-status-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.repair-status-popup .swal2-actions { display: none !important; }

.rs-modal {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  min-height: 560px;
  background: #fff;
  font-family: Kanit, "Noto Sans Thai", sans-serif;
  text-align: left;
  border-radius: 17px;
  overflow: hidden;
}

.rs-left {
  position: relative;
  padding: 36px 34px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(96, 165, 250, 0.35), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(14, 165, 233, 0.28), transparent 46%),
    linear-gradient(165deg, #0b3a8a 0%, #0d47a1 45%, #1565c0 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rs-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
}
.rs-left > * { position: relative; z-index: 1; }

.rs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.rs-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}
.rs-brand strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
}
.rs-brand span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.rs-left-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
}
.rs-left-title .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rs-left-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.92;
}

.rs-feats {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.rs-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}
.rs-feat .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.rs-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}
.rs-product-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.rs-product-card i {
  font-size: 1.45rem;
  margin-bottom: 6px;
  display: block;
}
.rs-product-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.92;
}

.rs-collage {
  margin-top: auto;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.08);
}
.rs-collage img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.rs-motto {
  margin: 0;
  font-style: italic;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0.95;
}

.rs-right {
  padding: 32px 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
}
.rs-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}
.rs-close:hover { background: #e2e8f0; color: #0f172a; }

.rs-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-right: 36px;
}
.rs-head .shield {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2563eb, #0ea5e9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}
.rs-head h3 {
  margin: 0 0 4px;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
}
.rs-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.rs-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.rs-tab {
  border: 1.5px solid #dbe3ee;
  background: #fff;
  color: #334155;
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}
.rs-tab i {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #64748b;
}
.rs-tab strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
}
.rs-tab small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.25;
}
.rs-tab.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.22);
}
.rs-tab.active i,
.rs-tab.active small { color: rgba(255,255,255,0.88); }

.rs-field { margin-bottom: 14px; }
.rs-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.rs-label .req { color: #ef4444; }
.rs-label-ico { color: #2563eb; font-size: 0.88rem; }
.rs-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #dbe3ee;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rs-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #fff;
}

.rs-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: stretch;
}
.rs-captcha-box {
  min-width: 110px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.08) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, #1e40af, #7c3aed 55%, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  display: grid;
  place-items: center;
  padding: 0 14px;
  user-select: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rs-captcha-refresh {
  border: 1.5px solid #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rs-captcha-refresh:hover { background: #dbeafe; }

.rs-error {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.84rem;
  font-weight: 600;
}
.rs-error.show { display: block; }

.rs-submit {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 14px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  margin-bottom: 12px;
}
.rs-submit:hover { filter: brightness(1.05); }

.rs-help {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.rs-help-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #1e3a8a;
  font-size: 0.8rem;
  line-height: 1.45;
  flex: 1 1 220px;
}
.rs-help-msg i { color: #2563eb; margin-top: 2px; }
.rs-help-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
}
.rs-help-contact i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}

.rs-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.rs-step {
  text-align: center;
  position: relative;
  padding: 4px 2px 0;
}
.rs-step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -35%;
  width: 70%;
  height: 2px;
  background: #dbeafe;
  z-index: 0;
}
.rs-step:first-child::before { display: none; }
.rs-step .bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 6px;
  background: #eff6ff;
  color: #2563eb;
  border: 2px solid #bfdbfe;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.rs-step strong {
  display: block;
  font-size: 0.72rem;
  color: #0f172a;
  font-weight: 800;
}
.rs-step span {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.25;
}
.rs-step.is-active .bubble {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 6px 14px rgba(29, 78, 216, 0.3);
}
.rs-step.is-done .bubble {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.rs-step.is-done::before,
.rs-step.is-active::before {
  background: #2563eb;
}

@media (max-width: 820px) {
  .rs-modal { grid-template-columns: 1fr; min-height: 0; }
  .rs-left { padding: 32px 30px 28px; }
  .rs-right { padding: 28px 30px 24px; }
  .rs-product-row { margin-top: 12px; }
  .rs-tabs { grid-template-columns: 1fr; }
  .rs-captcha-row { grid-template-columns: 1fr; }
  .rs-captcha-box { min-height: 46px; }
  .rs-stepper { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rs-step::before { display: none; }
}
