/*
 * Reparo Smart — camada visual moderna
 * Mantém seletores, URLs e comportamento do sistema legado.
 */
:root {
  --rs-navy-950: #111318;
  --rs-navy-900: #171a21;
  --rs-blue-700: #df7410;
  --rs-blue-600: #f7901e;
  --rs-blue-500: #ffb347;
  --rs-cyan-500: #ffc66d;
  --rs-surface: #ffffff;
  --rs-surface-soft: #fcfcfd;
  --rs-border: #e6e8ec;
  --rs-text: #171a21;
  --rs-muted: #68707e;
  --rs-success: #16885c;
  --rs-warning: #b86a06;
  --rs-danger: #c9364f;
  --rs-radius-sm: 8px;
  --rs-radius: 12px;
  --rs-radius-lg: 18px;
  --rs-shadow-sm: 0 3px 12px rgba(23, 26, 33, .08);
  --rs-shadow: 0 12px 32px rgba(23, 26, 33, .12);
  --rs-transition: 180ms ease;
  --rs-content: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rs-text);
  background: var(--rs-surface-soft);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; }
img { height: auto; }

a {
  color: var(--rs-blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--rs-transition), opacity var(--rs-transition);
}
a:hover { color: var(--rs-blue-700); }

h1, h2, h3, h4, h5, h6 {
  color: var(--rs-navy-900);
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
.button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--rs-radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--rs-blue-600), var(--rs-blue-700));
  box-shadow: 0 5px 14px rgba(247, 144, 30, .22);
  font: 600 14px/1.2 Inter, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform var(--rs-transition), box-shadow var(--rs-transition), background var(--rs-transition);
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.btn:hover,
.button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(28, 99, 224, .28);
}

button:disabled,
input:disabled,
.btn.disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="url"],
select,
textarea {
  max-width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-sm);
  color: var(--rs-text);
  background: var(--rs-surface);
  font: inherit;
  box-shadow: 0 1px 2px rgba(3, 19, 54, .04);
  transition: border-color var(--rs-transition), box-shadow var(--rs-transition);
}

textarea { min-height: 100px; resize: vertical; }
select { cursor: pointer; }

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--rs-blue-500);
  box-shadow: 0 0 0 3px rgba(28, 99, 224, .14);
}

label {
  color: var(--rs-navy-900);
  font-weight: 600;
}

fieldset,
.panel,
.card,
.box,
#conteudo,
#content {
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  background: var(--rs-surface);
  box-shadow: var(--rs-shadow-sm);
}

fieldset { padding: 20px; }
legend { padding: 0 8px; color: var(--rs-navy-900); font-weight: 700; }

table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--rs-text);
  background: var(--rs-surface);
}

th {
  padding: 11px 12px;
  border-bottom: 2px solid var(--rs-border);
  color: var(--rs-navy-900);
  background: #fff7ec;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rs-border);
  vertical-align: middle;
}

tbody tr { transition: background var(--rs-transition); }
tbody tr:hover { background: #fffaf3; }

.alert,
.aviso,
.mensagem,
.message,
.erro,
.error,
.sucesso,
.success {
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid var(--rs-border);
  border-left: 4px solid var(--rs-blue-600);
  border-radius: var(--rs-radius-sm);
  background: #fff7ec;
  color: var(--rs-text);
}

.erro, .error, .alert-danger {
  border-left-color: var(--rs-danger);
  background: #fff2f4;
  color: #8f2033;
}

.sucesso, .success, .alert-success {
  border-left-color: var(--rs-success);
  background: #effbf6;
  color: #106441;
}

.paginacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px 8px;
}

.paginacao a,
.paginacao span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--rs-border);
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}

.paginacao a:hover,
.paginacao .active,
.paginacao .atual {
  border-color: var(--rs-blue-600);
  color: #fff;
  background: var(--rs-blue-600);
}

/* Estrutura clássica do Controle de OS */
#areatopo {
  position: relative;
  min-height: 96px;
  padding: 24px 150px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  background: linear-gradient(120deg, var(--rs-navy-950), #2b2117);
  box-shadow: var(--rs-shadow-sm);
}
#areatopo .style4, #areatopo .style5, #areatopo .style6 { color: #fff; }
#divbtnlogout { position: absolute; top: 30px; right: 30px; }
#divbtnlogout img { max-height: 38px; width: auto; }
#divlogoperfil {
  position: absolute; top: 8px; left: 28px;
  width: 80px; height: 80px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.8); border-radius: 18px;
  background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
#divlogoperfil img { width: 100%; height: 100%; border: 0; object-fit: cover; }
#divmenu {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--rs-border);
  background: #fff;
  box-shadow: var(--rs-shadow-sm);
}
iframe#conteudo {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  background: var(--rs-surface-soft);
}
.dl-menuwrapper button { border-radius: var(--rs-radius-sm); }
.dl-menuwrapper ul { box-shadow: var(--rs-shadow); }
body .menu {
  margin-top: 0;
  border: 0;
  color: #fff;
  background: var(--rs-navy-900);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  box-shadow: var(--rs-shadow-sm);
}
body .menu ul {
  display: flex;
  flex-wrap: wrap;
  background: var(--rs-navy-900);
}
body .menu li { position: relative; background: transparent; }
body .menu li a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  color: #f3f4f6;
  background: transparent;
  text-decoration: none;
  transition: background var(--rs-transition), color var(--rs-transition);
}
body .menu li a:hover,
body .menu li:hover > a {
  color: #fff;
  background: rgba(28,99,224,.55);
}
body .menu li ul {
  min-width: 220px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0 0 var(--rs-radius-sm) var(--rs-radius-sm);
  box-shadow: var(--rs-shadow);
}

/* Acabamento visual unificado das páginas públicas legadas.
   Mantém os caminhos originais no HTML/PHP e substitui apenas a apresentação. */
img[src$="gk_images/logo-pequeno.png"],
img[src$="images/logocontroledeos.png"],
img[src$="images/img_logo_reparosmart-135x117.png"],
img[src$="images/img_logo_reparosmart-101x88.png"],
img[src$="images/img_logo_buscaservice-135x117.png"] {
  content: url("../wp-content/themes/reparosmart-reforge/assets/images/reparos-smart-logo-bw.png");
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 96px;
  object-fit: contain;
}

img[src$="gk_images/passo-a-passo3.png"] {
  content: url("../wp-content/themes/reparosmart-reforge/assets/images/trade-in.jpg");
  display: block;
  width: 100%;
  max-width: 1180px;
  height: clamp(260px, 38vw, 520px);
  margin: 20px auto;
  border-radius: var(--rs-radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--rs-shadow);
}

img[src$="gk_images/ico/loja-icon.png"],
img[src$="gk_images/ico/parceiro2.png"],
img[src$="gk_images/ico/folder-tools-icon.png"] {
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f3f6fb);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
  object-fit: contain;
}

body #header,
body header#header {
  border: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .08);
  backdrop-filter: blur(14px);
}

body .navbar,
body .navbar-inverse {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: var(--rs-navy-900);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
}

body .navbar-inverse .navbar-nav > li > a,
body .navbar-inverse .navbar-brand {
  color: rgba(255,255,255,.9);
  font-weight: 700;
  letter-spacing: .01em;
}

body .navbar-inverse .navbar-nav > li > a:hover,
body .navbar-inverse .navbar-nav > .active > a,
body .navbar-inverse .navbar-nav > .active > a:hover {
  color: #fff;
  background: var(--rs-orange);
}

body #main-slider,
body .carousel,
body .carousel-inner {
  overflow: hidden;
  background: var(--rs-navy-900);
}

body section {
  padding-top: clamp(36px, 6vw, 76px);
  padding-bottom: clamp(36px, 6vw, 76px);
}

body .center h2,
body .section-header h2 {
  color: var(--rs-navy-900);
  font-weight: 800;
  letter-spacing: -.025em;
}

body .lead {
  color: var(--rs-slate-600);
  line-height: 1.75;
}

body .panel,
body .well,
body .service-wrap,
body .feature-wrap,
body .media,
body .thumbnail {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--rs-radius);
  background: #fff;
  box-shadow: var(--rs-shadow-sm);
  transition: transform var(--rs-transition), box-shadow var(--rs-transition);
}

body .service-wrap:hover,
body .feature-wrap:hover,
body .thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: var(--rs-shadow);
}

body #contact-info,
body #bottom,
body footer {
  border: 0;
}

body #bottom {
  color: rgba(255,255,255,.78);
  background: var(--rs-navy-900);
}

body footer,
body #footer {
  color: rgba(255,255,255,.8);
  background: #080d19;
}

body #bottom a,
body footer a,
body #footer a {
  color: #fff;
}

body #bottom a:hover,
body footer a:hover,
body #footer a:hover {
  color: var(--rs-orange);
}

/* Orçamento Online — acabamento premium específico */
body #contact-info.partner:has(#cadastro) {
  min-height: calc(100vh - 170px);
  padding: clamp(48px, 7vw, 92px) 16px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 122, 0, .2), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(59, 130, 246, .17), transparent 30%),
    linear-gradient(145deg, #07101f 0%, #101c31 55%, #17243b 100%) !important;
}

body #contact-info.partner:has(#cadastro) > .container {
  width: 100%;
  max-width: 1160px;
}

body #cadastro.form-labels-on-top {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 26px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

body #cadastro.form-labels-on-top::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--rs-orange), #ffb347);
}

body #cadastro .form-title-row {
  margin: 0 0 34px;
  text-align: left;
}

body #cadastro .form-title-row h1 {
  margin: 0;
  color: var(--rs-navy-900);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -.035em;
}

body #cadastro .form-title-row::after {
  display: block;
  max-width: 680px;
  margin-top: 10px;
  color: var(--rs-slate-600);
  font-size: 15px;
  line-height: 1.65;
  content: "Informe os dados do aparelho para receber uma avaliação rápida e segura da Reparo Smart.";
}

body #cadastro .form-row {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

body #cadastro .form-row > .row {
  margin-right: -9px;
  margin-left: -9px;
}

body #cadastro [class*="col-"] {
  padding-right: 9px;
  padding-left: 9px;
}

body #cadastro label,
body #cadastro .form-row > label {
  display: block;
  margin-bottom: 7px;
  color: var(--rs-navy-900);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .015em;
}

body #cadastro input:not([type="checkbox"]):not([type="radio"]),
body #cadastro select,
body #cadastro textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d8dee9;
  border-radius: 11px;
  color: var(--rs-navy-900);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

body #cadastro textarea {
  min-height: 130px;
  resize: vertical;
}

body #cadastro input:focus,
body #cadastro select:focus,
body #cadastro textarea:focus {
  border-color: var(--rs-orange);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, .14);
}

body #cadastro input:disabled,
body #cadastro select:disabled {
  color: #788397;
  background: #f1f4f8;
  cursor: not-allowed;
}

body #cadastro button,
body #cadastro input[type="submit"],
body #cadastro .btn {
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--rs-orange), #ff9b38);
  box-shadow: 0 12px 28px rgba(255, 122, 0, .26);
}

body #cadastro button:hover,
body #cadastro input[type="submit"]:hover,
body #cadastro .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 122, 0, .34);
}

body #cadastro .progress {
  height: 8px;
  margin: 8px 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
  box-shadow: none;
}

@media (max-width: 767px) {
  body #contact-info.partner:has(#cadastro) {
    padding: 28px 12px 46px;
  }
  body #cadastro.form-labels-on-top {
    padding: 28px 20px;
    border-radius: 18px;
  }
  body #cadastro [class*="col-"] {
    margin-bottom: 15px;
  }
  body #cadastro .form-row {
    margin-bottom: 4px;
  }
  body #cadastro button,
  body #cadastro input[type="submit"],
  body #cadastro .btn {
    width: 100%;
  }
}

.rs-quote-result {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(2, 8, 23, .22);
}

.rs-quote-price {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 22px;
  border: 1px solid #dce6f2;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #edf7ff);
}

.rs-quote-price span,
.rs-quote-price small {
  color: var(--rs-slate-600);
}

.rs-quote-price strong {
  color: var(--rs-navy-900);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.rs-terms-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px !important;
  color: var(--rs-slate-700) !important;
  font-weight: 600 !important;
}

.rs-terms-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rs-orange);
}

#rs-open-os:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

/* Consulta de O.S. */
body:has(form[action*="sub_consultaoscontrolecliente"]) section,
body:has(#camporedondo) #contact-info {
  border: 0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 0, .17), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(22, 184, 243, .13), transparent 34%),
    linear-gradient(135deg, #08111f, #10284a 58%, #07131f) !important;
}

body:has(#camporedondo) section:first-of-type {
  padding: clamp(50px, 8vw, 96px) 15px 34px;
}

body:has(#camporedondo) #cadastro {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 50px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 84px rgba(2, 8, 23, .3);
}

body:has(#camporedondo) #cadastro .form-title-row {
  margin-bottom: 28px;
  text-align: left;
}

body:has(#camporedondo) #cadastro .form-title-row h1 {
  margin: 0;
  color: var(--rs-navy-900);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 850;
  letter-spacing: -.04em;
}

body:has(#camporedondo) #cadastro .form-title-row::after {
  display: block;
  margin-top: 10px;
  color: var(--rs-slate-600);
  line-height: 1.6;
  content: "Acompanhe o andamento do seu reparo com segurança.";
}

body:has(#camporedondo) #cadastro label {
  display: block;
  margin-bottom: 8px;
  color: var(--rs-navy-900);
  font-weight: 750;
}

body:has(#camporedondo) #camporedondo {
  width: 100% !important;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  font-size: 17px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

body:has(#camporedondo) #cadastro button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--rs-orange), #ff9b38);
  box-shadow: 0 14px 32px rgba(255, 122, 0, .25);
}

body:has(#camporedondo) #resultado {
  min-height: 0;
  margin: 0 auto 70px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(2, 8, 23, .23);
}

/* Compra de aparelhos */
body:has(#lab-form) #modelo:disabled {
  color: #7b8798;
  background: #f1f4f8;
  cursor: wait;
}

body:has(#lab-form) #modelo {
  appearance: auto;
}

@media (max-width: 767px) {
  body:has(#camporedondo) section:first-of-type {
    padding: 28px 12px 20px;
  }
  body:has(#camporedondo) #cadastro {
    padding: 26px 20px;
    border-radius: 18px;
  }
}

:focus-visible {
  outline: 3px solid rgba(22, 184, 243, .72);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  body { font-size: 14px; }
  fieldset { padding: 16px; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 767px) {
  body { overflow-x: hidden; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea { width: 100%; }
  button,
  input[type="button"],
  input[type="submit"],
  .btn,
  .button { max-width: 100%; }
  table { font-size: 13px; }
  th, td { padding: 9px 8px; }
  #areatopo { min-height: 118px; padding: 18px 68px 18px 82px; font-size: 13px; }
  #divlogoperfil { left: 12px; width: 58px; height: 58px; }
  #divbtnlogout { top: 18px; right: 12px; }
  #divbtnlogout img { max-width: 46px; object-fit: contain; object-position: right; }
  iframe#conteudo { min-height: 680px; }
  body .menu ul { display: block; }
  body .menu li, body .menu li a { width: 100%; }
  body .menu li ul { position: static; width: 100%; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body { color: #000; background: #fff; }
  button, .btn, .menu, nav { display: none !important; }
  fieldset, .panel, .card, table { box-shadow: none; }
}

/* Fluxos transacionais: orçamento, abertura de OS e compra de aparelhos */
#resultado {
  width: min(100%, 1120px);
  margin: 26px auto 0;
  color: var(--rs-navy-900);
}

#resultado > div,
#resultado .container,
#resultado .alert-message,
#resultado .modal-content {
  border-radius: 16px;
}

#resultado .form-title-row h1 {
  margin: 0 0 22px;
  color: var(--rs-navy-900);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 850;
}

#resultado .table {
  overflow: hidden;
  border: 1px solid #e4e9f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

#resultado .alert-message {
  padding: 20px 22px;
  border: 1px solid #dbe7f3;
  border-left: 5px solid var(--rs-cyan);
  background: #f7fbff;
}

#resultado .btn-info,
#resultado [data-target="#myModal"] {
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rs-orange), #ff9b38);
  box-shadow: 0 12px 28px rgba(255, 122, 0, .24);
}

#resultado .modal-dialog {
  width: min(94vw, 1120px) !important;
  height: min(82vh, 720px) !important;
  margin: 5vh auto;
}

#resultado .modal-content,
#resultado .modal-body {
  height: 100%;
}

#resultado iframe {
  min-height: 560px;
  border-radius: 12px;
  background: #fff;
}

.rs-flow-error {
  padding: 22px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #7f1d1d;
  background: #fff1f2;
}

.rs-flow-error h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

body:has(#lab-form),
body:has(form[action*="compra-de-aparelhos-etapa"]) {
  color: var(--rs-slate-700);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 122, 0, .18), transparent 28%),
    radial-gradient(circle at 88% 26%, rgba(22, 184, 243, .14), transparent 32%),
    linear-gradient(135deg, #08111f, #10284a 58%, #07131f);
}

body #lab-form,
body form[action*="compra-de-aparelhos-etapa"] {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 80px rgba(2, 8, 23, .28);
}

body #lab-form label,
body form[action*="compra-de-aparelhos-etapa"] label {
  margin-bottom: 7px;
  color: var(--rs-navy-900);
  font-weight: 750;
}

body #lab-form .form-control,
body form[action*="compra-de-aparelhos-etapa"] .form-control {
  min-height: 49px;
  border: 1px solid #d8dee9;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

body #lab-form .form-control:focus,
body form[action*="compra-de-aparelhos-etapa"] .form-control:focus {
  border-color: var(--rs-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, .14);
}

body #lab-form button[type="submit"],
body #lab-form input[type="submit"],
body form[action*="compra-de-aparelhos-etapa"] button[type="submit"],
body form[action*="compra-de-aparelhos-etapa"] input[type="submit"] {
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rs-orange), #ff9b38);
  box-shadow: 0 12px 28px rgba(255, 122, 0, .24);
}

@media (max-width: 767px) {
  #resultado {
    margin-top: 18px;
  }
  #resultado .modal-dialog {
    width: 96vw !important;
    height: 88vh !important;
    margin: 3vh auto;
  }
  #resultado iframe {
    min-height: 70vh;
  }
  body #lab-form,
  body form[action*="compra-de-aparelhos-etapa"] {
    padding: 22px 17px;
    border-radius: 17px;
  }
}
