
:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #111827;
  --panel-light: #151f31;
  --border: rgba(160, 181, 216, .14);
  --text: #f3f6fc;
  --muted: #98a5bb;
  --accent: #71a7ff;
  --accent-strong: #3479f6;
  --green: #66dfb1;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(31, 71, 138, .19), transparent 38%),
    radial-gradient(ellipse at 100% 44%, rgba(33, 90, 160, .10), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .12;
  pointer-events: none;
}

.ambient-one {
  top: 280px;
  left: -200px;
  background: #2469ed;
}

.ambient-two {
  top: 780px;
  right: -200px;
  background: #3988d6;
}

.topbar,
.page-shell,
.footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(113, 167, 255, .48);
  border-radius: 13px;
  background: linear-gradient(145deg, #1a3767, #111a2c);
  color: #9ec4ff;
  font-size: 24px;
  font-weight: 800;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .13em;
}

.brand-name > span {
  display: inline;
  color: var(--accent);
}

.brand-name small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .19em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bdc8d9;
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(102, 223, 177, .45);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  min-height: 405px;
  padding: 58px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  margin: 22px 0 17px;
  font-size: clamp(36px, 4.8vw, 59px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 780;
}

.hero h1 span {
  color: #82b1ff;
}

.hero-copy > p,
.access-intro > p {
  max-width: 490px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 28px;
  color: #c3cee0;
  font-size: 11px;
}

.hero-points > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.check {
  color: var(--green);
  font-weight: 800;
}

.hero-decoration {
  position: relative;
  display: grid;
  width: 300px;
  height: 300px;
  place-items: center;
  justify-self: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(113, 167, 255, .19);
  border-radius: 50%;
}

.orbit-outer {
  width: 278px;
  height: 278px;
  transform: rotate(-25deg) scaleY(.76);
  border-style: dashed;
}

.orbit-inner {
  width: 202px;
  height: 202px;
  border-color: rgba(113, 167, 255, .3);
  box-shadow: 0 0 65px rgba(47, 107, 215, .09);
}

.core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(130, 177, 255, .55);
  border-radius: 30px;
  background: linear-gradient(145deg, #203d70, #10192b 75%);
  box-shadow: 0 0 70px rgba(54, 120, 238, .18), inset 0 0 25px rgba(113, 167, 255, .07);
  transform: rotate(-8deg);
}

.core-v {
  color: #a7caff;
  font-size: 55px;
  font-weight: 850;
  line-height: 1;
}

.core-caption {
  margin-top: 6px;
  color: #a6bfe7;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .18em;
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #a3c6ff;
  border-radius: 50%;
  background: #2d65bb;
  box-shadow: 0 0 18px rgba(113, 167, 255, .65);
}

.node-one {
  top: 49px;
  right: 62px;
}

.node-two {
  bottom: 55px;
  left: 40px;
}

.node-three {
  right: 27px;
  bottom: 105px;
  width: 7px;
  height: 7px;
}

.access-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 76px;
  align-items: center;
  padding: 70px 0 76px;
}

.access-intro h2,
.dashboard-heading h2 {
  margin: 15px 0;
  font-size: clamp(29px, 3.4vw, 39px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.access-intro > p {
  max-width: 410px;
}

.feature-list {
  display: grid;
  gap: 23px;
  margin-top: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(20, 31, 50, .7);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.feature-item strong {
  display: block;
  margin: 1px 0 6px;
  font-size: 13px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.auth-card {
  padding: 29px;
  border: 1px solid rgba(157, 180, 219, .19);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(21, 31, 49, .97), rgba(13, 20, 33, .98));
  box-shadow: 0 24px 75px rgba(0, 0, 0, .2);
}

.auth-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.auth-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(113, 167, 255, .24);
  border-radius: 13px;
  background: rgba(48, 101, 186, .14);
  color: #9bc1ff;
  font-size: 23px;
}

.auth-heading h2 {
  margin: 0 0 5px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.auth-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 23px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(5, 10, 20, .35);
}

.auth-tab {
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.auth-tab.active {
  background: #1b2c47;
  color: #dce9ff;
  box-shadow: inset 0 0 0 1px rgba(113, 167, 255, .12);
}

#login-form,
#signup-form {
  display: grid;
  gap: 10px;
}

#login-form label,
#signup-form label {
  margin-top: 7px;
  color: #d7e0ef;
  font-size: 11px;
  font-weight: 650;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

#login-form input,
#signup-form input {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid rgba(156, 177, 210, .19);
  border-radius: 9px;
  outline: none;
  background: rgba(6, 12, 23, .62);
  color: var(--text);
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s;
}

#login-form input::placeholder,
#signup-form input::placeholder {
  color: #64738c;
}

#login-form input:focus,
#signup-form input:focus {
  border-color: rgba(113, 167, 255, .7);
  box-shadow: 0 0 0 3px rgba(53, 119, 238, .11);
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 47px;
  margin-top: 13px;
  padding: 0 15px;
  border: 1px solid rgba(151, 190, 255, .35);
  border-radius: 10px;
  background: linear-gradient(100deg, #316fe0, #2559ba);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: filter .2s, transform .2s;
}

.primary-button:hover {
  filter: brightness(1.12);
}

.primary-button:active {
  transform: scale(.99);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.secure-note {
  margin: 18px 0 0;
  color: #8e9eb5;
  text-align: center;
  font-size: 10px;
}

.secure-note span {
  margin-right: 5px;
  color: var(--green);
}

.auth-footer {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: #77869e;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.notice {
  padding: 11px 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: #c9d8ee;
  font-size: 12px;
  line-height: 1.6;
}

.notice.error {
  border-color: rgba(248, 113, 113, .3);
  background: rgba(127, 29, 29, .16);
  color: #ffb4b4;
}

.notice.success {
  border-color: rgba(102, 223, 177, .25);
  background: rgba(16, 91, 66, .16);
  color: #9de9cb;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  color: #94a2b8;
  font-size: 11px;
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-mark {
  color: var(--accent);
  font-size: 17px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 75px;
  margin-top: 25px;
  border-top: 1px solid var(--border);
  color: #7d8ba1;
  font-size: 10px;
}

.footer-brand {
  color: #c5d6f2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}

.dashboard-preview {
  padding: 45px 0 60px;
}

.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-heading h2 {
  margin-bottom: 7px;
}

.dashboard-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.secondary-button {
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  color: #d7e3f6;
  cursor: pointer;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.summary-card,
.data-panel {
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(17, 24, 39, .78);
}

.summary-card > span,
.summary-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.summary-card strong {
  display: block;
  margin: 15px 0 9px;
  font-size: 29px;
}

.dashboard-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.data-panel h3 {
  margin: 0 0 17px;
  font-size: 14px;
}

.data-list {
  display: grid;
  gap: 10px;
}

.data-row {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.data-row strong,
.data-row span {
  display: block;
}

.data-row strong {
  margin-bottom: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.data-row span,
.empty-state {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.invoice-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(113, 167, 255, .42);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-strong), #285ac2);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  transition: transform .18s ease, filter .18s ease;
}

.invoice-pay-button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.invoice-pay-button:active {
  transform: translateY(0);
}

.empty-state {
  margin: 0;
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr .65fr;
  }

  .hero-decoration {
    transform: scale(.8);
  }

  .access-layout {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .topbar,
  .page-shell,
  .footer {
    width: min(100% - 32px, 540px);
  }

  .topbar {
    min-height: 72px;
  }

  .brand-symbol {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 13px;
  }

  .status-label {
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 35px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 55px);
  }

  .hero-decoration {
    width: 230px;
    height: 205px;
    margin: 15px auto -5px;
    transform: scale(.76);
  }

  .hero-points {
    display: grid;
    gap: 12px;
  }

  .access-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 50px 0;
  }

  .access-intro h2 {
    font-size: 34px;
  }

  .auth-card {
    padding: 22px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .dashboard-grid,
  .dashboard-sections {
    grid-template-columns: 1fr;
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* --------------------------------------------------
   VITRINE PÚBLICA DE SERVIÇOS
-------------------------------------------------- */
.catalog-section {
  padding: 54px 0 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.catalog-heading h2 {
  max-width: 720px;
  margin: 12px 0 10px;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.12;
}
.catalog-heading h2 span { color: var(--accent); }
.catalog-heading p { margin: 0; color: var(--muted); line-height: 1.7; }
.catalog-account-link {
  flex: 0 0 auto;
  color: #c5d9ff;
  font-size: 13px;
  font-weight: 700;
}
.catalog-account-link span { margin-left: 6px; }
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 14px;
  margin-bottom: 22px;
}
.catalog-tools label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.catalog-tools input, .catalog-tools select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(17, 24, 39, .88);
  color: var(--text);
  outline-offset: 3px;
}
.catalog-status { color: var(--muted); padding: 22px 0; font-size: 14px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 31, 49, .92), rgba(13, 19, 32, .96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  transition: border-color .2s ease, transform .2s ease;
}
.catalog-card:hover { border-color: rgba(113, 167, 255, .55); transform: translateY(-3px); }
/* Quando o configurador Cloud abre, apenas esse card ganha mais espaço. */
.catalog-card-cloud-configured {
  grid-column: 1 / -1;
  padding: clamp(24px, 3vw, 36px);
  border-color: rgba(113, 167, 255, .55);
  background: linear-gradient(145deg, rgba(18, 31, 52, .98), rgba(10, 18, 32, .99));
  box-shadow: 0 22px 52px rgba(0, 0, 0, .24), inset 0 1px rgba(255,255,255,.035);
}
.catalog-card-cloud-configured .cloud-inline-config {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 30px);
  gap: 22px;
}
.catalog-card-cloud-configured .cloud-inline-fields { gap: 16px; }
.catalog-card-cloud-configured .cloud-inline-summary { padding: 20px; }
.catalog-card-cloud-configured .cloud-inline-price strong { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.catalog-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.catalog-card-symbol {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid rgba(113, 167, 255, .28); border-radius: 11px;
  background: rgba(52, 121, 246, .12); color: #9fc3ff; font-size: 21px;
}
.catalog-card-category {
  color: #a9c5f7; font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.catalog-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.catalog-card-description { flex: 1; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-line; }
.catalog-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.catalog-card-price strong { font-size: 23px; letter-spacing: -.04em; }
.catalog-card-price span { color: var(--muted); font-size: 12px; }
.catalog-cta {
  width: 100%; min-height: 44px; border: 1px solid rgba(113, 167, 255, .32);
  border-radius: 11px; background: rgba(52, 121, 246, .13); color: #d8e6ff;
  font-weight: 800; cursor: pointer; transition: background .2s ease;
}
.catalog-cta:hover { background: rgba(52, 121, 246, .25); }
.catalog-cta:disabled { opacity: .6; cursor: wait; }
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .catalog-section { padding: 38px 0 48px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; }
  .catalog-tools, .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { padding: 20px; }
  .catalog-card-cloud-configured { grid-column: 1 / -1; padding: 18px; }
}


/* --------------------------------------------------
   MENU SUPERIOR DE CATEGORIAS E SUBCATEGORIAS
-------------------------------------------------- */
.topbar {
  position: relative;
  gap: 24px;
}
.category-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}
.category-menu-item {
  position: relative;
}
.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #c4d0e3;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.category-link:hover,
.category-link:focus-visible,
.category-toggle[aria-expanded="true"] {
  border-color: var(--border);
  background: rgba(21, 31, 49, .95);
  color: #fff;
}
.category-chevron {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.category-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 7px;
  border: 1px solid rgba(160, 181, 216, .2);
  border-radius: 12px;
  background: #101827;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
}
.category-submenu[hidden] { display: none !important; }
.category-submenu .category-link {
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  text-align: left;
}
.category-parent-option {
  border-bottom: 1px solid var(--border);
  border-radius: 7px 7px 0 0;
  color: #a9c5f7;
}
.category-sub-link {
  padding-left: 18px;
}
#catalog-title span { color: var(--accent); }
@media (max-width: 980px) {
  .topbar { flex-wrap: wrap; padding: 14px 0; }
  .category-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
  }
  .category-menu-item { position: relative; }
  .category-submenu { left: 0; }
}
@media (max-width: 700px) {
  .category-menu { gap: 3px; }
  .category-link { min-height: 36px; padding: 0 9px; font-size: 11px; }
  .category-submenu { position: static; min-width: 0; margin: 4px 0 6px; box-shadow: none; }
  .category-menu-item { flex: 0 0 auto; }
}


/* CARRINHO E CHECKOUT */
.cart-open-button {
  min-height: 36px; padding: 0 12px; border: 1px solid rgba(113,167,255,.3);
  border-radius: 9px; background: rgba(52,121,246,.12); color: #d8e6ff;
  font: inherit; font-size: 11px; font-weight: 750; cursor: pointer;
}
.cart-open-button span {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px;
  margin-left: 4px; border-radius: 20px; background: rgba(113,167,255,.2);
}
.cart-section { padding: 54px 0 65px; border-bottom: 1px solid var(--border); }
.cart-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:25px; }
.cart-heading h2 { margin:12px 0 10px; font-size:clamp(29px,4vw,40px); letter-spacing:-.04em; }
.cart-heading h2 span { color:var(--accent); }
.cart-heading p { margin:0; color:var(--muted); line-height:1.7; }
.cart-count-badge { color:#c5d9ff; font-size:12px; white-space:nowrap; }
.cart-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr); gap:18px; }
.cart-panel { min-width:0; padding:22px; border:1px solid var(--border); border-radius:14px; background:rgba(17,24,39,.78); }
.cart-items { display:grid; gap:0; }
.cart-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 0; border-bottom:1px solid var(--border); }
.cart-item-info { min-width:0; display:grid; gap:6px; }
.cart-item-description { margin-top:8px; padding:12px 14px; border:1px solid rgba(156,177,210,.12); border-radius:10px; background:rgba(6,12,23,.28); }
.cart-item-section-label { display:block; margin-bottom:8px; color:#d7e4f8; font-size:11px; font-weight:750; }
.cart-item-category { color:#d7e4f8 !important; font-size:11px !important; font-weight:700; }
.cart-item-summary, .cart-item-long-description { margin:0; color:var(--muted); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.cart-item-long-description { white-space:pre-line; }
.cart-item-description { max-width:100%; }
.cart-item-description p { margin:0; }
.cart-item-info .cart-item-features { display:grid; gap:6px; margin:0; padding-left:18px; color:var(--muted); font-size:11px; line-height:1.5; }
.cart-item-features li { padding-left:2px; }

.cart-item-info strong { overflow-wrap:anywhere; font-size:13px; }
.cart-item-info span { color:var(--muted); font-size:11px; }
.cart-remove { flex:0 0 auto; padding:8px 10px; border:1px solid rgba(248,113,113,.25); border-radius:8px; background:rgba(127,29,29,.12); color:#ffb4b4; cursor:pointer; font-size:11px; }
.cart-total-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:19px; margin-top:4px; }
.cart-total-row span { color:var(--muted); font-size:12px; }
.cart-total-row strong { font-size:22px; }
.checkout-panel h3 { margin:0 0 18px; font-size:16px; }
.checkout-panel label { display:block; margin-bottom:8px; color:#d7e0ef; font-size:11px; font-weight:650; }
.checkout-panel textarea { width:100%; resize:vertical; padding:12px; border:1px solid rgba(156,177,210,.19); border-radius:9px; background:rgba(6,12,23,.62); color:var(--text); font:inherit; font-size:12px; }
.cart-disclaimer { margin:14px 0 0; color:#8493aa; font-size:10px; line-height:1.7; }
.cart-status { min-height:0; margin-top:12px; color:var(--muted); font-size:12px; line-height:1.6; }
.cart-status:empty { display:none; }
.cart-status.success { color:#9de9cb; }
.cart-status.error { color:#ffb4b4; }
#checkout-button:disabled { opacity:.5; cursor:not-allowed; }
@media (max-width:700px) {
  .cart-section { padding:38px 0 48px; }
  .cart-layout { grid-template-columns:1fr; }
  .cart-heading { align-items:flex-start; flex-direction:column; }
  .cart-panel { padding:18px; }
}


/* --------------------------------------------------
   PAINEL DO CLIENTE — LAYOUT COMPACTO
-------------------------------------------------- */
.topbar { min-height: 68px; }
.brand-symbol { width: 36px; height: 36px; border-radius: 10px; }
.brand { gap: 9px; }
.page-shell { width: min(1120px, calc(100% - 40px)); }
.dashboard-preview { padding: 26px 0 34px; }
.dashboard-heading { gap: 14px; margin-bottom: 18px; }
.dashboard-heading h2 { margin: 6px 0; font-size: clamp(22px, 2.4vw, 30px); }
.dashboard-heading p { font-size: 12px; }
.dashboard-grid { gap: 10px; margin-bottom: 12px; }
.summary-card, .data-panel { padding: 15px 16px; border-radius: 11px; }
.summary-card strong { margin: 8px 0 5px; font-size: 23px; }
.summary-card > span, .summary-card small { font-size: 10px; }
.dashboard-sections { gap: 10px; }
.data-panel h3 { margin-bottom: 10px; font-size: 13px; }
.data-list { gap: 5px; }
.data-row { padding: 8px 0; }
.data-row strong { margin-bottom: 3px; font-size: 11px; }
.data-row span, .empty-state { font-size: 10px; line-height: 1.45; }
.secondary-button { padding: 8px 12px; font-size: 11px; }
.cart-section { padding: 30px 0 36px; }
.cart-heading { margin-bottom: 16px; }
.cart-heading h2 { margin: 7px 0; font-size: clamp(24px, 3vw, 32px); }
.cart-layout { gap: 12px; }
.cart-panel { padding: 16px; }
.cart-item { padding: 10px 0; }
.cart-total-row { padding-top: 12px; }
.cart-total-row strong { font-size: 19px; }
@media (min-width: 701px) {
  .dashboard-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .page-shell { width: min(100% - 28px, 540px); }
  .topbar { min-height: 60px; }
  .dashboard-preview { padding: 20px 0 26px; }
  .dashboard-heading { flex-direction: row; align-items: center; }
  .dashboard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .summary-card, .data-panel { padding: 12px 10px; }
  .summary-card strong { font-size: 20px; }
  .summary-card > span { min-height: 28px; line-height: 1.35; }
  .dashboard-sections { grid-template-columns: 1fr; gap: 8px; }
  .data-panel h3 { margin-bottom: 7px; }
}


/* --------------------------------------------------
   PORTAL DO CLIENTE — NAVEGAÇÃO POR ÁREAS
-------------------------------------------------- */
[hidden] { display: none !important; }
.dashboard-heading-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.client-workspace { display:grid; grid-template-columns:220px minmax(0,1fr); gap:18px; align-items:start; }
.client-sidebar { position:sticky; top:18px; display:flex; flex-direction:column; gap:5px; padding:13px; border:1px solid var(--border); border-radius:14px; background:rgba(13,20,34,.92); }
.sidebar-caption { padding:7px 10px 10px; color:#71829d; font-size:9px; font-weight:800; letter-spacing:.14em; }
.client-nav-link { display:flex; align-items:center; gap:10px; width:100%; min-height:42px; padding:0 11px; border:1px solid transparent; border-radius:9px; background:transparent; color:#aab8ce; text-align:left; font:inherit; font-size:12px; font-weight:650; cursor:pointer; }
.client-nav-link > span { display:inline-grid; place-items:center; width:22px; color:#8ba9da; font-size:16px; }
.client-nav-link:hover, .client-nav-link.active { border-color:rgba(113,167,255,.23); background:rgba(57,116,216,.14); color:#fff; }
.client-nav-link.active > span { color:var(--accent); }
.client-nav-link > .nav-count { margin-left:auto; width:auto; min-width:20px; padding:2px 6px; border-radius:999px; background:rgba(113,167,255,.13); color:#a9c7ff; font-size:10px; font-weight:800; }
.client-nav-link.active > .nav-count { background:rgba(113,167,255,.22); color:#fff; }
.sidebar-store-card { margin-top:14px; padding:13px; border:1px solid rgba(113,167,255,.18); border-radius:10px; background:rgba(52,121,246,.07); }
.sidebar-store-card strong { display:block; color:#e7efff; font-size:11px; }
.sidebar-store-card p { margin:7px 0 10px; color:var(--muted); font-size:10px; line-height:1.6; }
.sidebar-store-card button, .text-action { padding:0; border:0; background:transparent; color:var(--accent); font:inherit; font-size:10px; font-weight:750; cursor:pointer; }
.client-content { min-width:0; }
.client-view { min-width:0; }
.view-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:15px; }
.view-heading h3 { margin:6px 0; font-size:23px; letter-spacing:-.035em; }
.view-heading p { margin:0; color:var(--muted); font-size:12px; line-height:1.65; }
.client-view > .data-panel { min-height:170px; }
.overview-panels { margin-top:12px; }
.panel-title-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.panel-title-row h3 { margin-bottom:10px; }
.support-intro-panel { display:flex; align-items:flex-start; gap:16px; padding:22px; border:1px solid var(--border); border-radius:12px; background:rgba(17,24,39,.78); }
.support-icon { display:grid; place-items:center; flex:0 0 42px; height:42px; border-radius:11px; background:rgba(52,121,246,.13); color:var(--accent); font-size:21px; }
.support-intro-panel h4 { margin:2px 0 8px; font-size:14px; }
.support-intro-panel p { margin:0; color:var(--muted); font-size:12px; line-height:1.8; }
.feature-status { display:inline-block; margin-top:13px; padding:6px 9px; border:1px solid rgba(246,190,95,.2); border-radius:7px; background:rgba(246,190,95,.07); color:#e9c77f; font-size:10px; font-weight:700; }
.profile-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
.profile-field { display:grid; gap:7px; padding:14px 0; border-bottom:1px solid var(--border); }
.profile-field span { color:var(--muted); font-size:11px; }
.profile-field strong { overflow-wrap:anywhere; font-size:13px; font-weight:650; }
.profile-panel .cart-disclaimer { grid-column:1/-1; }
@media (max-width:800px) {
  .client-workspace { grid-template-columns:1fr; gap:12px; }
  .client-sidebar { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:9px; }
  .sidebar-caption { grid-column:1/-1; padding:5px 7px; }
  .client-nav-link { min-height:40px; padding:0 8px; font-size:11px; }
  .sidebar-store-card { grid-column:1/-1; margin-top:5px; }
}
@media (max-width:520px) {
  .dashboard-heading-actions { justify-content:flex-end; }
  .dashboard-heading-actions .secondary-button { padding:8px 9px; font-size:10px; }
  .view-heading h3 { font-size:20px; }
  .profile-panel { grid-template-columns:1fr; }
  .support-intro-panel { padding:16px; gap:12px; }
}


/* --------------------------------------------------
   AJUSTE DE ENQUADRAMENTO — LOGIN E CRIAR CONTA
-------------------------------------------------- */
.access-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) 0;
}

.access-intro {
  min-width: 0;
  max-width: 520px;
  padding: 8px 0;
}

.access-intro h2 {
  max-width: 460px;
  margin: 14px 0 16px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.12;
  text-wrap: balance;
}

.access-intro > p {
  max-width: 440px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.feature-list {
  gap: 19px;
  margin-top: 30px;
}

.feature-item {
  gap: 14px;
}

.feature-item p {
  max-width: 360px;
}

.auth-card {
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 32px);
  border-color: rgba(125, 164, 225, .24);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(52, 121, 246, .12), transparent 42%),
    linear-gradient(155deg, rgba(21, 31, 49, .98), rgba(10, 16, 28, .99));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .24);
}

.auth-heading {
  align-items: center;
  margin-bottom: 22px;
}

.auth-heading > div {
  min-width: 0;
}

.auth-heading h2 {
  font-size: 20px;
  line-height: 1.25;
}

.auth-heading p {
  font-size: 12px;
  line-height: 1.5;
}

.auth-tabs {
  margin-bottom: 20px;
}

.auth-tab {
  min-height: 42px;
  font-size: 13px;
}

#login-panel,
#signup-panel {
  min-width: 0;
}

#login-form,
#signup-form {
  gap: 9px;
}

#login-form label,
#signup-form label {
  margin-top: 9px;
  font-size: 12px;
}

#login-form input,
#signup-form input {
  min-height: 47px;
  border-radius: 10px;
  font-size: 13px;
}

#login-form .primary-button,
#signup-form .primary-button {
  min-height: 49px;
  margin-top: 16px;
  padding-inline: 17px;
  font-size: 13px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  color: #9baac0;
  font-size: 11px;
  line-height: 1.5;
}

.secure-note span {
  color: var(--green);
}

.auth-footer {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: #7f8da4;
  font-size: 10px;
  line-height: 1.7;
}

.notice {
  margin: 0 0 16px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
  .access-layout {
    padding-inline: 12px;
  }
}

@media (max-width: 850px) {
  .access-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 26px;
  }

  .feature-list {
    gap: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .access-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 38px 0 44px;
  }

  .access-intro {
    max-width: none;
    padding: 0;
  }

  .access-intro h2 {
    max-width: 100%;
    margin: 11px 0;
    font-size: clamp(30px, 8vw, 38px);
  }

  .access-intro > p {
    max-width: 520px;
    font-size: 13px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 22px;
  }

  .feature-item {
    gap: 12px;
  }

  .feature-icon {
    flex-basis: 35px;
    height: 35px;
  }

  .auth-card {
    max-width: 500px;
    justify-self: center;
    padding: 22px;
    border-radius: 16px;
  }

  .auth-heading h2 {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .auth-card {
    padding: 18px;
  }

  .auth-heading {
    gap: 10px;
  }

  .auth-icon {
    width: 38px;
    height: 38px;
  }
}


/* --------------------------------------------------
   REDESIGN VISUAL FORTE — ACESSO E CADASTRO
   Login fica logo após a apresentação principal.
-------------------------------------------------- */
.access-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
  max-width: none;
  margin: 28px 0 46px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(113, 167, 255, .22);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(42, 103, 210, .18), transparent 46%),
    radial-gradient(ellipse at 100% 100%, rgba(44, 89, 163, .12), transparent 42%),
    linear-gradient(135deg, rgba(15, 24, 41, .96), rgba(9, 14, 25, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.access-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: 34%;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(113, 167, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(113, 167, 255, .025), 0 0 0 70px rgba(113, 167, 255, .02);
  pointer-events: none;
}

.access-intro {
  align-self: center;
  max-width: 560px;
  padding: 8px 0;
}

.access-intro h2 {
  max-width: 500px;
  margin: 18px 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.access-intro h2 br {
  display: block;
}

.access-intro h2::first-line {
  color: #f4f7ff;
}

.access-intro > p {
  max-width: 430px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.feature-list {
  gap: 12px;
  margin-top: 30px;
}

.feature-item {
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(151, 176, 219, .11);
  border-radius: 13px;
  background: rgba(7, 13, 24, .34);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.feature-item:hover {
  transform: translateX(3px);
  border-color: rgba(113, 167, 255, .3);
  background: rgba(35, 63, 105, .2);
}

.feature-icon {
  flex-basis: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(52, 121, 246, .13);
  border-color: rgba(113, 167, 255, .2);
  font-size: 12px;
}

.feature-item strong {
  font-size: 13px;
}

.feature-item p {
  max-width: 380px;
  font-size: 11px;
  line-height: 1.6;
}

.auth-card {
  align-self: center;
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid rgba(139, 177, 243, .29);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(25, 37, 58, .98), rgba(12, 19, 32, .99));
  box-shadow: 0 25px 65px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.auth-heading {
  gap: 14px;
  margin-bottom: 25px;
}

.auth-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(52, 121, 246, .28), rgba(52, 121, 246, .08));
  font-size: 25px;
}

.auth-heading h2 {
  font-size: 21px;
  letter-spacing: -.035em;
}

.auth-heading p {
  font-size: 12px;
}

.auth-tabs {
  padding: 5px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(4, 9, 17, .58);
}

.auth-tab {
  min-height: 43px;
  border-radius: 9px;
  font-size: 13px;
}

.auth-tab.active {
  background: linear-gradient(135deg, #2f6fdc, #234e99);
  color: #fff;
  box-shadow: 0 5px 15px rgba(24, 75, 164, .25);
}

#login-form,
#signup-form {
  gap: 9px;
}

#login-form label,
#signup-form label {
  margin-top: 8px;
  color: #e1e9f7;
  font-size: 12px;
}

#login-form input,
#signup-form input {
  min-height: 49px;
  padding-inline: 14px;
  border-color: rgba(156, 177, 210, .22);
  background: rgba(4, 9, 17, .48);
  font-size: 13px;
}

#login-form .primary-button,
#signup-form .primary-button {
  min-height: 50px;
  margin-top: 17px;
  padding-inline: 17px;
  border-radius: 11px;
  background: linear-gradient(105deg, #3479f6, #2458b8);
  box-shadow: 0 10px 25px rgba(35, 94, 194, .2);
  font-size: 13px;
}

.secure-note {
  margin-top: 18px;
  font-size: 11px;
}

.auth-footer {
  margin-top: 22px;
  padding-top: 17px;
  font-size: 10px;
}

@media (max-width: 850px) {
  .access-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    gap: 24px;
    padding: 25px;
  }

  .access-intro h2 {
    font-size: clamp(32px, 4vw, 42px);
  }

  .feature-item {
    padding: 11px;
  }
}

@media (max-width: 700px) {
  .access-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    margin: 18px 0 34px;
    padding: 22px 17px;
    border-radius: 18px;
  }

  .access-intro {
    max-width: none;
    padding: 0;
  }

  .access-intro h2 {
    font-size: clamp(33px, 9vw, 43px);
  }

  .access-intro > p {
    font-size: 13px;
  }

  .feature-list {
    gap: 9px;
    margin-top: 20px;
  }

  .feature-item {
    padding: 10px;
  }

  .auth-card {
    max-width: none;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .auth-heading h2 {
    font-size: 19px;
  }
}


/* --------------------------------------------------
   ACESSO COMPACTO NO MENU — MODAL RESPONSIVO
-------------------------------------------------- */
.client-access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(113, 167, 255, .35);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(38, 77, 137, .45), rgba(16, 28, 48, .88));
  color: #edf4ff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.client-access-button:hover {
  border-color: rgba(133, 181, 255, .75);
  background: linear-gradient(135deg, rgba(43, 95, 174, .58), rgba(20, 37, 63, .96));
  transform: translateY(-1px);
}
.client-access-button .status-dot { flex: 0 0 7px; }
.auth-overlay[hidden] { display: none !important; }
.auth-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}
.auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(139, 177, 243, .3);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(42, 103, 210, .16), transparent 46%),
    linear-gradient(180deg, #172238, #0c1320);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55);
}
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(5, 10, 19, .55);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.auth-brand .brand-symbol { width: 38px; height: 38px; font-size: 21px; }
.auth-brand .brand-name { font-size: 13px; }
.auth-brand .brand-name small { font-size: 8px; }
.auth-dialog .auth-heading { margin-bottom: 22px; padding-right: 20px; }
.auth-dialog .auth-heading h2 { font-size: 22px; }
.auth-dialog .auth-heading p { line-height: 1.6; }
.auth-dialog .auth-tabs { margin-bottom: 20px; }
.auth-dialog #login-form,
.auth-dialog #signup-form { display: grid; gap: 8px; }
.auth-dialog #login-form label,
.auth-dialog #signup-form label { margin-top: 7px; font-size: 12px; }
.auth-dialog #login-form input,
.auth-dialog #signup-form input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(156, 177, 210, .22);
  border-radius: 10px;
  background: rgba(4, 9, 17, .48);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.auth-dialog .primary-button { min-height: 48px; margin-top: 14px; }
.auth-dialog .secure-note { margin-top: 15px; }
.auth-dialog .auth-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  line-height: 1.7;
}
.signup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 13px;
}
.signup-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.signup-field-wide { grid-column: 1 / -1; }
.auth-dialog .terms-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 15px !important;
  font-size: 11px !important;
  line-height: 1.6;
}
.auth-dialog .terms-check input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: #3479f6;
}
.auth-dialog .terms-check a,
.auth-switch-copy button {
  color: #91baff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-switch-copy { margin: 16px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch-copy button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
body.auth-open { overflow: hidden; }
@media (max-width: 700px) {
  .client-access-button { min-height: 38px; padding: 0 10px; font-size: 11px; }
  .topbar-right { gap: 7px; }
  .auth-overlay { padding: 12px; align-items: center; }
  .auth-dialog { max-height: calc(100dvh - 24px); padding: 24px 18px; border-radius: 17px; }
  .auth-brand { margin-bottom: 21px; }
}
@media (max-width: 420px) {
  .signup-fields { grid-template-columns: minmax(0, 1fr); }
  .signup-field-wide { grid-column: auto; }
  .client-access-button { gap: 6px; padding-inline: 8px; }
  .topbar { gap: 8px; }
  .brand { gap: 7px; }
  .brand-symbol { width: 36px; height: 36px; }
  .brand-name { font-size: 12px; }
}


/* --------------------------------------------------
   MEUS SERVIÇOS — PAINEL DE SERVIÇOS CONTRATADOS
-------------------------------------------------- */
.services-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.service-summary-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(21,31,49,.9), rgba(14,21,35,.8));
}
.service-summary-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(113,167,255,.12);
  color: var(--accent);
  font-size: 18px;
}
.service-icon-active { color: var(--green); background: rgba(102,223,177,.1); }
.service-icon-pending { color: #e9c77f; background: rgba(246,190,95,.1); }
.service-summary-card small,
.service-summary-card strong { display: block; }
.service-summary-card small { color: var(--muted); font-size: 11px; }
.service-summary-card strong { margin-top: 4px; font-size: 23px; letter-spacing: -.03em; }
.services-toolbar { display: flex; gap: 10px; margin: 0 0 15px; }
.services-search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(17,24,39,.76);
  color: var(--muted);
}
.services-search-wrap > span { font-size: 20px; }
.services-search-wrap input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}
.services-search-wrap input:focus-visible { outline: 0; }
.services-toolbar select {
  min-width: 155px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #111827;
  color: var(--text);
  font-size: 12px;
}
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contracted-service-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(17,24,39,.94), rgba(12,18,30,.9));
  transition: border-color .18s ease, transform .18s ease;
}
.contracted-service-card:hover { border-color: rgba(113,167,255,.34); transform: translateY(-1px); }
.contracted-service-top { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.contracted-service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(113,167,255,.16);
  border-radius: 12px;
  background: rgba(52,121,246,.1);
  color: var(--accent);
  font-size: 19px;
}
.contracted-service-heading { flex: 1; min-width: 0; padding-top: 2px; }
.contracted-service-heading h4 { margin: 0 0 5px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; }
.contracted-service-type { color: var(--muted); font-size: 10px; }
.service-status-badge { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--border); border-radius: 20px; font-size: 10px; font-weight: 750; }
.status-active { color: var(--green); background: rgba(102,223,177,.08); border-color: rgba(102,223,177,.2); }
.status-pending { color: #e9c77f; background: rgba(246,190,95,.07); border-color: rgba(246,190,95,.18); }
.status-inactive { color: #aab5c7; background: rgba(152,165,187,.07); }
.status-unknown { color: var(--muted); }
.contracted-service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contracted-service-detail { min-width: 0; }
.contracted-service-detail span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.contracted-service-detail strong { display: block; overflow-wrap: anywhere; font-size: 11px; font-weight: 650; }
.contracted-service-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.contracted-service-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.service-access-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid rgba(113,167,255,.35); border-radius: 9px; background: rgba(52,121,246,.12); color: #bcd5ff; font-size: 10px; font-weight: 750; white-space: nowrap; }
.service-access-button:hover { background: rgba(52,121,246,.2); }
.services-empty-state { grid-column: 1 / -1; padding: 32px 20px; border: 1px dashed var(--border); border-radius: 14px; text-align: center; }
.services-empty-state strong { display: block; margin-bottom: 7px; font-size: 13px; }
.services-empty-state p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 700px) {
  .services-summary-grid { grid-template-columns: 1fr; gap: 8px; }
  .service-summary-card { padding: 13px; }
  .service-summary-card strong { font-size: 20px; }
  .services-toolbar { flex-direction: column; }
  .services-toolbar select { min-height: 42px; }
  .services-grid { grid-template-columns: 1fr; }
  .contracted-service-card { padding: 15px; }
  .contracted-service-top { flex-wrap: wrap; }
  .service-status-badge { margin-left: auto; }
}


/* --------------------------------------------------
   DETALHES DO SERVIÇO CONTRATADO
-------------------------------------------------- */
.service-details-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: rgba(152,165,187,.06); color: var(--text);
  font-size: 10px; font-weight: 750; cursor: pointer;
}
.service-details-button:hover { border-color: rgba(113,167,255,.4); background: rgba(113,167,255,.08); }
.service-detail-overlay {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: 20px; overflow-y: auto; background: rgba(3,7,15,.78); backdrop-filter: blur(10px);
}
.service-detail-overlay[hidden] { display: none !important; }
.service-detail-dialog {
  width: min(100%, 650px); max-height: min(88vh, 850px); overflow-y: auto;
  padding: 25px; border: 1px solid rgba(160,181,216,.2); border-radius: 19px;
  background: linear-gradient(145deg, #141e30, #0c1220); box-shadow: 0 24px 90px rgba(0,0,0,.42);
}
.service-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.service-detail-header h3 { margin: 7px 0 6px; font-size: 23px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.service-detail-header p { margin: 0; color: var(--muted); font-size: 12px; }
.service-detail-close {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04);
  color: var(--text); font-size: 25px; line-height: 1; cursor: pointer;
}
.service-detail-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 15px; }
.service-detail-reference { color: var(--muted); font-size: 11px; }
.service-detail-description {
  margin-bottom: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 11px;
  background: rgba(255,255,255,.025); color: #d5deee; font-size: 12px; line-height: 1.8; white-space: pre-line;
}
.service-detail-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-detail-field { min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.025); }
.service-detail-field span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.service-detail-field strong { display: block; overflow-wrap: anywhere; font-size: 12px; font-weight: 650; }
.service-detail-note { margin-top: 16px; padding: 15px; border: 1px solid rgba(113,167,255,.18); border-radius: 11px; background: rgba(52,121,246,.06); }
.service-detail-note strong { font-size: 12px; }
.service-detail-note p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.service-detail-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.service-detail-actions .primary-button { border: 1px solid rgba(113,167,255,.4); border-radius: 10px; padding: 10px 14px; background: linear-gradient(135deg,var(--accent-strong),#285ac2); color: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
body.service-detail-open { overflow: hidden; }
@media (max-width: 600px) {
  .service-detail-overlay { padding: 10px; align-items: end; }
  .service-detail-dialog { max-height: 92vh; padding: 18px; border-radius: 17px 17px 10px 10px; }
  .service-detail-header h3 { font-size: 20px; }
  .service-detail-fields { grid-template-columns: 1fr; }
  .service-detail-actions { flex-direction: column-reverse; }
  .service-detail-actions button { width: 100%; min-height: 42px; }
}


/* Informações específicas de cada serviço contratado */
.service-customer-information {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border, rgba(160, 181, 216, .14));
}
.service-customer-information h3 {
  margin: 0 0 12px;
  color: var(--text, #f3f6fc);
  font-size: 1rem;
  font-weight: 700;
}
.service-customer-information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.service-customer-information-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border, rgba(160, 181, 216, .14));
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}
.service-customer-information-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted, #98a5bb);
  font-size: .78rem;
}
.service-customer-information-item strong {
  display: block;
  color: var(--text, #f3f6fc);
  font-size: .92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.service-customer-information-empty {
  margin: 0;
  color: var(--muted, #98a5bb);
  font-size: .9rem;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .service-customer-information-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Atendimento / Tickets */
.support-ticket-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.support-ticket-form { display: grid; gap: 9px; }
.support-ticket-form label { font-weight: 600; }
.support-ticket-form input, .support-ticket-form select, .support-ticket-form textarea { width: 100%; min-width: 0; border: 1px solid var(--border, rgba(130,150,180,.28)); border-radius: 10px; padding: 12px 13px; color: var(--text, #f3f6fc); background: var(--surface, #111827); font: inherit; }
.support-ticket-form select option { color: #f3f6fc; background: #111827; }
.support-ticket-form input:disabled, .support-ticket-form select:disabled, .support-ticket-form textarea:disabled { opacity: .58; cursor: not-allowed; }
.support-ticket-form textarea { resize: vertical; }
.support-ticket-hint { margin: -3px 0 4px; color: var(--muted, #98a5bb); font-size: .82rem; line-height: 1.5; }
.support-ticket-hint.error, .support-ticket-feedback.error { color: #f87171; }
.support-ticket-feedback { min-height: 1.2em; margin: 0; font-size: .9rem; }
.support-ticket-feedback.success { color: #34d399; }
.support-ticket-list-panel .data-list { display: grid; gap: 10px; padding: 4px 0; }
.support-ticket-list-panel .support-ticket-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px; margin: 0; border: 1px solid var(--border, rgba(130,150,180,.2)); border-radius: 12px; background: var(--surface, #111827) !important; color: var(--text, #f3f6fc) !important; }
.support-ticket-item-main, .support-ticket-item-side { display: grid; gap: 7px; min-width: 0; }
.support-ticket-item-main strong { color: var(--text, #f3f6fc); overflow-wrap: anywhere; }
.support-ticket-item-side { justify-items: end; text-align: right; }
.support-ticket-item small, .support-ticket-message small { color: var(--muted, #94a3b8); }
.support-ticket-service { font-weight: 600; color: var(--text, #dbeafe) !important; }
.support-ticket-priority { display: inline-flex; width: fit-content; padding: 4px 8px; border: 1px solid var(--border, rgba(130,150,180,.2)); border-radius: 999px; color: var(--text, #e5e7eb); font-size: .78rem; }
.support-ticket-priority.priority-urgent { color: #fca5a5; border-color: rgba(248,113,113,.35); }
.support-ticket-priority.priority-high { color: #fcd34d; border-color: rgba(251,191,36,.3); }
.support-ticket-status { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 999px; background: rgba(59,130,246,.12); color: var(--text, #dbeafe); font-size: .8rem; }
.support-ticket-detail { margin-top: 18px; }
.support-ticket-messages { display: grid; gap: 12px; margin: 18px 0; }
.support-ticket-message { padding: 14px; border: 1px solid var(--border, rgba(130,150,180,.25)); border-radius: 12px; color: var(--text, #f3f6fc); background: var(--surface, #111827); }
.support-ticket-message > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.support-ticket-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; }
.support-ticket-message.from-client { background: rgba(59,130,246,.06); }
@media (max-width: 900px) { .support-ticket-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .support-ticket-item { align-items: flex-start; flex-direction: column; } .support-ticket-item-side { justify-items: start; text-align: left; } }

/* Portal do cliente — atualizações e anexos dos tickets */
.support-ticket-update {
  color: var(--accent, #7dd3fc);
  font-weight: 600;
}
.support-ticket-attachments {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--border, rgba(148,163,184,.22));
  border-radius: 12px;
  background: var(--panel, #111827);
}
.support-ticket-attachments h4 {
  margin: 0 0 10px;
}
.support-ticket-attachments ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.support-ticket-attachments a {
  color: var(--accent, #7dd3fc);
  overflow-wrap: anywhere;
}
.support-ticket-attachments small {
  color: var(--muted, #98a5bb);
}
#support-ticket-file,
#support-ticket-reply-file {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid var(--border, #263244);
  border-radius: 10px;
  background: var(--panel, #111827);
  color: var(--text, #f3f6fc);
}



/* Orçamentos e propostas — apresentação organizada no portal do cliente */
.quote-proposal-card {
  display: grid;
  gap: 16px;
  margin: 12px 0;
  padding: 20px;
  border: 1px solid var(--border, rgba(125, 211, 252, .22));
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 27, 45, .96), rgba(10, 16, 29, .96));
  color: var(--text, #f3f6fc);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.quote-proposal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quote-proposal-heading { display: grid; gap: 5px; min-width: 0; }
.quote-proposal-eyebrow { color: var(--accent, #7dd3fc); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.quote-proposal-title { margin: 0; color: var(--text, #f3f6fc); font-size: 1.12rem; line-height: 1.35; overflow-wrap: anywhere; }
.quote-proposal-status { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 6px 10px; border: 1px solid rgba(125, 211, 252, .25); border-radius: 999px; background: rgba(125, 211, 252, .09); color: #bae6fd; font-size: .78rem; font-weight: 700; }
.quote-proposal-status.status-accepted { color: #86efac; border-color: rgba(74, 222, 128, .25); background: rgba(34, 197, 94, .08); }
.quote-proposal-status.status-declined, .quote-proposal-status.status-cancelled { color: #fca5a5; border-color: rgba(248, 113, 113, .25); background: rgba(239, 68, 68, .08); }
.quote-proposal-description { margin: 0; color: var(--muted, #aab7ca); font-size: .9rem; line-height: 1.6; }
.quote-proposal-value-box { display: grid; justify-items: start; gap: 4px; padding: 16px; border: 1px solid rgba(125, 211, 252, .2); border-radius: 12px; background: rgba(56, 189, 248, .055); }
.quote-proposal-value-box > span:first-child { color: var(--muted, #aab7ca); font-size: .82rem; }
.quote-proposal-value-box > strong { color: var(--text, #f8fafc); font-size: clamp(1.65rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.quote-proposal-cycle { color: var(--accent, #7dd3fc); font-size: .88rem; }
.quote-proposal-details { display: grid; gap: 12px; }
.quote-proposal-detail { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border, rgba(148, 163, 184, .14)); }
.quote-proposal-detail span { color: var(--muted, #aab7ca); font-size: .85rem; }
.quote-proposal-detail strong { color: var(--text, #f3f6fc); font-size: .9rem; }
.quote-proposal-notes { padding: 13px 14px; border-radius: 10px; background: rgba(148, 163, 184, .06); }
.quote-proposal-notes strong { font-size: .84rem; }
.quote-proposal-notes p { margin: 6px 0 0; color: var(--muted, #c0cada); font-size: .9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote-proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-proposal-actions button { min-height: 43px; padding: 11px 16px; border-radius: 10px; font: inherit; font-size: .9rem; font-weight: 750; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.quote-proposal-actions button:hover:not(:disabled) { transform: translateY(-1px); }
.quote-proposal-actions button:disabled { opacity: .55; cursor: wait; }
.quote-proposal-accept { border: 1px solid rgba(74, 222, 128, .35); background: #15803d; color: #fff; }
.quote-proposal-decline { border: 1px solid var(--border, rgba(148, 163, 184, .24)); background: transparent; color: var(--muted, #cbd5e1); }
.quote-proposal-footnote { margin: -6px 0 0; color: var(--muted, #98a5bb); font-size: .78rem; line-height: 1.5; }
@media (max-width: 560px) {
  .quote-proposal-card { padding: 15px; gap: 13px; }
  .quote-proposal-header { align-items: flex-start; flex-direction: column; }
  .quote-proposal-detail { align-items: flex-start; flex-direction: column; gap: 4px; }
  .quote-proposal-actions { display: grid; grid-template-columns: 1fr; }
  .quote-proposal-actions button { width: 100%; }
}


/* Cartão de serviço: hierarquia visual clara, preço em destaque e detalhes agrupados. */
.cart-item { align-items: flex-start; gap: 18px; padding: 20px 0; }
.cart-item-info { flex: 1 1 auto; min-width: 0; text-align: left; justify-items: stretch; gap: 9px; }
.cart-item-info > strong { display: block; width: 100%; color: var(--text); font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.cart-item-info > .cart-item-price { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 6px 10px; border: 1px solid rgba(113,167,255,.22); border-radius: 8px; background: rgba(52,121,246,.10); color: #d8e6ff; font-size: 13px; font-weight: 750; }
.cart-item-description { width: 100%; max-width: 680px; margin: 2px 0 0; padding: 12px 14px; border: 1px solid rgba(156,177,210,.12); border-radius: 10px; background: rgba(6,12,23,.28); overflow-wrap: anywhere; }
.cart-item-section-label { display: block; margin-bottom: 5px; color: #aebed5; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cart-item-features { margin: 0; color: #c3cede; font-size: 12px; line-height: 1.8; }
.cart-item-region { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1px; }
.cart-item-region > span { color: var(--muted); font-size: 11px; }
.cart-item-region > strong { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid rgba(91,190,154,.22); border-radius: 7px; background: rgba(16,185,129,.08); color: #a8f0d4; font-size: 11px; font-weight: 700; }
.cart-cloud-vps-details { width: 100%; text-align: left; }
@media (max-width: 520px) {
  .cart-item { align-items: flex-start; gap: 10px; padding: 16px 0; }
  .cart-item-info { min-width: 0; }
  .cart-item-info > strong { font-size: 15px; }
  .cart-item-description { padding: 10px 11px; }
  .cart-remove { margin-top: 2px; padding: 7px 8px; }
}

/* Seletor visual de extensões de domínio no checkout */
.domain-checkout-option { border: 1px solid var(--border-color, #d9e1ec); border-radius: 14px; padding: 18px; margin-bottom: 22px; background: var(--surface-soft, rgba(127,145,170,.06)); }
.domain-checkout-option h4 { margin: 0 0 8px; }
.domain-checkout-option > p { margin: 0 0 16px; color: var(--muted, #64748b); line-height: 1.5; }
.domain-choice { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin: 8px 0; border: 1px solid var(--border-color, #d9e1ec); border-radius: 10px; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.domain-choice:has(input:checked) { border-color: var(--primary, #3867d6); background: rgba(56,103,214,.07); }
.domain-choice input { accent-color: var(--primary, #3867d6); flex: 0 0 auto; }
#existing-domain-fields, #new-domain-fields { padding: 12px 0 4px; }
#existing-domain-fields label, #new-domain-fields > label { display: block; margin-bottom: 7px; font-weight: 600; }
#new-domain { width: 100%; box-sizing: border-box; }
.domain-extension-label { display: block; margin: 14px 0 8px; font-size: .9rem; font-weight: 600; }
.domain-extension-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.domain-extension-button { min-width: 68px; padding: 10px 14px; border: 1px solid var(--border-color, #cbd5e1); border-radius: 9px; background: var(--card-bg, #fff); color: inherit; font: inherit; font-weight: 650; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.domain-extension-button:hover { border-color: var(--primary, #3867d6); transform: translateY(-1px); }
.domain-extension-button[aria-pressed="true"] { color: #fff; background: var(--primary, #3867d6); border-color: var(--primary, #3867d6); box-shadow: 0 3px 10px rgba(56,103,214,.18); }
.domain-check-row { display: flex; gap: 10px; margin-top: 12px; }
.domain-check-row button { width: 100%; }
.domain-price-note { margin: 12px 0 0; font-size: .9rem; line-height: 1.5; }
.domain-price-note.error { color: #dc2626; }
@media (max-width: 520px) { .domain-checkout-option { padding: 14px; } .domain-extension-options { gap: 7px; } .domain-extension-button { flex: 1 0 27%; padding: 10px 8px; } }


/* Ajustes de contraste e dimensões do seletor de domínio */
#new-domain-fields #new-domain {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #52647d;
  border-radius: 10px;
  background: #0b1422;
  color: #f3f7ff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.18);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#new-domain-fields #new-domain::placeholder { color: #8292a9; opacity: 1; }
#new-domain-fields #new-domain:focus {
  border-color: #5b91ff;
  background: #0e1b2d;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}
.domain-extension-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.domain-extension-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #40516a;
  border-radius: 10px;
  background: #202d40;
  color: #eaf1ff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  opacity: 1;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}
.domain-extension-button:hover { background: #2a3b54; border-color: #7ca7ff; color: #fff; }
.domain-extension-button[aria-pressed="true"] {
  background: #3268df;
  border-color: #6594ff;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(80,133,255,.2);
}
.domain-extension-button:focus-visible { outline: 3px solid rgba(105,157,255,.55); outline-offset: 2px; }
@media (max-width: 520px) {
  .domain-extension-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .domain-extension-button { min-height: 42px; padding: 9px 5px; font-size: 13px; }
}


/* Preço de domínio confirmado pela API oficial */
#domain-price-note {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(113, 167, 255, .25);
  border-radius: 10px;
  background: rgba(52, 121, 246, .08);
  color: #d7e5ff;
  font-size: .9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#domain-price-note.error {
  border-color: rgba(255, 111, 126, .45);
  background: rgba(220, 38, 38, .10);
  color: #ffb8c0;
}
#check-domain-button:disabled,
#add-domain-button:disabled {
  cursor: not-allowed;
  opacity: .62;
}


/* Configurador Cloud VPS incorporado ao catálogo do cliente */
.cloud-inline-config{margin-top:18px;padding:20px;border:1px solid rgba(113,167,255,.28);border-radius:16px;background:linear-gradient(145deg,rgba(12,23,41,.98),rgba(8,15,27,.98));box-shadow:0 14px 34px rgba(0,0,0,.18);display:grid;gap:16px;min-width:0}
.cloud-inline-heading h4{margin:0 0 6px;font-size:1.15rem;color:#f4f7ff}
.cloud-inline-heading p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.55}
.cloud-inline-regions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.cloud-inline-region{min-height:44px;padding:10px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.03);color:var(--text);font-weight:750;cursor:pointer}
.cloud-inline-region.selected{border-color:#71a7ff;background:rgba(52,121,246,.18);color:#e4edff;box-shadow:inset 0 0 0 1px rgba(113,167,255,.18)}
.cloud-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cloud-inline-field{display:grid;gap:7px;min-width:0;color:var(--muted);font-size:.82rem;font-weight:700}
.cloud-inline-field select{width:100%;min-width:0;min-height:42px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:#101b2c;color:var(--text);font:inherit}
.cloud-inline-field select option{background:#101b2c;color:#f4f7ff}
.cloud-inline-summary{padding:15px;border:1px solid rgba(113,167,255,.2);border-radius:12px;background:rgba(52,121,246,.06)}
.cloud-inline-summary>strong{display:block;color:#f4f7ff}
.cloud-inline-summary>p{margin:8px 0 12px;color:var(--muted);font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}
.cloud-inline-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.cloud-inline-price strong{font-size:1.5rem;color:#fff}
.cloud-inline-price span{font-size:.8rem;color:var(--muted)}
.cloud-inline-hosting{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px;border:1px solid var(--border);border-radius:10px;cursor:pointer}
.cloud-inline-hosting input{margin-top:4px;accent-color:#71a7ff}
.cloud-inline-hosting span{display:grid;gap:5px}
.cloud-inline-hosting strong{font-size:.87rem;color:#e9efff}
.cloud-inline-hosting small{font-size:.78rem;color:var(--muted);line-height:1.45}
.cloud-inline-add{margin-top:0}
.cloud-inline-add:disabled{opacity:.65;cursor:wait}
.cloud-inline-status{margin:10px 0 0;font-size:.82rem;line-height:1.45;color:#a9c8ff;overflow-wrap:anywhere}
.cloud-inline-status.error{color:#ffaaa8}
@media(max-width:540px){.cloud-inline-config{padding:15px}.cloud-inline-fields{grid-template-columns:1fr}.cloud-inline-regions{grid-template-columns:1fr}.cloud-inline-price strong{font-size:1.35rem}}


/* Destaque dos brindes quando Cloud VPS e hospedagem estão juntos no carrinho. */
.cart-gifts-highlight {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(90, 230, 190, .55);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 150, 115, .18), rgba(56, 120, 230, .12));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}
.cart-gifts-highlight strong { display: block; color: #8af0ca; font-size: 1rem; }
.cart-gifts-highlight p { margin: .45rem 0 0; line-height: 1.55; color: inherit; }
.cloud-inline-hosting-manual { display: block; padding: 1rem; border: 1px solid rgba(125, 150, 190, .28); border-radius: 12px; }
.cloud-inline-hosting-manual small { display: block; margin-top: .35rem; line-height: 1.55; }
.cloud-inline-domain-option { margin-top: 1rem; }