/* IGT MPlace — estilos do backend/marketplace dinâmico — paleta azul */

:root {
  --indigo: #3B82F6;
  --indigo-deep: #1D4ED8;
  --neon: #60A5FA;
  --neon-deep: #2563EB;
  --ink: #14171C;
  --muted: #6B7480;
  --line: #E2E8F0;
  --bg-soft: #F8FAFC;
  --ok-bg: #D1FAE5;
  --ok-fg: #047857;
  --err-bg: #FEF2F2;
  --err-fg: #B91C1C;
  --pend-bg: #FFF7ED;
  --pend-fg: #C2410C;
}

.section { padding: 44px 0 64px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 13px; }
.h3 { font-size: 17px; margin: 22px 0 8px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Botões utilitários */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; min-height: 48px; border-radius: 999px; border: 1px solid transparent; font: 600 15px 'Plus Jakarta Sans', sans-serif; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(0.98); }
  .btn--indigo { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -12px rgba(59,130,246,.7); }
  .btn--indigo:hover { background: var(--indigo-deep); }
  .btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--sm { padding: 10px 16px; font-size: 13px; min-height: 40px; }
  .btn--block { width: 100%; }

  @media (max-width: 480px) {
    .btn { padding: 16px 28px; font-size: 16px; min-height: 52px; }
    .btn--sm { padding: 12px 20px; font-size: 14px; min-height: 44px; }
    .auth-card { padding: 24px; }
    .item-form .field { margin-bottom: 20px; }
    .item-form input[type=text], .item-form input[type=email], .item-form input[type=password], .item-form input[type=tel], .item-form input[type=date], .item-form input[type=time], .item-form input[type=number], .item-form input[type=search], .item-form input[type=file], .item-form select, .item-form textarea {
      padding: 14px 16px; font-size: 16px; /* prevents zoom on iOS */
    }
  }

/* Flash messages */
.flash { padding: 14px 18px; border-radius: 14px; margin: 0 0 18px; font-weight: 600; font-size: 14px; }
.flash--ok { background: var(--ok-bg); color: var(--ok-fg); border: 1px solid #6EE7B7; }
.flash--err { background: var(--err-bg); color: var(--err-fg); border: 1px solid #FCA5A5; }

/* Auth cards e formulários */
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 24px 60px -30px rgba(15,23,42,.25); }
.auth-card h1 { font-size: 26px; margin: 0 0 6px; }

.item-form .field { margin-bottom: 16px; }
.item-form label { display: block; font: 700 13px 'Plus Jakarta Sans', sans-serif; color: var(--ink); margin-bottom: 6px; }
.item-form input[type=text], .item-form input[type=email], .item-form input[type=password], .item-form input[type=tel], .item-form input[type=date], .item-form input[type=time], .item-form input[type=number], .item-form input[type=search], .item-form input[type=file], .item-form select, .item-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: 400 14px 'Outfit', sans-serif; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.item-form input:focus, .item-form select:focus, .item-form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; }

/* Seleção de tipo de conta (Comprador / Vendedor / Lojista) */
.tipo-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .tipo-options { grid-template-columns: 1fr; } }
.tipo-options--err { animation: tipoShake .3s; }
.tipo-options--err .tipo-card { border-color: var(--err-fg) !important; }
@keyframes tipoShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.tipo-option { position: relative; cursor: pointer; }
.tipo-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.tipo-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.tipo-card .tipo-ico { font-size: 20px; line-height: 1; }
.tipo-card strong { font: 700 11px 'Plus Jakarta Sans', sans-serif; color: var(--ink); }
.tipo-card small { font-size: 10px; color: var(--muted); line-height: 1.35; }
.tipo-option input:checked + .tipo-card { border-color: var(--indigo); background: #EFF6FF; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.tipo-option input:focus-visible + .tipo-card { border-color: var(--indigo); }

/* Campos extras do Lojista */
.lojista-fields { border: 1px dashed var(--indigo-line); background: #EFF6FF; border-radius: 14px; padding: 14px; margin-bottom: 16px; }

/* Avatar / foto de perfil no dashboard */
.dash-profile { display: flex; align-items: flex-start; gap: 18px; }
.avatar-form { position: relative; flex-shrink: 0; }
.avatar { position: relative; display: inline-block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2px solid var(--indigo); box-shadow: 0 0 0 3px rgba(59,130,246,.15); background: #EFF6FF; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; font: 800 30px 'Plus Jakarta Sans', sans-serif; color: var(--indigo-deep); }
.avatar-edit { position: absolute; inset: auto 0 0 0; text-align: center; padding: 2px 0; font-size: 12px; color: #fff; background: rgba(15,23,42,.6); opacity: 0; transition: opacity .2s; }
.avatar:hover .avatar-edit { opacity: 1; }
.lojista-info { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-size: 13px; color: var(--ink); }
.lojista-info span { display: flex; align-items: center; gap: 6px; }
  .lojista-info a { color: var(--indigo); font-weight: 600; word-break: break-all; }
  .lojista-nav { display: flex; gap: 10px; flex-wrap: wrap; }
  .lojista-nav .btn { font-size: 12px; padding: 6px 14px; }
  @media (max-width: 560px) {
  .dash-head { flex-direction: column; align-items: flex-start; }
  .dash-profile { flex-direction: row; }
}

/* Campo de senha com botão de olho */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
  .pw-toggle:hover { color: var(--indigo); background: #EFF6FF; }
  .pw-toggle .pw-eye-off { display: none; }

  /* Medidor de força da senha */
.pw-meter { display: flex; gap: 6px; margin-top: 8px; }
.pw-bar { height: 4px; flex: 1; border-radius: 999px; background: #E2E8F0; transition: background .2s; }
.pw-bar.is-on { background: #CBD5E1; }
.pw-meter--s1 .pw-bar--1.is-on { background: #EF4444; }
.pw-meter--s2 .pw-bar--1.is-on, .pw-meter--s2 .pw-bar--2.is-on { background: #F59E0B; }
.pw-meter--s3 .pw-bar--1.is-on, .pw-meter--s3 .pw-bar--2.is-on, .pw-meter--s3 .pw-bar--3.is-on { background: #10B981; }
.pw-meter--s4 .pw-bar.is-on { background: #D97706; }
.pw-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pw-hint--err { color: var(--err-fg); }
.pw-hint--ok { color: var(--ok-fg); }

/* Confirmação de senha */
.pw-match { margin-top: 6px; font-size: 12px; min-height: 16px; }
.pw-match--ok { color: var(--ok-fg); }
.pw-match--err { color: var(--err-fg); }

/* Mapa */
.map-box { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--bg-soft); }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: 10px; display: block; }
.map-placeholder { height: 280px; display: grid; place-items: center; text-align: center; color: var(--muted); background: repeating-linear-gradient(45deg, #fff, #fff 12px, #F8FAFC 12px, #F8FAFC 24px); border-radius: 10px; font-size: 14px; padding: 20px; }

/* Painel (dashboard) */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
  .dash-head h1 { font-size: 28px; margin: 0 0 4px; }
  .dash-head-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: linear-gradient(135deg, #F8FAFC, #fff); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat-num { display: block; font: 800 30px 'Plus Jakarta Sans', sans-serif; color: var(--indigo); }
.stat-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { font-size: 18px; margin: 0; }
.panel-head a { font-size: 13px; font-weight: 600; color: var(--indigo); text-decoration: none; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font: 700 12px 'Plus Jakarta Sans', sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.cell-title { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cell-title img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; }
.cell-actions a { color: var(--indigo); font-weight: 600; text-decoration: none; margin-right: 12px; font-size: 13px; }
.cell-actions .delete-form { display: inline; }
.cell-actions .link-danger { background: none; border: 0; padding: 0; margin-right: 12px; color: var(--err-fg); font: 600 13px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.cell-actions .link-danger:hover { text-decoration: underline; }

/* Badges */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font: 700 12px 'Plus Jakarta Sans', sans-serif; }
.badge--ativo, .badge--confirmado { background: var(--ok-bg); color: var(--ok-fg); }
.badge--vendido { background: #E2E8F0; color: #475569; }
.badge--pendente { background: var(--pend-bg); color: var(--pend-fg); }
.badge--concluido { background: #DBEAFE; color: #1D4ED8; }
.badge--cancelado { background: var(--err-bg); color: var(--err-fg); }
.badge--tipo { margin-top: 8px; }
.badge--tipo-vendedor { background: #EFF6FF; color: var(--indigo-deep); border: 1px solid var(--indigo-line); }
.badge--tipo-comprador { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.badge--tipo-lojista { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

/* Agenda */
.agenda-list { list-style: none; margin: 0; padding: 0; }
.agenda-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.agenda-list li:last-child { border-bottom: 0; }
.agenda-info { display: flex; flex-direction: column; gap: 2px; }
.agenda-info span { font-size: 13px; color: var(--muted); }
.agenda-actions { display: flex; gap: 8px; }

/* Página do item */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--indigo); text-decoration: none; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
.product-gallery { position: sticky; top: 20px; align-self: start; }
.product-main { width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 1; border: 1px solid var(--line); }
.product-info h1 { font-size: 30px; margin: 0 0 10px; line-height: 1.2; }
.product-meta { list-style: none; margin: 16px 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-meta li { padding: 10px 0; font-size: 14px; color: #334155; }
.product-desc { color: #000000; font-weight: 700; line-height: 1.7; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

/* Grid de itens */
.shop-head h1 { font-size: 28px; margin: 0 0 6px; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 26px; }
.filter-bar input, .filter-bar select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: 400 14px 'Outfit', sans-serif; }
.filter-bar input { flex: 1; min-width: 220px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card-product { border: 1px solid rgba(255,255,255,0.55); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(255,255,255,0.30)); box-shadow: 0 4px 16px rgba(0,0,0,0.30); transition: transform .2s, box-shadow .2s; }
.card-product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15,23,42,.4); }
.card-product a { text-decoration: none; color: inherit; }
.card-thumb { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; left: 12px; top: 12px; background: rgba(15,23,42,.82); color: var(--neon); padding: 5px 12px; border-radius: 999px; font: 700 12px 'Roboto Mono', monospace; }
.thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #0F172A, #0F172A 14px, #111C33 14px, #111C33 28px); }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.35; }
.card-price { font: 800 20px 'Plus Jakarta Sans', sans-serif; background-image: linear-gradient(90deg, #0EA5E9, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; margin: 0 0 4px; }
.valor-degrade { background-image: linear-gradient(90deg, #0EA5E9, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Compras */
.purchase-list { display: flex; flex-direction: column; gap: 16px; }
.purchase-card { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.purchase-thumb { width: 110px; height: 90px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.purchase-thumb img { width: 100%; height: 100%; object-fit: cover; }
.purchase-body { min-width: 0; }
.purchase-body h3 { font-size: 16px; margin: 0 0 4px; line-height: 1.4; }
.purchase-body h3 a { color: var(--ink); text-decoration: none; }
.purchase-actions { display: flex; flex-direction: column; gap: 8px; }

/* Mobile: minhas compras */
@media (max-width: 720px) {
  .purchase-card { grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 14px; }
  .purchase-thumb { width: 100%; height: 100%; aspect-ratio: 1; }
  .purchase-thumb img, .purchase-thumb .thumb-placeholder { width: 100%; height: 100%; }
  .purchase-body h3 { font-size: 15px; }
  .purchase-actions { grid-column: 1 / -1; flex-direction: column; }
  .purchase-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .purchase-card { grid-template-columns: 1fr; }
  .purchase-thumb { aspect-ratio: 16/9; }
  .purchase-body h3 { font-size: 16px; }
}

.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 20px; }
.empty p { color: var(--muted); margin: 0 0 16px; }

/* ============================================================
   Responsivo mobile — painel (comprador / vendedor / lojista)
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 28px 0 44px; }
  .container { padding: 0 16px; }

  .dash-head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
  }
  .dash-profile { align-items: flex-start; }
  .dash-profile .avatar-form { flex-shrink: 0; }
  .dash-head h1 { font-size: 23px; line-height: 1.25; word-break: break-word; }
  .dash-head .muted { font-size: 13px; word-break: break-word; }
  .dash-head-actions { width: 100%; }
  .dash-head-actions .btn { width: 100%; }

  .dash-stats { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .stat-card { padding: 16px; }
  .stat-num { font-size: 26px; }

  .dash-grid { grid-template-columns: 1fr; gap: 16px; }
  .panel { padding: 16px; border-radius: 16px; }
  .panel-head { gap: 8px; }
  .panel-head h2 { font-size: 16px; }

  /* Tabela vira cartões no mobile */
  .table-wrap { overflow: visible; }
  .table,
  .table thead,
  .table tbody,
  .table tr,
  .table th,
  .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tbody { display: flex; flex-direction: column; gap: 12px; }
  .table tr {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px 12px;
    background: #fff;
  }
  .table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: right;
  }
  .table td:last-child { border-bottom: 0; }
  .table td::before {
    content: attr(data-label);
    font: 700 11px 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    white-space: nowrap;
  }
  .cell-title { justify-content: flex-end; flex-wrap: wrap; }
  .cell-title img { width: 36px; height: 36px; }
  .cell-actions { flex-wrap: wrap; }
  .cell-actions a,
  .cell-actions .link-danger { margin: 0 10px 0 0; }
  .cell-actions .delete-form { display: inline; }

  /* Agenda */
  .agenda-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
  }
  .agenda-info { width: 100%; }
  .agenda-info span { word-break: break-word; }
  .agenda-actions { width: 100%; }
  .agenda-actions .btn { flex: 1; }

  .lojista-info span { align-items: flex-start; word-break: break-word; }
  .lojista-nav { width: 100%; }
  .lojista-nav .btn { flex: 1; justify-content: center; }
}

@media (max-width: 400px) {
  .dash-profile { flex-direction: column; align-items: flex-start; gap: 12px; }
  .avatar { width: 64px; height: 64px; }
  .avatar-fallback { font-size: 26px; }
}

/* ============ TEMA PAINEL: fundo preto · botões azuis · textos brancos ============ */
:root {
  --indigo: #3B82F6;
  --indigo-deep: #1D4ED8;
  --neon: #60A5FA;
  --neon-deep: #2563EB;
  --ink: #FFFFFF;
  --muted: #9CA3AF;
  --line: #1F2937;
  --bg-soft: #111111;
  --panel-bg: #111111;
}

html body.page-dashboard {
  background: linear-gradient(180deg, #A0D8EF 0%, #7EC8E0 40%, #3C9E6F 75%, #009C3B 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #FFFFFF;
}

html body.page-dashboard .section,
html body.page-dashboard .container { background: transparent; }
html body.page-dashboard h1,
html body.page-dashboard h2,
html body.page-dashboard h3,
html body.page-dashboard h4 { color: #FFFFFF; }
html body.page-dashboard p,
html body.page-dashboard .muted,
html body.page-dashboard small,
html body.page-dashboard label,
html body.page-dashboard .dash-head h1,
html body.page-dashboard .stat-label,
html body.page-dashboard .lojista-info,
html body.page-dashboard .agenda-info span { color: #D1D5DB; }

/* Cards / painéis / tabelas do painel */
html body.page-dashboard .panel,
html body.page-dashboard .stat-card,
html body.page-dashboard .auth-card,
html body.page-dashboard .card-product,
html body.page-dashboard .map-box,
html body.page-dashboard .purchase-card,
html body.page-dashboard .cat-jump--card { background: #111111; border-color: #1F2937; }
html body.page-dashboard .panel-head h2 { color: #FFFFFF; }

html body.page-dashboard .table-wrap,
html body.page-dashboard .table,
html body.page-dashboard .table th,
html body.page-dashboard .table td { color: #E5E7EB; }
html body.page-dashboard .table th { color: #9CA3AF; }
html body.page-dashboard .table tr,
html body.page-dashboard .table td,
html body.page-dashboard .table th,
html body.page-dashboard .panel-head,
html body.page-dashboard .agenda-list li,
html body.page-dashboard .product-meta { border-color: #24262B; }
html body.page-dashboard .cell-title { color: #FFFFFF; }
html body.page-dashboard .table td::before { color: #9CA3AF; }

/* Formulários do painel */
html body.page-dashboard .item-form label { color: #E5E7EB; }
html body.page-dashboard .item-form input,
html body.page-dashboard .item-form select,
html body.page-dashboard .item-form textarea,
html body.page-dashboard .filter-bar input,
html body.page-dashboard .filter-bar select {
  background: #151515; color: #FFFFFF; border-color: #374151;
}
html body.page-dashboard .item-form input:focus,
html body.page-dashboard .item-form select:focus,
html body.page-dashboard .item-form textarea:focus { border-color: #3B82F6; }

/* Botões do painel */
html body.page-dashboard .btn--indigo,
html body.page-dashboard .btn--ghost { background: #3B82F6; color: #FFFFFF; border-color: #3B82F6; }
html body.page-dashboard .btn--indigo:hover,
html body.page-dashboard .btn--ghost:hover { background: #1D4ED8; color: #FFFFFF; }
html body.page-dashboard .purchase-body h3 a { color: #FFFFFF; }

/* Tipo de conta / avatar / etiquetas */
html body.page-dashboard .tipo-card { background: #151515; border-color: #374151; }
html body.page-dashboard .tipo-card strong { color: #FFFFFF; }
html body.page-dashboard .tipo-card small { color: #9CA3AF; }
html body.page-dashboard .tipo-option input:checked + .tipo-card { background: #1E293B; border-color: #3B82F6; }
html body.page-dashboard .lojista-fields { background: #1E293B; border-color: #3B82F6; }
html body.page-dashboard .avatar { background: #1E293B; }
html body.page-dashboard .empty p,
html body.page-dashboard .breadcrumb,
html body.page-dashboard .crumbs { color: #D1D5DB; }
html body.page-dashboard .breadcrumb a,
html body.page-dashboard .cell-actions a,
html body.page-dashboard .panel-head a,
html body.page-dashboard .lojista-info a { color: #60A5FA; }

/* ============ MINHA VITRINE (page-vitrine) ============ */
html body.page-vitrine {
  background: linear-gradient(180deg, #A0D8EF 0%, #7EC8E0 40%, #3C9E6F 75%, #009C3B 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #FFFFFF;
}
html body.page-vitrine h1,
html body.page-vitrine h2,
html body.page-vitrine h3,
html body.page-vitrine .dash-head { color: #FFFFFF; }
html body.page-vitrine .dash-head-actions .btn--indigo { background: #3B82F6; color: #FFFFFF; }
html body.page-vitrine .dash-head-actions .btn--indigo:hover { background: #1D4ED8; }
html body.page-vitrine .vitrine-form-card,
html body.page-vitrine .panel { background: #111111; border-color: #1F2937; }
html body.page-vitrine .vitrine-form-card label,
html body.page-vitrine .item-form label { color: #E5E7EB; }
html body.page-vitrine .item-form input,
html body.page-vitrine .item-form select,
html body.page-vitrine .item-form textarea {
  background: #FFFFFF; color: #000000; border-color: #D1D5DB;
}
html body.page-vitrine .item-form input::placeholder,
html body.page-vitrine .item-form textarea::placeholder { color: #6B7280; }
html body.page-vitrine .item-form input:focus,
html body.page-vitrine .item-form select:focus,
html body.page-vitrine .item-form textarea:focus { border-color: #3B82F6; }
html body.page-vitrine .muted { color: #9CA3AF; }

/* Botão Excluir em texto vermelho (Minhas compras) */
html body .purchase-actions .btn--danger-text {
  background: transparent;
  color: #EF4444;
  border: none;
  padding: 6px 0;
  min-height: 0;
  font-size: 13px;
  font-weight: 700;
}
html body .purchase-actions .btn--danger-text:hover { color: #DC2626; text-decoration: underline; }

/* Caixa "Lembrar a senha" (login) */
html body .remember-field { margin: 4px 0 14px; }
html body .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: 600 13px 'Plus Jakarta Sans', sans-serif;
  color: #D1D5DB;
}
html body .checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #3B82F6;
  background: #151515;
  border: 1px solid #374151;
  border-radius: 4px;
}
