:root {
  font-family: Inter, Arial, sans-serif;
  color: #1f2937;
  background: #f9fafb;
}
* {
  box-sizing: border-box;
}
img,
video,
iframe {
  max-width: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
.topbar {
  height: 80px;
  background: #fff;
  box-shadow: 0 3px 10px #0002;
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
}
.brand img {
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  height: 40px;
  width: 40px;
  border: 2px solid #fb923c;
  border-radius: 50%;
  background: #fed7aa;
  color: #9a3412;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}
.user-name {
  font-size: 14px;
  font-weight: 600;
}
.logout {
  border: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  font-weight: 600;
}
.sidebar {
  position: fixed;
  top: 80px;
  bottom: 0;
  left: 0;
  width: 256px;
  background: #fff;
  box-shadow: 2px 0 10px #0001;
  padding: 16px 8px;
  z-index: 4;
  overflow-y: auto;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar .nav-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
.sidebar nav > a,
.sidebar nav > span:not(.nav-heading) {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 8px;
  color: #4b5563;
  text-decoration: none;
}
.sidebar nav > form {
  margin: 0;
}
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b91c1c;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sidebar-logout:hover,
.sidebar-logout:focus-visible {
  background: #fef2f2;
}
.sidebar .active {
  background: #f97316;
  color: white !important;
  box-shadow: 0 0 12px #f9731680;
  font-weight: 700;
  border-right: 6px solid #c2410c;
}
.sidebar nav > span:not(.nav-heading) {
  opacity: 0.5;
}
.nav-heading {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  padding: 18px 14px 0;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.content {
  margin: 80px 0 0 256px;
  padding: 30px;
  max-width: 1800px;
}
.content h1 {
  font-size: 30px;
  margin: 0 0 24px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.metric {
  background: #f9fafb;
  border-radius: 9px;
  padding: 24px;
  min-height: 138px;
  box-shadow: 0 4px 8px #0002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.metric:hover {
  transform: scale(1.025);
  box-shadow: 0 4px 20px #fb923c66;
}
.metric span {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
}
.metric strong {
  font-size: 29px;
}
.metric small {
  font-size: 13px;
  color: #6b7280;
}
.secondary .metric strong {
  font-size: 25px;
}
.journey {
  color: white;
  background: #312e81;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 24px;
  box-shadow: 0 4px 8px #0002;
}
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #6b21a8aa, #312e81dd, #000);
  z-index: 1;
}
.journey-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey > :not(.journey-background) {
  position: relative;
  z-index: 2;
}
.journey h2 {
  font-size: 29px;
  margin: 0 0 20px;
}
.journey p {
  margin: 12px 0;
  color: #e5e7eb;
}
.progress {
  height: 14px;
  background: #fff;
  border-radius: 20px;
  margin-top: 28px;
}
.progress div {
  height: 100%;
  width: 0;
  background: #f97316;
  border-radius: 20px;
}
.progress .progress-0 {
  width: 0%;
}
.progress .progress-1 {
  width: 10%;
}
.progress .progress-2 {
  width: 20%;
}
.progress .progress-3 {
  width: 30%;
}
.progress .progress-4 {
  width: 40%;
}
.progress .progress-5 {
  width: 50%;
}
.progress .progress-6 {
  width: 60%;
}
.progress .progress-7 {
  width: 70%;
}
.progress .progress-8 {
  width: 80%;
}
.progress .progress-9 {
  width: 90%;
}
.progress .progress-10 {
  width: 100%;
}
.journey-link {
  color: #fff;
  font-weight: 700;
}
.journey-feature h3 {
  margin: 26px 0 8px;
  font-size: 22px;
}
.journey-amount {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.journey-timeline > p {
  color: #6b7280;
  margin-top: 0;
}
.journey-timeline ol {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.journey-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}
.journey-timeline li.stage-current {
  border-color: #f97316;
  background: #fff7ed;
}
.journey-timeline li.stage-completed {
  border-color: #86efac;
  background: #f0fdf4;
}
.stage-symbol {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 800;
}
.stage-current .stage-symbol {
  color: #c2410c;
  background: #fed7aa;
}
.stage-completed .stage-symbol {
  color: #166534;
  background: #bbf7d0;
}
.journey-timeline li > div {
  flex: 1;
}
.journey-timeline li strong,
.journey-timeline li small {
  display: block;
}
.journey-timeline li small {
  margin-top: 4px;
  color: #6b7280;
}
.journey-timeline li p {
  margin: 9px 0 0;
  color: #4b5563;
  font-size: 14px;
}
.stage-state {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .journey-timeline li {
    flex-wrap: wrap;
  }
  .stage-state {
    margin-left: 50px;
  }
}
.wallet-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.wallet-summary article {
  display: grid;
  gap: 10px;
  min-height: 132px;
  align-content: center;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px #0000000d;
}
.wallet-summary.four-columns {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.wallet-summary span,
.wallet-panel-heading p {
  color: #64748b;
}
.wallet-summary strong {
  color: #17213a;
  font-size: 28px;
}
.wallet-summary .wallet-balance-card {
  border-color: #fed7aa;
  background: linear-gradient(135deg, #fff7ed, #fff);
}
.wallet-summary .wallet-balance-card strong {
  color: #c2410c;
}
.wallet-panel-heading {
  margin-bottom: 20px;
}
.wallet-panel-heading h2,
.wallet-panel-heading p {
  margin: 0;
}
.wallet-panel-heading p {
  margin-top: 5px;
}
.wallet-entry-type {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.wallet-entry-value {
  font-weight: 800;
  white-space: nowrap;
}
.wallet-entry-value.credit {
  color: #15803d;
}
.wallet-entry-value.debit {
  color: #b91c1c;
}
.wallet-withdraw-link {
  text-decoration: none;
}
.withdrawal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.withdrawal-form-panel {
  margin: 0;
}
.withdrawal-balance-label {
  display: block;
  color: #64748b;
  font-size: 14px;
}
.withdrawal-balance {
  display: block;
  margin: 5px 0 24px;
  color: #c2410c;
  font-size: 30px;
}
.withdrawal-form-panel .settings-primary {
  width: 100%;
  margin-top: 4px;
}
.settings-primary:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}
.withdrawal-history h2 {
  margin-top: 0;
}
.withdrawal-key {
  color: #64748b;
  overflow-wrap: anywhere;
}
.withdrawal-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.withdrawal-status.status-paid {
  background: #dcfce7;
  color: #166534;
}
.withdrawal-status.status-failed,
.withdrawal-status.status-canceled,
.withdrawal-status.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}
.withdrawal-payout {
  display: block;
  margin-top: 4px;
  color: #64748b;
}
.withdrawal-admin-key {
  max-width: 230px;
  overflow-wrap: anywhere;
}
.admin-action-complete {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.admin-action-complete .nav-icon {
  width: 18px;
  height: 18px;
}
.product-review-button.hold {
  background: #fff7ed;
  color: #c2410c;
}
.financial-sale-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.financial-sale-status.status-available {
  background: #dcfce7;
  color: #166534;
}
.financial-sale-status.status-held {
  background: #fef3c7;
  color: #92400e;
}
.financial-sale-status.status-pending_release {
  background: #e0f2fe;
  color: #075985;
}
.financial-sale-status.status-refunded {
  background: #fee2e2;
  color: #991b1b;
}
.admin-financial-sales-table .product-review-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.users-table.admin-financial-sales-table th,
.users-table.admin-financial-sales-table td {
  padding-left: 10px;
  padding-right: 10px;
}
.users-table.admin-financial-sales-table {
  width: 100%;
  min-width: 1020px;
}
.admin-financial-sales-table .financial-col-product {
  width: 25%;
}
.admin-financial-sales-table .financial-col-date {
  width: 14%;
}
.admin-financial-sales-table .financial-col-producer {
  width: 16%;
}
.admin-financial-sales-table .financial-col-buyer {
  width: 13%;
}
.admin-financial-sales-table .financial-col-value,
.admin-financial-sales-table .financial-col-transfer {
  width: 7%;
}
.admin-financial-sales-table .financial-col-status {
  width: 11%;
}
.admin-financial-sales-table .financial-col-actions {
  width: 7%;
}
.users-table.admin-financial-sales-table th:first-child,
.users-table.admin-financial-sales-table td:first-child {
  width: auto;
  min-width: 210px;
}
.users-table.admin-financial-sales-table th:nth-child(n + 2),
.users-table.admin-financial-sales-table td:nth-child(n + 2) {
  width: 1%;
  min-width: 0;
}
.admin-financial-sales-table td:nth-child(3),
.admin-financial-sales-table td:nth-child(4),
.admin-financial-sales-table td:nth-child(5),
.admin-financial-sales-table td:nth-child(6),
.admin-financial-sales-table .financial-sale-product strong,
.admin-financial-sales-table .financial-sale-date {
  white-space: nowrap;
}
.admin-financial-sales-table .financial-sale-product {
  line-height: 1.35;
}
.admin-financial-sales-table .financial-sale-date {
  color: #475569;
}
.admin-financial-sales-table .admin-product-actions {
  flex-wrap: nowrap;
}
@media (max-width: 800px) {
  .wallet-summary,
  .wallet-summary.four-columns {
    grid-template-columns: 1fr;
  }
  .withdrawal-layout {
    grid-template-columns: 1fr;
  }
}
.panel {
  min-width: 0;
  background: white;
  padding: 24px;
  border-radius: 9px;
  box-shadow: 0 4px 8px #0002;
}
.panel h2 {
  font-size: 20px;
  margin: 0 0 20px;
  display: flex;
  justify-content: space-between;
}
.panel h2 small {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
}
.chart {
  height: 310px;
  display: flex;
  align-items: end;
  gap: 15px;
  padding: 18px 0 0;
  border-bottom: 1px solid #d1d5db;
}
.bar-group {
  height: 100%;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
}
.bar {
  width: min(100%, 60px);
  background: #f97316;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.bar-value {
  font-size: 11px;
  white-space: nowrap;
}
.nav-switch,
.menu-button,
.overlay {
  display: none;
}
.login-page {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #fff7ed, #f9fafb);
}
.login-card {
  width: min(92vw, 400px);
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px #0002;
}
.login-card img {
  max-height: 58px;
  max-width: 210px;
}
.login-card h1 {
  font-size: 24px;
  margin: 28px 0;
}
.login-card form {
  display: grid;
  gap: 18px;
}
.login-card label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.login-card input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}
.login-card button {
  padding: 13px;
  background: #f97316;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.error {
  color: #b91c1c;
  background: #fee2e2;
  padding: 10px;
  border-radius: 6px;
}
@media (max-width: 1050px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  .topbar {
    padding: 12px 16px;
  }
  .brand img {
    max-width: 145px;
  }
  .user-name {
    display: none;
  }
  .menu-button {
    display: block;
    cursor: pointer;
    font-size: 25px;
    padding: 7px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: min(85vw, 300px);
  }
  .nav-switch:checked ~ .sidebar {
    transform: translateX(0);
  }
  .overlay {
    position: fixed;
    inset: 80px 0 0;
    background: #0007;
    z-index: 3;
  }
  .nav-switch:checked ~ .overlay {
    display: block;
  }
  .content {
    margin-left: 0;
    padding: 22px 16px;
  }
  .metric-grid {
    gap: 14px;
  }
  .metric {
    padding: 18px;
  }
  .metric strong {
    font-size: 24px;
  }
  .secondary .metric strong {
    font-size: 21px;
  }
}
@media (max-width: 470px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .chart {
    gap: 5px;
  }
  .bar-value {
    font-size: 9px;
  }
  .bar-group {
    font-size: 10px;
  }
}
.bar-1 {
  height: 10%;
}
.bar-2 {
  height: 20%;
}
.bar-3 {
  height: 30%;
}
.bar-4 {
  height: 40%;
}
.bar-5 {
  height: 50%;
}
.bar-6 {
  height: 60%;
}
.bar-7 {
  height: 70%;
}
.bar-8 {
  height: 80%;
}
.bar-9 {
  height: 90%;
}
.bar-10 {
  height: 100%;
}
/* Página pública */
.landing-page {
  background: #fff;
  color: #162033;
}
.public-header {
  height: 84px;
  max-width: 1380px;
  padding: 0 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-header img,
.public-footer img {
  width: 160px;
  max-height: 56px;
  object-fit: contain;
}
.public-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.public-header nav a {
  text-decoration: none;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}
.public-header nav a:hover {
  color: #ea580c;
}
.public-header .header-signin {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 12px 20px;
  color: #c2410c;
}
.public-header .header-signin span {
  margin-left: 10px;
}
.landing-hero {
  max-width: 1380px;
  min-height: 610px;
  margin: auto;
  padding: 22px 48px 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}
.landing-copy {
  padding: 20px 0;
}
.eyebrow {
  display: inline-block;
  color: #ea580c;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 800;
  font-size: 11px;
}
.landing-copy h1 {
  font-size: clamp(43px, 5vw, 76px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  max-width: 690px;
  margin: 24px 0;
}
.landing-copy h1 em {
  font-style: normal;
  color: #f97316;
}
.landing-copy > p {
  font-size: 19px;
  line-height: 1.7;
  color: #667085;
  max-width: 560px;
  margin-bottom: 34px;
}
.landing-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
}
.primary-action {
  background: #f97316;
  color: #fff;
  box-shadow: 0 9px 22px #f973163b;
}
.primary-action:hover {
  background: #ea580c;
}
.secondary-action {
  color: #344054;
  border: 1px solid #e4e7ec;
  background: #fff;
}
.secondary-action:hover {
  border-color: #fdba74;
  color: #c2410c;
}
.secondary-action span {
  margin-left: 10px;
}
.landing-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #667085;
  margin-top: 32px;
}
.note-dot {
  width: 9px;
  height: 9px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #ffedd5;
}
.hero-art {
  position: relative;
  height: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px #0f172a22;
  background: #0f172a;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0f172add, transparent 55%);
}
.hero-caption {
  position: absolute;
  bottom: 32px;
  left: 36px;
  right: 24px;
  color: #fff;
}
.hero-caption .eyebrow {
  color: #fdba74;
}
.hero-caption strong {
  display: block;
  font-size: 29px;
  line-height: 1.15;
  margin-top: 12px;
}
.landing-features {
  background: #fff7ed;
  padding: 85px 48px 96px;
}
.landing-features > * {
  max-width: 1284px;
  margin-left: auto;
  margin-right: auto;
}
.section-intro {
  text-align: center;
}
.section-intro h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.04em;
  margin: 15px 0 10px;
}
.section-intro p {
  color: #667085;
  font-size: 17px;
  line-height: 1.6;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.feature-grid article {
  background: #fff;
  border: 1px solid #ffedd5;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 28px #9a34120c;
}
.feature-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #ea580c;
  background: #ffedd5;
  font-size: 27px;
}
.feature-grid h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.feature-grid p {
  color: #667085;
  line-height: 1.6;
  margin: 0;
}
.landing-end {
  max-width: 1284px;
  margin: auto;
  padding: 84px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.landing-end h2 {
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -0.04em;
  margin: 15px 0 0;
}
.public-footer {
  border-top: 1px solid #eaecf0;
  padding: 36px 48px;
  max-width: 1380px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.public-footer p {
  color: #667085;
  font-size: 13px;
  margin-right: auto;
}
.public-footer small {
  color: #98a2b3;
}
.catalog-page {
  min-height: 100vh;
}
.catalog-main {
  max-width: 1380px;
  min-height: 650px;
  margin: 0 auto;
  padding: 48px;
}
.catalog-heading {
  max-width: 720px;
  margin-bottom: 34px;
}
.catalog-heading h1 {
  margin: 13px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.catalog-heading p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.6;
}
.catalog-filters {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.7fr) repeat(4, minmax(140px, 1fr))
    auto auto;
  gap: 14px;
  align-items: end;
  padding: 22px;
  margin-bottom: 34px;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 25px #0f172a0a;
}
.catalog-filters label {
  display: grid;
  gap: 7px;
  color: #475467;
  font-size: 12px;
  font-weight: 750;
}
.catalog-filters input,
.catalog-filters select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font: inherit;
  font-size: 14px;
}
.catalog-filters input:focus,
.catalog-filters select:focus {
  outline: 2px solid #fed7aa;
  border-color: #f97316;
}
.catalog-filters button,
.catalog-filters > a {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.catalog-filters button {
  border: 0;
  color: #fff;
  background: #ea580c;
  cursor: pointer;
}
.catalog-filters > a {
  color: #475467;
  border: 1px solid #d0d5dd;
  text-decoration: none;
}
.catalog-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.catalog-result-heading h2 {
  margin: 0;
  font-size: 24px;
}
.catalog-result-heading span {
  color: #667085;
  font-size: 14px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.catalog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 26px #0f172a0b;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px #0f172a16;
}
.catalog-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f2f4f7;
}
.catalog-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.catalog-card:hover .catalog-card-image img {
  transform: scale(1.025);
}
.catalog-card-image > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: #ea580c;
  font-size: 12px;
  font-weight: 800;
}
.catalog-card-body {
  padding: 18px;
}
.catalog-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.catalog-card-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.catalog-card-tags small {
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-card h2 {
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
.catalog-card h2 a {
  color: #101828;
  text-decoration: none;
}
.catalog-card-body > p {
  min-height: 42px;
  margin: 0 0 20px;
  display: -webkit-box;
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.catalog-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.catalog-card-footer > div {
  display: grid;
  gap: 2px;
}
.catalog-card-footer del {
  color: #98a2b3;
  font-size: 12px;
}
.catalog-card-footer strong {
  color: #101828;
  font-size: 20px;
}
.catalog-card-footer > a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  background: #ea580c;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-page .list-pagination {
  margin-top: 30px;
}
.catalog-empty {
  padding: 70px 24px;
  border: 1px solid #eaecf0;
  border-radius: 15px;
  text-align: center;
  background: #fff;
}
.catalog-empty h2 {
  margin: 0 0 8px;
}
.catalog-empty p {
  margin: 0 0 22px;
  color: #667085;
}
.catalog-empty a {
  color: #c2410c;
  font-weight: 800;
}
@media (max-width: 1180px) {
  .catalog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-search {
    grid-column: span 2;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .catalog-main {
    padding: 38px 24px 60px;
  }
  .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-search {
    grid-column: 1/-1;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .public-nav-signup {
    display: none;
  }
  .catalog-main {
    padding: 30px 18px 50px;
  }
  .catalog-filters {
    grid-template-columns: 1fr;
    padding: 17px;
  }
  .catalog-search {
    grid-column: auto;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
.not-found-page {
  display: flex;
  flex-direction: column;
}
.not-found-page .public-header,
.not-found-page .public-footer {
  width: 100%;
}
.not-found-main {
  width: 100%;
  max-width: 1380px;
  min-height: 610px;
  flex: 1;
  margin: auto;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 60px;
}
.not-found-content {
  max-width: 650px;
}
.not-found-code {
  margin: 12px 0 0;
  color: #f97316;
  font-size: clamp(100px, 13vw, 190px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
}
.not-found-code span {
  color: #162033;
}
.not-found-content h1 {
  margin: 16px 0;
  font-size: clamp(32px, 3.5vw, 49px);
  letter-spacing: -0.045em;
}
.not-found-content p {
  max-width: 550px;
  margin: 0 0 30px;
  color: #667085;
  font-size: 17px;
  line-height: 1.7;
}
.not-found-art {
  width: min(100%, 380px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 2px solid #fed7aa;
  border-radius: 38% 62% 61% 39% / 42% 43% 57% 58%;
  background: radial-gradient(circle at 32% 29%, #fff7ed, #ffedd5);
  transform: rotate(-10deg);
}
.not-found-art span {
  color: #fb923c;
  font-size: clamp(130px, 18vw, 245px);
  font-weight: 800;
  line-height: 1;
  transform: rotate(10deg);
}
@media (max-width: 760px) {
  .not-found-main {
    min-height: 0;
    padding: 60px 24px 80px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .not-found-art {
    width: 180px;
    grid-row: 1;
  }
  .not-found-art span {
    font-size: 120px;
  }
  .not-found-code {
    font-size: 100px;
  }
  .not-found-content p {
    font-size: 16px;
  }
}
@media (max-width: 950px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-art {
    height: 430px;
  }
  .landing-copy {
    padding-top: 30px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .landing-end {
    padding: 65px 36px;
  }
}
@media (max-width: 600px) {
  .public-header {
    height: 72px;
    padding: 0 22px;
  }
  .public-header img {
    width: 125px;
  }
  .public-header nav {
    gap: 0;
  }
  .public-header nav a:first-child {
    display: none;
  }
  .public-header .header-signin {
    padding: 10px 14px;
  }
  .landing-hero {
    padding: 20px 22px 54px;
  }
  .landing-copy h1 {
    font-size: 44px;
  }
  .landing-copy > p {
    font-size: 16px;
  }
  .hero-art {
    height: 340px;
    border-radius: 18px;
  }
  .hero-caption {
    left: 24px;
    bottom: 22px;
  }
  .hero-caption strong {
    font-size: 24px;
  }
  .landing-features {
    padding: 65px 22px;
  }
  .landing-end {
    padding: 60px 22px;
    display: block;
  }
  .landing-end .primary-action {
    margin-top: 25px;
  }
  .public-footer {
    padding: 30px 22px;
    display: block;
  }
  .public-footer img {
    width: 130px;
  }
  .public-footer p {
    margin: 15px 0;
  }
  .public-footer small {
    display: block;
  }
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.product-action:hover {
  background: #f4f7fb;
  border-color: #aebbd0;
}
.product-action svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.product-copy {
  color: #1d4ed8;
}
.product-delete {
  color: #dc2626;
}
.product-copy-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #166534;
  min-height: 1em;
}
.checkout-page {
  min-height: 100vh;
  background: #f3f5fa;
  color: #182033;
}
.checkout-refund-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
}
.checkout-refund-modal {
  width: min(100%, 500px);
  box-sizing: border-box;
  padding: 34px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
  text-align: center;
}
.checkout-refund-modal h2 {
  margin: 12px 0;
  color: #17213a;
  font-size: 26px;
}
.checkout-refund-modal p {
  margin: 0 0 24px;
  color: #566176;
  line-height: 1.65;
}
.checkout-refund-modal form {
  margin: 0;
}
.checkout-refund-modal .settings-primary {
  width: 100%;
}
.checkout-refund-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff7ed;
  color: #c2410c;
  font-size: 26px;
  font-weight: 900;
}
.checkout-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.checkout-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 36px;
}
.checkout-brand img {
  display: block;
  max-width: 170px;
  max-height: 54px;
  object-fit: contain;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.checkout-panel {
  padding: 32px;
  border: 1px solid #e3e7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(27, 38, 64, 0.06);
}
.checkout-panel h1,
.checkout-panel h2 {
  margin: 8px 0 12px;
  color: #17213a;
  line-height: 1.2;
}
.checkout-panel h1 {
  font-size: clamp(26px, 4vw, 38px);
}
.checkout-panel h2 {
  font-size: 25px;
}
.checkout-panel p {
  color: #647087;
  line-height: 1.6;
}
.checkout-eyebrow {
  display: block;
  color: #e36e24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #e9ecf2;
  margin-top: 40px;
  padding-top: 24px;
}
.checkout-total strong {
  font-size: 27px;
  color: #17213a;
}
.checkout-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.checkout-form fieldset {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-panel > .checkout-form + .settings-message,
.checkout-panel > .checkout-form + .checkout-hint {
  margin: 18px 0 0;
}
.checkout-form h3 {
  margin: 12px 0 0;
}
.checkout-section-note {
  margin: 0;
  font-size: 14px;
}
.checkout-preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
}
.checkout-preview-banner a {
  margin-left: auto;
  color: inherit;
  font-weight: 700;
}
.checkout-order-address {
  margin: 18px 0;
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}
.checkout-order-address p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
.checkout-form label,
.checkout-pix-label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.checkout-form input,
.checkout-form textarea,
.checkout-pix-label textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd3df;
  border-radius: 9px;
  font: inherit;
  color: #17213a;
  background: #fff;
  box-sizing: border-box;
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-pix-label textarea:focus {
  border-color: #eb7627;
  outline: 2px solid #f9d7be;
}
.checkout-form button,
.checkout-order button,
.checkout-order a.settings-primary {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
.checkout-form .checkout-terms-acceptance {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}
.checkout-form .checkout-terms-acceptance input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #d95f0b;
}
.checkout-terms-acceptance a {
  color: #b94b08;
  font-weight: 700;
  text-underline-offset: 2px;
}
.legal-page {
  min-height: 100vh;
  background: #f5f6fa;
}
.legal-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}
.legal-brand {
  display: inline-flex;
  margin-bottom: 28px;
}
.legal-brand img {
  display: block;
  width: auto;
  height: 40px;
}
.legal-document {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid #e1e4ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgb(18 24 40 / 7%);
}
.legal-document h1 {
  margin: 8px 0 10px;
  color: #15192b;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}
.legal-updated {
  margin: 0 0 32px;
  color: #6b7280;
}
.legal-document section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eceef3;
}
.legal-document h2 {
  margin: 0 0 10px;
  color: #1d2235;
  font-size: 1.2rem;
}
.legal-document p,
.legal-document li {
  color: #4b5563;
  line-height: 1.72;
}
.legal-document ul {
  margin: 10px 0 0;
  padding-left: 22px;
}
.legal-back {
  display: inline-flex;
  margin-top: 28px;
  color: #b94b08;
  font-weight: 700;
  text-decoration: none;
}
.checkout-hint {
  font-size: 13px;
}
.checkout-order-shell {
  max-width: 620px;
}
.checkout-order {
  text-align: center;
}
.checkout-order .checkout-pix-label {
  text-align: left;
  margin: 24px 0;
}
.checkout-order .checkout-pix-label textarea {
  resize: vertical;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 400;
}
.checkout-qr {
  display: block;
  max-width: 260px;
  width: 100%;
  margin: 22px auto;
}
.checkout-success {
  padding: 18px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857 !important;
}
.checkout-download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fffaf5;
  text-align: left;
}
.checkout-download-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #ea580c;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}
.checkout-download-card h2,
.checkout-download-card p {
  margin: 0;
}
.checkout-download-card h2 {
  font-size: 18px;
}
.checkout-download-card p {
  margin-top: 4px;
  color: #64748b;
  font-size: 14px;
}
.checkout-download-card .settings-primary {
  grid-column: 1 / -1;
  margin: 0;
}
@media (max-width: 700px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-panel {
    padding: 22px;
  }
  .checkout-brand {
    margin-bottom: 24px;
  }
}
.register-card {
  width: min(92vw, 440px);
  margin: 32px 0;
}
.auth-intro {
  color: #667085;
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.5;
}
.auth-switch {
  color: #667085;
  font-size: 14px;
  text-align: center;
  margin: 22px 0 0;
}
.auth-switch a {
  color: #c2410c;
  font-weight: 700;
  text-decoration: none;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.login-card input:focus-visible,
.login-card button:focus-visible,
.auth-switch a:focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 2px;
}
.role-badge {
  background: #ffedd5;
  color: #9a3412;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Painel administrativo */
.admin-shell .sidebar .active {
  background: linear-gradient(90deg, #f97316, #fdba74);
  box-shadow: 0 4px 15px #f9731666;
}
.admin-content {
  max-width: none;
}
.admin-heading h1 {
  margin-bottom: 4px;
}
.admin-heading p {
  color: #6b7280;
  margin: 0 0 27px;
}
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.admin-kpi {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000000c;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
}
.admin-kpi-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 700;
}
.admin-kpi-icon .nav-icon {
  width: 25px;
  height: 25px;
}
.admin-list-icon .nav-icon {
  width: 19px;
  height: 19px;
}
.admin-kpi-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}
.admin-kpi-icon.green {
  background: #dcfce7;
  color: #16a34a;
}
.admin-kpi-icon.orange {
  background: #ffedd5;
  color: #ea580c;
}
.admin-kpi-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}
.admin-kpi-icon.cyan {
  background: #cffafe;
  color: #0891b2;
}
.admin-kpi-icon.teal {
  background: #ccfbf1;
  color: #0f766e;
}
.admin-kpi-icon.amber {
  background: #fef3c7;
  color: #b45309;
}
.admin-kpi-icon.rose {
  background: #ffe4e6;
  color: #be123c;
}
.admin-kpi-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-kpi-label {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.25;
}
.admin-kpi strong {
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.admin-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000000c;
  padding: 24px;
}
.admin-panel h2 {
  margin: 0 0 18px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.admin-panel h2 small {
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
}
.admin-chart-panel {
  margin-bottom: 24px;
}
.admin-chart {
  height: 300px;
  display: grid;
  grid-template-columns: repeat(30, minmax(12px, 1fr));
  align-items: end;
  gap: 5px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
}
.admin-chart-day {
  min-width: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 5px;
}
.admin-chart-bar {
  background: linear-gradient(#fdba74, #f97316);
  border-radius: 4px 4px 0 0;
  width: 100%;
  min-height: 2px;
}
.admin-chart-bar.bar-0 {
  height: 0;
  min-height: 0;
}
.admin-chart-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: #6b7280;
  border: 1px dashed #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}
.admin-chart-day span {
  height: 18px;
  color: #9ca3af;
  font-size: 10px;
  white-space: nowrap;
}
.admin-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.admin-empty {
  text-align: center;
  color: #6b7280;
  padding: 20px 0;
}
.admin-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.admin-ranking li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.admin-list-icon {
  background: #ffedd5;
  color: #ea580c;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 20px;
}
.admin-list-icon.seller-icon,
.admin-list-icon.user-icon {
  border-radius: 50%;
  background: #e5e7eb;
  color: #4b5563;
}
.admin-list-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.admin-list-detail strong,
.admin-list-detail small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-list-detail strong {
  font-size: 14px;
}
.admin-list-detail small {
  color: #6b7280;
  font-size: 12px;
}
.admin-list-count {
  color: #ea580c;
  font-size: 19px;
  font-weight: 700;
  text-align: right;
}
.admin-list-count small {
  display: block;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 400;
}
.admin-list-count.green-text {
  color: #16a34a;
}
.admin-user-role {
  padding: 5px 8px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-size: 11px;
}
.admin-products-table {
  min-width: 1080px;
}
.admin-products-table td {
  vertical-align: middle;
}
.admin-products-table td:nth-child(4) {
  white-space: nowrap;
}
.admin-products-table td small {
  display: block;
}
.admin-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-product-actions form {
  margin: 0;
}
.product-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.product-review-button .nav-icon {
  width: 18px;
  height: 18px;
}
.product-review-button.approve {
  border-color: #16a34a;
  color: #166534;
}
.product-review-button.disable {
  border-color: #dc2626;
  color: #b91c1c;
}
.product-review-button.reject {
  border-color: #f59e0b;
  color: #92400e;
}
.product-review-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-approval-status {
  display: inline-block;
  margin-top: 6px;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}
.product-approval-status.approved {
  color: #15803d;
}
.product-approval-status.disabled {
  color: #b91c1c;
}
.product-approval-status.rejected {
  color: #b91c1c;
}
.product-approval-issue {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}
.list-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: #64748b;
  font-size: 13px;
}
.list-pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.list-pagination-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 34px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #dbe1e8;
  border-radius: 7px;
  color: #334155;
  text-decoration: none;
  font-weight: 700;
}
.list-pagination-links a.active {
  border-color: #ea580c;
  background: #fff7ed;
  color: #c2410c;
}
@media (max-width: 1150px) {
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-list-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .admin-kpis {
    gap: 12px;
  }
  .admin-kpi {
    padding: 14px;
    min-height: 90px;
    gap: 8px;
  }
  .admin-kpi-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }
  .admin-kpi-icon .nav-icon {
    width: 21px;
    height: 21px;
  }
  .admin-kpi strong {
    font-size: 20px;
  }
  .admin-kpi-label {
    font-size: 12px;
  }
  .admin-chart {
    grid-template-columns: repeat(30, 18px);
  }
}
/* Configurações do administrador */
.track-activate {
  display: flex;
  align-items: end;
  gap: 16px;
}
.track-activate label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.track-activate select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  font: inherit;
}
.track-activate button {
  white-space: nowrap;
}
.track-activate button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.track-list-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.track-list-section h3 {
  margin: 0 0 18px;
  font-size: 19px;
}
.track-list {
  display: grid;
  gap: 12px;
}
.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.track-item strong,
.track-item small {
  display: block;
}
.track-item small {
  margin-top: 5px;
  color: #6b7280;
  overflow-wrap: anywhere;
}
.track-item code {
  color: #374151;
}
.track-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.track-item-actions a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.track-view {
  color: #1d4ed8;
  background: #dbeafe;
}
.track-remove {
  color: #b91c1c;
  background: #fee2e2;
}
.track-funnel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.track-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 142px;
  padding: 19px;
  border-left: 4px solid;
  border-radius: 9px;
  background: #f9fafb;
}
.track-metric span,
.track-metric small {
  color: #6b7280;
  font-size: 13px;
}
.track-metric strong {
  font-size: 29px;
}
.track-metric.page {
  border-color: #3b82f6;
  background: #eff6ff;
}
.track-metric.checkout {
  border-color: #eab308;
  background: #fefce8;
}
.track-metric.purchase {
  border-color: #22c55e;
  background: #f0fdf4;
}
.track-metric.overall {
  border-color: #f97316;
  background: #fff7ed;
}
.track-docs {
  margin-bottom: 24px;
}
.track-docs-header {
  margin-bottom: 20px;
  padding: 3px 0 3px 18px;
  border-left: 4px solid #f97316;
}
.track-docs-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.track-docs-header h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.track-docs-header p {
  max-width: 760px;
  margin: 0;
  color: #5f6672;
  line-height: 1.6;
}
.track-doc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.track-doc-step {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px #0000000d;
}
.track-doc-example {
  grid-column: 1 / -1;
}
.track-doc-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 0;
}
.track-doc-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  background: #fff1e6;
  color: #c45c17;
  font-size: 12px;
  font-weight: 800;
}
.track-doc-step-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.track-doc-step-body {
  min-width: 0;
  padding: 22px 24px 25px;
}
.track-doc-label {
  margin: 0 0 9px;
  color: #697386;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.track-doc-label:not(:first-child) {
  margin-top: 22px;
}
.track-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.track-endpoint span {
  padding: 6px 9px;
  border-radius: 5px;
  background: #e5f5e9;
  color: #166534;
  font:
    800 12px Consolas,
    monospace;
}
.track-endpoint code {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
}
.track-doc-token {
  display: inline-block;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #f8fafc;
  color: #25324a;
  overflow-wrap: anywhere;
}
.track-doc-hint {
  margin: 15px 0 0;
  color: #586273;
  font-size: 14px;
  line-height: 1.6;
}
.track-doc-hint:first-child {
  margin-top: 0;
  margin-bottom: 15px;
}
.track-doc-hint code,
.track-event-list code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eef2ff;
  color: #34429a;
}
.track-event-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.track-event-list > div {
  padding: 13px 15px;
  border: 1px solid #e7eaf0;
  border-radius: 9px;
  background: #f8fafc;
}
.track-event-list dt,
.track-event-list dd {
  margin: 0;
}
.track-event-list dd {
  margin-top: 8px;
  color: #586273;
}
.track-code-header {
  padding: 9px 16px;
  border-radius: 8px 8px 0 0;
  background: #263247;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}
.track-code {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 0 0 8px 8px;
  background: #172033;
  color: #e8edf7;
  font:
    13px/1.7 Consolas,
    monospace;
}
.track-code code {
  font: inherit;
  white-space: pre;
}
.integrations-overview {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #fed7aa;
  border-radius: 13px;
  background: linear-gradient(120deg, #fff7ed, #fff);
  box-shadow: 0 2px 8px #0000000d;
}
.integrations-development {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.integrations-development-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c2410c;
  background: #ffedd5;
}
.integrations-development-icon .nav-icon {
  width: 28px;
  height: 28px;
}
.integrations-development h2 {
  margin: 0 0 8px;
  font-size: 25px;
}
.integrations-development p {
  margin: 0;
  color: #64748b;
}
.telegram-integration {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.integration-card-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
}
.integration-card-heading h2,
.integration-card-heading p {
  margin: 0;
}
.integration-card-heading p {
  margin-top: 5px;
  color: #64748b;
}
.telegram-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #229ed9;
}
.telegram-mark svg {
  width: 30px;
  height: 30px;
}
.whatsapp-mark {
  background: #25d366;
}
.whatsapp-integration {
  border-top: 3px solid #25d366;
}
.whatsapp-destination-grid {
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
}
.whatsapp-groups-loader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
}
.whatsapp-groups-loader div {
  display: grid;
  gap: 4px;
}
.whatsapp-groups-loader span,
.whatsapp-groups-result p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}
.whatsapp-groups-loader button {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid #16a34a;
  border-radius: 8px;
  color: #166534;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}
.whatsapp-groups-loader button:disabled {
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
}
.whatsapp-groups-result {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f7fff9;
}
.whatsapp-groups-result label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.whatsapp-groups-result select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}
.integration-status {
  padding: 7px 11px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}
.integration-status.active {
  color: #166534;
  background: #dcfce7;
}
.telegram-settings-form {
  display: grid;
  gap: 22px;
}
.telegram-template-field {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.telegram-template-field textarea {
  width: 100%;
  min-height: 245px;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  color: #1f2937;
  font:
    14px/1.6 Consolas,
    monospace;
  resize: vertical;
}
.telegram-template-field textarea:focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 2px;
}
.telegram-variables {
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}
.telegram-variables h3 {
  margin: 0 0 13px;
  font-size: 15px;
}
.telegram-variables > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.telegram-variables span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.telegram-variables code {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
}
.telegram-variables small {
  overflow: hidden;
  color: #64748b;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.telegram-form-footer,
.telegram-test-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.telegram-form-footer {
  padding-top: 4px;
}
.settings-check,
.telegram-remove-token {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.settings-check input,
.telegram-remove-token input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ea580c;
}
.telegram-test-form {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
}
.telegram-test-form div {
  display: grid;
  gap: 3px;
}
.telegram-test-form span {
  color: #64748b;
  font-size: 13px;
}
.telegram-test-form button {
  padding: 10px 15px;
  border: 1px solid #229ed9;
  border-radius: 8px;
  color: #0369a1;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}
.telegram-test-form button:disabled {
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .telegram-variables > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .integration-card-heading {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .telegram-mark {
    width: 48px;
    height: 48px;
  }
  .integration-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .telegram-variables > div {
    grid-template-columns: 1fr;
  }
  .telegram-form-footer,
  .telegram-test-form,
  .whatsapp-groups-loader {
    align-items: stretch;
    flex-direction: column;
  }
}
.integrations-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 15px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 31px;
}
.integrations-tag {
  display: inline-block;
  margin-bottom: 7px;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.integrations-overview h2 {
  margin: 0 0 6px;
  font-size: 23px;
}
.integrations-overview p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}
.integrations-overview .settings-primary {
  text-decoration: none;
  white-space: nowrap;
}
.integrations-products {
  max-width: 1100px;
}
.integrations-products-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.integrations-products-heading h2 {
  margin: 0 0 5px;
}
.integrations-products-heading p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}
.integrations-products-heading > span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.integrations-product-list {
  display: grid;
  gap: 11px;
}
.integrations-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fafbfc;
}
.integrations-product strong,
.integrations-product small {
  display: block;
}
.integrations-product small {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
}
.integrations-product a {
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.integrations-product a:hover {
  text-decoration: underline;
}
.integrations-empty {
  padding: 30px 22px;
  border: 1px dashed #d0d5dd;
  border-radius: 9px;
  text-align: center;
}
.integrations-empty p {
  margin: 0 0 15px;
  color: #667085;
}
.integrations-empty a {
  display: inline-block;
  text-decoration: none;
}
@media (max-width: 760px) {
  .integrations-overview {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }
  .integrations-icon {
    width: 54px;
    height: 54px;
  }
  .integrations-overview .settings-primary {
    grid-column: 1 / -1;
    text-align: center;
  }
  .integrations-product {
    align-items: flex-start;
    flex-direction: column;
  }
  .integrations-products-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .track-doc-cards {
    grid-template-columns: 1fr;
  }
  .track-doc-example {
    grid-column: auto;
  }
}
@media (max-width: 600px) {
  .track-doc-step-title {
    padding: 20px 20px 0;
  }
  .track-doc-step-body {
    padding: 18px 20px 22px;
  }
}
@media (max-width: 1000px) {
  .track-funnel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .track-activate,
  .track-item {
    flex-direction: column;
    align-items: stretch;
  }
  .track-funnel {
    grid-template-columns: 1fr;
  }
}
.reports-panel h2 {
  margin-bottom: 26px;
}
.reports-form {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
}
.reports-form h3,
.reports-result-heading h3 {
  margin: 0 0 16px;
  font-size: 19px;
}
.reports-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reports-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.reports-filters input,
.reports-filters select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  color: #1f2937;
  font: inherit;
}
.reports-results {
  margin-top: 28px;
}
.reports-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.reports-result-heading h3 {
  margin-bottom: 5px;
}
.reports-result-heading p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}
.reports-export {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}
.reports-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.reports-summary div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.reports-summary span {
  color: #6b7280;
  font-size: 13px;
}
.reports-summary strong {
  font-size: 22px;
}
.reports-note,
.reports-intro {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
.reports-intro {
  margin: 28px 0 6px;
  text-align: center;
}
.reports-note {
  margin: 0 0 18px;
}
.reports-table-wrap {
  overflow-x: auto;
}
.reports-table th,
.reports-table td {
  min-width: 115px;
}
.reports-table td:first-child,
.reports-table td:nth-child(2) {
  min-width: 160px;
}
@media (max-width: 800px) {
  .reports-filters,
  .reports-summary {
    grid-template-columns: 1fr;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.users-panel h2 {
  margin-bottom: 24px;
}
.users-toolbar,
.users-search,
.users-filters,
.users-pagination,
.users-pagination > div,
.users-confirm-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.users-toolbar,
.users-pagination {
  justify-content: space-between;
}
.users-toolbar {
  margin-bottom: 22px;
}
.users-search {
  width: min(100%, 570px);
}
.users-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}
.users-search button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.users-add {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}
.users-filters {
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.users-filters a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #4b5563;
  background: #f3f4f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.users-filters a.active {
  color: #fff;
  background: #ea580c;
}
.users-table-wrap {
  overflow-x: auto;
}
.users-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.users-table th {
  background: #f9fafb;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.users-table th,
.users-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #e5e7eb;
}
.users-table td {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.users-table td:first-child {
  min-width: 180px;
}
.users-table td:nth-child(2) {
  min-width: 210px;
}
.users-role {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}
.users-role.role-admin {
  color: #9a3412;
  background: #ffedd5;
}
.users-role.role-infoprodutor {
  color: #166534;
  background: #dcfce7;
}
.users-role.role-usuario {
  color: #1e40af;
  background: #dbeafe;
}
.sale-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.sale-approved {
  color: #166534;
  background: #dcfce7;
}
.sale-pending {
  color: #92400e;
  background: #fef3c7;
}
.sale-refunded {
  color: #991b1b;
  background: #fee2e2;
}
.users-actions {
  white-space: nowrap;
}
.users-actions a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  margin-right: 12px;
}
.users-actions a.users-delete-link {
  color: #dc2626;
}
.users-actions a:hover,
.users-pagination a:hover {
  text-decoration: underline;
}
.users-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.users-action-group form {
  margin: 0;
}
.users-actions .users-icon-action {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
  color: #2563eb;
  cursor: pointer;
}
.users-icon-action .nav-icon {
  width: 18px;
  height: 18px;
}
.users-actions .users-delete-link,
.users-actions .users-disable-action {
  color: #b91c1c;
}
.users-actions .users-activate-action {
  color: #15803d;
}
.users-inactive {
  display: inline-block;
  margin-left: 8px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}
.cpf-admin-state {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.cpf-admin-state.verified {
  background: #dcfce7;
  color: #166534;
}
.cpf-admin-state.unverified {
  background: #fef3c7;
  color: #92400e;
}
.users-pagination {
  margin-top: 18px;
  color: #6b7280;
  font-size: 14px;
}
.users-pagination a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}
.users-form {
  max-width: 900px;
}
.admin-user-history {
  margin-top: 24px;
}
.admin-user-history .users-table {
  min-width: 760px;
}
.product-public-code-field {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.product-public-code-field label {
  font-weight: 700;
  color: #374151;
}
.product-public-code-input {
  display: flex;
  align-items: stretch;
  max-width: 520px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.product-public-code-input:focus-within {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.product-public-code-input span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f3f4f6;
  color: #6b7280;
  white-space: nowrap;
  border-right: 1px solid #d1d5db;
}
.product-public-code-input input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 0;
  outline: none;
  font: inherit;
}
.product-public-code-field p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}
.product-form h2:not(:first-of-type) {
  margin-top: 32px;
}
.product-member-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: #374151;
  margin-top: 16px;
}
.product-member-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #ea580c;
}
.product-type-field {
  display: none;
  margin-top: 18px;
}
.product-form:has(select[name="tipo"] option[value="fisico"]:checked)
  .type-physical,
.product-form:has(select[name="tipo"] option[value="arquivo"]:checked)
  .type-file,
.product-form:has(select[name="tipo"] option[value="online"]:checked)
  .type-online,
.product-form:has(select[name="tipo"] option[value="membros"]:checked)
  .type-members {
  display: grid;
}
.product-form .type-members {
  display: none;
}
.product-filters {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.product-filters label {
  display: grid;
  gap: 5px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.product-filters select,
.product-filters button {
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
}
.product-filters button {
  cursor: pointer;
  font-weight: 700;
}
.product-draft {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
}
.product-copy:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: #f8fafc;
}
.checkout-product-category {
  font-size: 12px;
  color: #ea580c !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checkout-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .checkout-address-grid {
    grid-template-columns: 1fr;
  }
}
.member-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  gap: 20px;
  justify-content: start;
}
.member-product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-product-card h2,
.member-product-card p {
  margin: 0;
}
.member-product-card .settings-primary {
  margin-top: auto;
  text-align: center;
}
.member-product-cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 9px;
}
.member-product-stats {
  display: flex;
  gap: 20px;
  color: #64748b;
  font-size: 13px;
  margin: 10px 0;
}
.member-manager-section {
  margin-bottom: 20px;
}
.member-inline-form,
.member-lesson-form,
.member-module-form {
  display: grid;
  gap: 12px;
  max-width: 700px;
}
.member-inline-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.member-inline-form label,
.member-lesson-form label,
.member-module-form label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}
.member-inline-form input,
.member-lesson-form input,
.member-lesson-form textarea,
.member-module-form input {
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}
.member-lesson-form small {
  color: #64748b;
  font-weight: 400;
}
.member-module-form small {
  color: #64748b;
  font-weight: 400;
}
.member-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.member-section-title h2 {
  margin: 0;
}
.member-delete {
  border: 0;
  background: transparent;
  color: #dc2626;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.member-lesson-list {
  padding-left: 22px;
}
.member-lesson-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #e5e7eb;
}
.member-lesson-list li form {
  display: inline-block;
  margin-left: 5px;
}
.member-lesson-cover {
  flex: none;
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  background: #e2e8f0;
}
.member-lesson-list li a {
  margin-left: 16px;
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.member-rename-form {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 14px 0;
}
.member-rename-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #64748b;
}
.member-rename-form input {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font: inherit;
}
.member-rename-form button {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font: inherit;
  cursor: pointer;
}
.member-student-list {
  list-style: none;
  padding: 0;
}
.member-student-list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.member-student-list span {
  color: #64748b;
}
.member-page {
  min-height: 100vh;
  background: #f3f5fa;
  color: #17213a;
}
.member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(24px, calc((100vw - 1100px) / 2));
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.member-header img {
  display: block;
  max-width: 160px;
  max-height: 50px;
  object-fit: contain;
}
.member-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.member-header nav > a {
  color: #475569;
  font-weight: 650;
  text-decoration: none;
}
.member-header nav > a:hover {
  color: #ea580c;
}
.member-header nav form {
  margin: 0;
}
.member-header nav button {
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  cursor: pointer;
}
.member-header .member-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.member-header .member-logout .nav-icon {
  width: 17px;
  height: 17px;
}
.member-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 36px auto 70px;
}
.member-page-title {
  margin-bottom: 28px;
}
.member-page-title h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 8px 0;
}
.member-page-title p {
  color: #64748b;
}
.member-auth-card {
  width: min(460px, 100%);
  margin: 60px auto;
  padding: 32px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}
.member-auth-card h1 {
  margin: 8px 0 15px;
}
.member-auth-card p {
  color: #64748b;
  line-height: 1.55;
}
.member-auth-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.member-auth-form label {
  display: grid;
  gap: 7px;
  font-weight: 650;
  font-size: 14px;
}
.member-auth-form input {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}
.member-course-card,
.member-module,
.member-lesson {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
.member-course-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.member-course-card > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.member-course-card > div {
  padding: 22px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.member-course-card h2,
.member-course-card p {
  margin: 0;
}
.member-course-card p,
.member-course-card span {
  color: #64748b;
}
.member-course-card a {
  margin-top: 14px;
  text-align: center;
}
.member-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}
.member-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ea580c;
}
.member-progress .progress-0 {
  width: 0;
}
.member-progress .progress-1 {
  width: 10%;
}
.member-progress .progress-2 {
  width: 20%;
}
.member-progress .progress-3 {
  width: 30%;
}
.member-progress .progress-4 {
  width: 40%;
}
.member-progress .progress-5 {
  width: 50%;
}
.member-progress .progress-6 {
  width: 60%;
}
.member-progress .progress-7 {
  width: 70%;
}
.member-progress .progress-8 {
  width: 80%;
}
.member-progress .progress-9 {
  width: 90%;
}
.member-progress .progress-10 {
  width: 100%;
}
.member-progress-line {
  display: grid;
  gap: 8px;
  max-width: 420px;
}
.member-progress-line > span {
  color: #475569;
  font-size: 13px;
  font-weight: 750;
}
.member-course-banner,
.member-course-banner-preview {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
}
.member-course-banner-preview {
  max-width: 760px;
  max-height: 220px;
}
.member-module-card.locked {
  opacity: 0.72;
}
.member-module-card.locked .checkout-eyebrow {
  color: #64748b;
}
.member-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  gap: 18px;
  align-items: stretch;
  justify-content: start;
}
.member-module-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.member-module-card > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.member-module-card > div {
  display: grid;
  flex: 1;
  gap: 10px;
  padding: 22px;
}
.member-module-card h2,
.member-module-card p {
  margin: 0;
}
.member-module-card p {
  color: #64748b;
}
.member-module-card .settings-primary {
  margin-top: auto;
  text-align: center;
}
.member-module {
  padding: 24px;
  margin: 0;
}
.member-module h2 {
  margin: 0 0 15px;
}
.member-module ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-module li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid #e2e8f0;
  color: #1e293b;
  text-decoration: none;
}
.member-module li a:hover {
  color: #ea580c;
}
.member-module-lessons {
  display: grid;
  gap: 12px;
}
.member-lesson-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.member-lesson-row.has-cover {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.member-lesson-row > img {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
}
.member-lesson-row > a {
  display: grid;
  gap: 4px;
  color: #17213a;
  text-decoration: none;
}
.member-lesson-locked {
  display: grid;
  gap: 4px;
  color: #64748b;
}
.member-lesson-locked span,
.member-lesson-locked small {
  font-size: 12px;
}
.member-lesson-row > a span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.member-lesson-row > a strong {
  font-size: 17px;
}
.member-viewed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 8px;
}
.member-viewed-checkbox {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
}
.member-lesson-row.viewed .member-viewed-checkbox {
  border-color: #16a34a;
  background: #16a34a;
}
.member-lesson-row.viewed > a strong {
  color: #64748b;
}
.member-lesson {
  padding: 30px;
  margin-top: 24px;
}
.member-lesson h1 {
  margin: 8px 0 25px;
}
.member-lesson video {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #0f172a;
  border-radius: 10px;
}
.protected-email {
  display: inline-flex;
  white-space: nowrap;
}
.member-explore-filters {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.member-explore-filters label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.member-explore-filters input,
.member-explore-filters select,
.member-application-panel textarea {
  min-width: 0;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.member-application-panel {
  max-width: 720px;
}
.application-status {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-radius: 10px;
}
.application-status.pending {
  background: #fff7ed;
  color: #9a3412;
}
.application-status.approved {
  background: #f0fdf4;
  color: #166534;
}
.application-status a {
  color: inherit;
  font-weight: 800;
}
@media (max-width: 900px) {
  .member-explore-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .member-header {
    align-items: flex-start;
  }
  .member-header nav {
    justify-content: flex-end;
    gap: 10px 14px;
  }
  .member-explore-filters {
    grid-template-columns: 1fr;
  }
  .member-explore-filters button {
    width: 100%;
  }
}
.member-lesson-image {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 10px;
  background: #f1f5f9;
}
.admin-member-preview {
  max-width: 1100px;
}
.admin-member-preview .member-module-grid {
  margin-top: 24px;
}
.admin-module-cover {
  display: block;
  width: calc(100% + 48px);
  height: 150px;
  margin: -24px -24px 20px;
  object-fit: cover;
}
@media (max-width: 760px) {
  .member-product-grid,
  .member-module-grid {
    grid-template-columns: 1fr;
  }
  .member-lesson-row {
    grid-template-columns: 1fr;
  }
  .member-lesson-row > img {
    width: 100%;
  }
  .member-viewed-toggle {
    padding: 0;
  }
}
.member-youtube-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #0f172a;
}
.member-youtube-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.member-lesson-text {
  margin-top: 24px;
  white-space: pre-wrap;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.member-materials {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}
.member-materials h2 {
  font-size: 20px;
}
.member-materials > div {
  display: grid;
  gap: 10px;
}
.member-materials a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #17213a;
  text-decoration: none;
}
.member-materials a span {
  color: #ea580c;
  font-size: 20px;
}
.member-order-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.member-order-actions form {
  margin: 0 !important;
}
.member-order-actions button {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  padding: 6px 9px;
  cursor: pointer;
}
.member-student-add {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
}
.member-student-add label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.member-student-add input {
  min-width: 0;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.member-student-list li {
  justify-content: space-between;
  align-items: center;
}
.member-student-list li > div {
  display: grid;
  gap: 3px;
}
.member-student-actions {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px !important;
}
.member-student-actions form {
  display: flex;
  gap: 7px;
  margin: 0;
}
.member-student-actions input {
  min-width: 160px;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
}
.member-student-actions button {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}
.member-material-admin-list {
  list-style: none;
  padding: 0;
}
.member-material-admin-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}
.settings-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.member-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.member-offer-option {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
}
.member-offer-option img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.member-offer-option span {
  color: #64748b;
  font-size: 13px;
}
.member-offers-title {
  margin-top: 42px;
}
@media (max-width: 800px) {
  .member-student-add {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .member-inline-form {
    grid-template-columns: 1fr;
  }
  .member-student-list li {
    flex-direction: column;
    gap: 3px;
  }
  .member-auth-card {
    padding: 24px;
  }
}
.product-form-block {
  margin-top: 20px;
}
.product-form .settings-grid textarea {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.product-form input[type="file"] {
  background: #fff;
}
.product-media-current {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 16px;
}
.product-media-current img,
.product-media-current video {
  display: block;
  max-width: min(100%, 360px);
  max-height: 240px;
  border-radius: 10px;
  background: #f1f5f9;
  object-fit: contain;
}
.product-media-current label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
}
.product-list-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-list-name img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}
.product-list-old-price {
  display: block;
  color: #94a3b8;
  font-size: 12px;
}
.products-table td:nth-child(3),
.products-table td:nth-child(4),
.products-table td:nth-child(5) {
  min-width: max-content;
  white-space: nowrap;
}
.products-table td:last-child {
  min-width: 190px;
}
.checkout-product-media {
  margin: 20px -8px 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.checkout-product-media + .checkout-product-media {
  margin-top: 0;
}
.checkout-product-media img,
.checkout-product-media video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}
.checkout-product-summary {
  font-size: 16px;
  color: #334155 !important;
  font-weight: 600;
}
.checkout-product-description,
.checkout-delivery p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.checkout-delivery {
  border-top: 1px solid #e9ecf2;
  margin-top: 24px;
  padding-top: 20px;
}
.checkout-delivery strong {
  color: #17213a;
}
.checkout-discount {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.checkout-discount del {
  color: #94a3b8;
}
.checkout-discount span {
  padding: 4px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}
.users-confirm {
  max-width: 700px;
}
.users-confirm p {
  color: #4b5563;
}
.users-confirm-actions {
  justify-content: flex-end;
  margin-top: 28px;
}
.users-danger {
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  background: #dc2626;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.users-danger:hover {
  background: #b91c1c;
}
@media (max-width: 750px) {
  .users-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .users-search {
    width: 100%;
  }
  .users-add {
    text-align: center;
  }
  .users-table th,
  .users-table td {
    padding: 12px;
  }
}
.settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.settings-heading h1 {
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.settings-heading p {
  margin: 0;
  color: #6b7280;
}
.settings-back {
  text-decoration: none;
  background: #e5e7eb;
  color: #374151;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  white-space: nowrap;
}
.settings-back:hover {
  background: #d1d5db;
}
.member-course-heading {
  min-width: 0;
}
.member-course-heading h1 {
  overflow-wrap: anywhere;
}
.member-back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: #596579;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.member-back-link:hover {
  color: #e36e24;
  text-decoration: underline;
}
.settings-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px #0000000d;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 24px;
}
.settings-panel h2 {
  font-size: 22px;
  margin: 0 0 22px;
}
.settings-panel h2:not(:first-of-type) {
  border-top: 1px solid #e5e7eb;
  padding-top: 25px;
  margin-top: 30px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.gateway-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gateway-status-grid .admin-panel {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.gateway-status-grid span,
.gateway-status-grid small {
  color: #64748b;
}
.gateway-status-grid strong {
  color: #17213a;
  font-size: 20px;
}
.gateway-status-grid small {
  overflow-wrap: anywhere;
}
.gateway-settings-form .gateway-connection-grid + .settings-grid {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.gateway-endpoint {
  display: grid;
  gap: 7px;
  align-content: center;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #f8fafc;
}
.gateway-endpoint span {
  color: #64748b;
  font-size: 13px;
}
.gateway-endpoint code {
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: 13px;
}
.gateway-settings-form > .settings-primary {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .gateway-status-grid {
    grid-template-columns: 1fr;
  }
}
.settings-grid.single-column {
  grid-template-columns: 1fr;
}
.settings-grid label,
.test-email-form label,
.branding-item label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #374151;
  font-weight: 650;
  font-size: 14px;
}
.settings-grid input,
.settings-grid select,
.settings-grid textarea,
.test-email-form input,
.branding-item input[type="file"] {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  color: #1f2937;
  font: inherit;
}
.settings-grid textarea {
  font-family: Consolas, monospace;
  font-size: 13px;
  resize: vertical;
}
.settings-grid input[readonly] {
  background: #eef1f5;
  color: #667085;
  cursor: default;
}
.settings-grid input:focus-visible,
.settings-grid select:focus-visible,
.settings-grid textarea:focus-visible,
.test-email-form input:focus-visible,
.branding-item input:focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 2px;
}
.settings-grid label small,
.settings-help {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}
.settings-grid .admin-cpf-check > span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}
.settings-grid .admin-cpf-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ea580c;
}
.settings-help {
  margin: 0 0 18px;
}
.settings-help code {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 2px 5px;
  border-radius: 4px;
}
.settings-actions {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.settings-primary,
.settings-secondary {
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}
.settings-primary {
  background: #ea580c;
}
.settings-primary:hover {
  background: #c2410c;
}
.settings-secondary {
  background: #2563eb;
}
.settings-secondary:hover {
  background: #1d4ed8;
}
.settings-test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.settings-test-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}
.settings-test-option h3,
.settings-test-option p {
  margin: 0;
}
.settings-test-option h3 {
  font-size: 17px;
}
.settings-test-option p {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}
.settings-test-option label {
  width: 100%;
}
.settings-test-option button {
  margin-top: auto;
}
.settings-message {
  display: block;
  width: 100%;
  clear: both;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid;
  margin: 0 0 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.settings-message.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.settings-message.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.settings-info {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.branding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.branding-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.branding-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.branding-item h3 {
  margin: 0;
  font-size: 17px;
}
.branding-state {
  background: #e5e7eb;
  color: #374151;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  white-space: nowrap;
}
.branding-preview {
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  height: 170px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.branding-preview img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
.branding-item .branding-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid #ea580c;
  border-radius: 7px;
  background: #fff;
  color: #c2410c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.branding-item .branding-reset:disabled {
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .settings-grid,
  .branding-grid,
  .settings-test-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .settings-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-heading .settings-back {
    max-width: 100%;
    white-space: normal;
  }
  .settings-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .settings-actions > * {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .settings-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-panel {
    padding: 18px;
  }
  .settings-test-option button {
    width: 100%;
  }
}
.nav-count {
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: #dc5a0a;
  color: #fff;
  font-size: 0.72rem;
  line-height: 18px;
  text-align: center;
}
.notifications-title {
  align-items: center;
}
.notification-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.notification-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e4e7ee;
  border-radius: 14px;
  background: #fff;
}
.notification-card.unread {
  border-color: #f0b489;
  box-shadow: inset 4px 0 #dc5a0a;
}
.notification-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #fff1e8;
  color: #c44d07;
}
.notification-symbol .nav-icon {
  width: 22px;
  height: 22px;
}
.notification-copy > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}
.notification-copy time,
.notification-copy p {
  color: #687083;
}
.notification-copy p {
  margin: 5px 0;
}
.notification-copy b {
  color: #15192b;
}
.notification-open {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d7dae3;
  border-radius: 9px;
  background: #fff;
  color: #252b3e;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 680px) {
  .notification-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .notification-card form {
    grid-column: 2;
  }
}
.checkout-youtube {
  aspect-ratio: 16 / 9;
}
.checkout-youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.checkout-guarantee {
  border-color: #b8dfc0;
  background: #f1fbf3;
}
.checkout-theme-warm {
  background: #fff6ee;
}
.checkout-theme-warm .checkout-panel {
  border-color: #f0c9aa;
  box-shadow: 0 12px 30px rgb(164 74 16 / 8%);
}
.checkout-theme-dark {
  background: #101522;
}
.checkout-theme-dark .checkout-panel,
.checkout-theme-dark .checkout-preview-banner {
  border-color: #31394d;
  background: #1a2030;
  color: #f5f7fb;
}
.checkout-theme-dark .checkout-panel h1,
.checkout-theme-dark .checkout-panel h2,
.checkout-theme-dark .checkout-panel h3,
.checkout-theme-dark .checkout-total,
.checkout-theme-dark .checkout-form label {
  color: #f5f7fb;
}
.checkout-theme-dark .checkout-panel p,
.checkout-theme-dark .checkout-hint,
.checkout-theme-dark .checkout-section-note,
.checkout-theme-dark .checkout-terms-acceptance {
  color: #c3cad8;
}
.checkout-theme-dark .checkout-form input,
.checkout-theme-dark .checkout-form textarea {
  border-color: #424b60;
  background: #111725;
  color: #fff;
}
.checkout-theme-dark .checkout-delivery {
  border-color: #3a4358;
  background: #20283a;
}
.avatar {
  overflow: hidden;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}
.profile-photo-preview {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #ffe5d4;
  box-shadow: 0 0 0 1px #dfe3eb;
  color: #c44d07;
  font-size: 2.3rem;
  font-weight: 800;
}
.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 560px) {
  .profile-photo-field {
    grid-template-columns: 1fr;
  }
}
.public-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 8px 0 12px;
}
.public-footer-legal a {
  color: inherit;
  font-size: 0.82rem;
  text-underline-offset: 3px;
}
.checkout-security {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e6e8ee;
  color: #667085;
  font-size: 0.8rem;
  line-height: 1.5;
}
.checkout-security strong {
  color: #202638;
}
.checkout-security nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkout-security a {
  color: #b94b08;
  font-weight: 700;
  text-underline-offset: 2px;
}
.checkout-theme-dark .checkout-security {
  border-color: #3a4358;
  color: #c3cad8;
}
.checkout-theme-dark .checkout-security strong {
  color: #fff;
}
.checkout-offer-settings,
.checkout-order-bumps {
  display: grid;
  gap: 10px;
}
.checkout-offer-settings label,
.checkout-order-bumps label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e0e4ec;
  border-radius: 12px;
  background: #fafbfc;
}
.checkout-offer-editor {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.checkout-offer-choice {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.checkout-offer-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  margin: 14px 0 0 32px;
}
.checkout-offer-copy label {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  font-weight: 700;
}
.checkout-offer-copy input {
  width: 100%;
  margin: 0;
}
@media (max-width: 700px) {
  .checkout-offer-copy {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
}
.checkout-offer-settings input,
.checkout-order-bumps input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #d95f0b;
}
.checkout-offer-settings span,
.checkout-order-bumps span {
  display: grid;
  gap: 3px;
}
.checkout-offer-settings small,
.checkout-order-bumps small {
  color: #687083;
  font-weight: 500;
}
.checkout-order-bumps {
  margin: 6px 0;
}
.checkout-order-bumps h3 {
  margin: 4px 0;
}
.checkout-order-bumps b {
  color: #1f2537;
}
.checkout-order-items {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e2e5ec;
  border-radius: 12px;
}
.checkout-order-items > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
/* Preferências públicas e histórico de entregas */
.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  color: #172033;
}
.cookie-notice p {
  margin: 0.25rem 0 0;
  line-height: 1.45;
}
.cookie-notice a {
  color: #c2410c;
}
.cookie-notice button {
  min-width: 100px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #ea580c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.settings-field-wide {
  grid-column: 1 / -1;
}
.table-detail {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
}
.icon-action {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}
.icon-action .nav-icon {
  width: 19px;
  height: 19px;
}
.status-pill {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #eef2f7;
  white-space: nowrap;
}
.status-sent {
  background: #dcfce7;
  color: #166534;
}
.status-failed {
  background: #fee2e2;
  color: #991b1b;
}
.status-retry {
  background: #ffedd5;
  color: #9a3412;
}
@media (max-width: 640px) {
  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-notice button {
    width: 100%;
  }
}
