/* ═══════════════════════════════════════════════════════════════════════════
   DarkPro — User Layout Override  (v4 — DEFINITIVO)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ══ 1. RESET GLOBAL DO TEMA LARANJA ════════════════════════════════════════ */
body,
body.dp-user-layout {
  background: #0a0a0f !important;
  background-image: none !important;
  color: #fff !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

section.faq,
section.faq::before,
section.contact,
section.contact::before,
section.client,
section.client::before,
section.checkout-form,
section.checkout-result,
section.how-it-works,
section.how-it-works::before,
section.header-top {
  background: transparent !important;
  background-image: none !important;
}

section.header-top { display: none !important; }
#page-overlay       { display: none !important; }
.header.fixed-top   { display: none !important; }

/* layout wrapper */
.dp-user-content { padding-top: 72px; min-height: 80vh; position: relative; z-index: 1; }

/* orbs decorativos */
body.dp-user-layout::before {
  content: ''; position: fixed; top: -200px; left: -100px; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.1), transparent 70%);
  pointer-events: none;
}
body.dp-user-layout::after {
  content: ''; position: fixed; bottom: -150px; right: -80px; z-index: 0;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,.07), transparent 70%);
  pointer-events: none;
}
.dp-header, .dp-footer, .dp-user-content { position: relative; z-index: 1; }

/* footer inline do layout (o antigo mini footer) */
body.dp-user-layout > footer.footer:not(.dp-footer) { display: none !important; }

/* ══ 2. CARDS ════════════════════════════════════════════════════════════════ */
.card {
  background: #13131a !important;
  border: 1px solid rgba(99,102,241,.2) !important;
  border-radius: 16px !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.25) !important;
}
.card-header {
  background: rgba(99,102,241,.08) !important;
  border-bottom: 1px solid rgba(99,102,241,.18) !important;
  border-radius: 16px 16px 0 0 !important;
  padding: 16px 22px !important;
}
.card-header h3,
.card-header .card-title { color: #fff !important; font-size: 1rem !important; font-weight: 600 !important; font-family: 'Inter',sans-serif !important; margin: 0 !important; }
.card-body   { color: #94a3b8 !important; padding: 20px 22px !important; }
.card-footer {
  background: rgba(0,0,0,.15) !important;
  border-top: 1px solid rgba(99,102,241,.15) !important;
  border-radius: 0 0 16px 16px !important;
  padding: 16px 22px !important;
  display: flex !important; flex-direction: column !important; gap: 10px !important;
}

/* ══ 3. TIPOGRAFIA ═══════════════════════════════════════════════════════════ */
body.dp-user-layout h1,
body.dp-user-layout h2,
body.dp-user-layout h3,
body.dp-user-layout h4 { color: #fff !important; font-family: 'Inter',sans-serif !important; }
body.dp-user-layout p   { color: #94a3b8 !important; }
body.dp-user-layout a   { color: #a5b4fc !important; }
body.dp-user-layout a:hover { color: #fff !important; }

/* ══ 4. FORMULÁRIOS ══════════════════════════════════════════════════════════ */
.form-control,
.form-control:focus {
  background: #1a1a26 !important;
  border: 1.5px solid rgba(99,102,241,.25) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-family: 'Inter',sans-serif !important;
  padding: 10px 14px !important;
  height: auto !important;
  box-shadow: none !important;
}
.form-control:focus { border-color: #6366f1 !important; box-shadow: 0 0 0 3px rgba(99,102,241,.15) !important; }
.form-control::placeholder { color: #475569 !important; }
.form-label  { color: #94a3b8 !important; font-size: .85rem !important; font-weight: 500 !important; margin-bottom: 6px !important; }
.form-required { color: #ec4899 !important; }
p[style*="font-weight: 100"],
p[style*="font-size: 11px"] { color: #475569 !important; font-size: .78rem !important; }

/* Selectize */
.selectize-control .selectize-input {
  background: #1a1a26 !important; border: 1.5px solid rgba(99,102,241,.25) !important;
  color: #fff !important; border-radius: 10px !important; box-shadow: none !important;
  padding: 10px 14px !important; min-height: 44px !important;
}
.selectize-control .selectize-dropdown {
  background: #13131a !important; border: 1px solid rgba(99,102,241,.25) !important;
  border-radius: 10px !important; color: #fff !important; box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
}
.selectize-dropdown .option { padding: 10px 14px !important; color: #94a3b8 !important; }
.selectize-dropdown .option:hover,
.selectize-dropdown .option.active { background: rgba(99,102,241,.15) !important; color: #fff !important; }

/* ══ 5. BOTÕES ════════════════════════════════════════════════════════════ */
.btn-submit, .btn.btn-submit {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important; border: none !important; border-radius: 50px !important;
  font-family: 'Inter',sans-serif !important; font-weight: 700 !important;
  padding: 14px 32px !important; font-size: .95rem !important; width: 100% !important;
  box-shadow: 0 4px 20px rgba(99,102,241,.35) !important; transition: all .25s !important;
  text-transform: none !important; height: auto !important; letter-spacing: .01em !important;
}
.btn-submit:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 28px rgba(99,102,241,.5) !important; color: #fff !important; }

a.btn.btn-primary.ajaxModal,
.btn-primary, .btn.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: none !important; border-radius: 50px !important; color: #fff !important;
  font-weight: 600 !important; padding: 13px 32px !important; width: 100% !important;
  box-shadow: 0 4px 16px rgba(99,102,241,.3) !important; font-family: 'Inter',sans-serif !important;
  text-transform: none !important; height: auto !important; display: flex !important;
  align-items: center !important; justify-content: center !important; gap: 8px !important;
}
.btn-primary:hover,
a.btn.btn-primary.ajaxModal:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 22px rgba(99,102,241,.5) !important; color: #fff !important; }

.btn-gradient {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important; border: none !important; border-radius: 50px !important; font-weight: 600 !important;
}
/* pill de envio no meus pedidos */
.btn-pill { border-radius: 50px !important; }

/* ══ 6. CHECKOUT ══════════════════════════════════════════════════════════ */
section.checkout-form { padding: 48px 0 80px !important; }

/* Fix: user.css define column-reverse no mobile — desfaz isso */
.row.checkout-wrap { flex-direction: row !important; flex-wrap: wrap !important; gap: 0 !important; }

.checkout-left  { padding-right: 12px !important; }
.checkout-right { padding-left:  12px !important; }

/* Título "Resumo do Pedido" */
.checkout-right-title,
section.checkout-form .checkout-right-title {
  font-size: 1rem !important; font-weight: 700 !important; color: #fff !important;
  padding: 18px 22px !important; border-bottom: 1px solid rgba(99,102,241,.18) !important;
  font-family: 'Inter',sans-serif !important; background: transparent !important;
  border-radius: 0 !important; line-height: 1.4 !important;
}

/* Quantidade grande */
.card-body.product-info .rotate,
#quantity {
  font-size: 2.2rem !important; font-weight: 900 !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important;
  background-clip: text !important; height: auto !important; display: block !important;
  margin-bottom: 4px !important;
}
.card-body.product-info { display: flex !important; justify-content: center !important; padding: 20px !important; }
.quantity { display: flex !important; flex-direction: column !important; gap: 4px !important; align-items: center !important; }
.quantity p { font-size: .95rem !important; color: #cbd5e1 !important; margin: 0 !important; display: flex !important; align-items: center !important; gap: 6px !important; }

/* preço total */
#price { color: #6366f1 !important; font-weight: 800 !important; font-size: 1.2rem !important; }

/* produto info background */
.card-body.product-info { background: rgba(99,102,241,.05) !important; border-radius: 10px !important; }
.desc p { color: #94a3b8 !important; }
.desc i  { color: #6ee7b7 !important; }

/* Badge "AUMENTE A QUANTIDADE" — sobreposição do ::before do user.css */
.card-toast::before {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important; font-size: .65rem !important; font-weight: 700 !important;
  padding: 3px 10px !important; border-radius: 6px !important;
  top: 0px !important; left: 50% !important; transform: translate(-50%, -50%) !important;
}

/* Slider */
.slider-container { width: 100% !important; min-width: unset !important; --slider-width: 8px !important; --slider-border: 8px !important; }
.slider-track { height: 8px !important; background: rgba(255,255,255,.1) !important; border-radius: 8px !important; }
.slider-fill {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  height: 100% !important; border-radius: 8px !important;
}
.slider-thumb {
  width: 28px !important; height: 28px !important; background: #6366f1 !important;
  border: none !important; border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(99,102,241,.5) !important; font-size: .7rem !important;
}
.slider-labels { font-size: .72rem !important; color: #475569 !important; font-weight: 400 !important; }
.slider-labels p { font-size: .72rem !important; color: #475569 !important; }
.slider-body { margin-top: .75rem !important; }

/* Checkbox */
.custom-control-label { color: #94a3b8 !important; font-size: .85rem !important; }
.custom-control-label a { color: #ec4899 !important; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: #6366f1 !important; border-color: #6366f1 !important; }

/* ══ 7. MODAIS ════════════════════════════════════════════════════════════ */
/* Estrutura flex para que header e footer fiquem fixos e o body role */
.modal-content {
  background: #13131a !important;
  border: 1px solid rgba(99,102,241,.25) !important;
  border-radius: 18px !important;
  color: #fff !important;
  max-height: calc(100vh - 60px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.modal-dialog {
  max-width: 640px !important;
  margin: 30px auto !important;
  display: block !important;
}
.modal-header {
  border-bottom: 1px solid rgba(99,102,241,.18) !important;
  padding: 18px 24px !important;
  flex-shrink: 0 !important;
}
.modal-footer {
  border-top: 1px solid rgba(99,102,241,.18) !important;
  padding: 14px 24px !important;
  flex-shrink: 0 !important;
}
.modal-title  { color: #fff !important; font-family: 'Inter',sans-serif !important; font-weight: 700 !important; }
.modal-body {
  color: #94a3b8 !important;
  font-size: .9rem !important;
  line-height: 1.7 !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.modal-body h2 { color: #fff !important; font-size: .95rem !important; margin: 16px 0 8px !important; font-weight: 700 !important; }
.modal-body ul, .modal-body ol { color: #94a3b8 !important; font-size: .87rem !important; padding-left: 20px !important; }
.modal-body strong { color: #e2e8f0 !important; }
.modal-body a  { color: #6366f1 !important; }
.modal-body hr { border-color: rgba(99,102,241,.2) !important; }
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
.modal-body::-webkit-scrollbar-thumb { background: rgba(99,102,241,.4); border-radius: 4px; }
.close { color: #94a3b8 !important; opacity: 1 !important; font-size: 1.4rem !important; }
.close:hover { color: #fff !important; }
iframe { border-radius: 10px !important; }
/* modal z-index */
.modal { z-index: 10000 !important; }
.modal-backdrop { z-index: 9999 !important; }

/* toast de notificação do sistema */
.jq-toast-wrap .jq-toast-single {
  background: #13131a !important;
  border: 1px solid rgba(99,102,241,.25) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: 'Inter',sans-serif !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
}
.jq-toast-wrap .jq-toast-single .jq-toast-heading { color: #fff !important; }
.jq-toast-wrap .close-jq-toast-single { color: #94a3b8 !important; }

/* ══ 8. MEUS PEDIDOS ═════════════════════════════════════════════════════ */
section.client { padding: 48px 0 80px !important; }
section.client .client-header { text-align: center !important; padding: 32px 0 16px !important; }
.title h1.title-name,
section.client .client-header h1,
section.faq .faq-header h1 {
  font-size: clamp(1.6rem,4vw,2.2rem) !important;
  font-weight: 800 !important; color: #fff !important;
  font-family: 'Inter',sans-serif !important;
}
.client_form { max-width: 520px !important; margin: 0 auto !important; }
section.client .client_form .btn-submit,
section.client .client_form .email-input { border-radius: 10px !important; height: auto !important; }

/* Tabela */
.table-responsive { border-radius: 12px !important; overflow: hidden !important; }
.table { color: #94a3b8 !important; margin: 0 !important; }
.table thead th {
  color: #fff !important; background: rgba(99,102,241,.1) !important;
  border-bottom: 1px solid rgba(99,102,241,.25) !important;
  font-size: .78rem !important; text-transform: uppercase !important;
  letter-spacing: .07em !important; padding: 12px 16px !important; font-weight: 600 !important;
}
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.02) !important; }
.table td { border-top: 1px solid rgba(255,255,255,.04) !important; padding: 12px 16px !important; font-size: .87rem !important; vertical-align: middle !important; }
.table td strong { color: #fff !important; }

/* ══ 9. FAQ ══════════════════════════════════════════════════════════════ */
section.faq { padding: 48px 0 80px !important; }
section.faq .faq-header { text-align: center !important; padding: 32px 0 16px !important; }
section.faq .faq-header .title { font-size: clamp(1.6rem,4vw,2.2rem) !important; font-weight: 800 !important; color: #fff !important; }
section.faq .faq-item .card { margin-bottom: 10px !important; }
section.faq .faq-item .card-title { font-size: .95rem !important; color: #fff !important; cursor: pointer !important; }
section.faq .faq-item .bg-question { color: #6366f1 !important; }
section.faq .faq-item .card-body { font-size: .9rem !important; color: #94a3b8 !important; line-height: 1.75 !important; }
.card-options a { color: #6366f1 !important; }

/* ══ 10. ALERTS ══════════════════════════════════════════════════════════ */
.alert { border-radius: 10px !important; border: none !important; font-size: .88rem !important; }
.alert-success { background: rgba(16,185,129,.12) !important; color: #6ee7b7 !important; }
.alert-danger  { background: rgba(239,68,68,.12)  !important; color: #fca5a5 !important; }
.alert-info    { background: rgba(99,102,241,.12)  !important; color: #a5b4fc !important; }
#alert-message .alert { margin-bottom: 12px !important; }

/* ══ 11. MOBILE ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .dp-user-content { padding-top: 72px; }
  .container { padding-left: 14px !important; padding-right: 14px !important; }

  /* checkout — empilha form em cima, resumo embaixo (NÃO column-reverse) */
  .row.checkout-wrap { flex-direction: column !important; gap: 16px !important; }
  .checkout-left,
  .checkout-right {
    flex: 0 0 100% !important; max-width: 100% !important;
    width: 100% !important; padding-left: 0 !important; padding-right: 0 !important;
  }

  section.checkout-form { padding: 24px 0 56px !important; }
  section.client  { padding: 24px 0 56px !important; }
  section.faq     { padding: 24px 0 56px !important; }

  .title h1.title-name { font-size: 1.4rem !important; }

  .table td, .table th { font-size: .78rem !important; padding: .5rem .7rem !important; }
  .modal-dialog { margin: 10px !important; max-width: calc(100vw - 20px) !important; }
  .modal-content { max-height: calc(100vh - 20px) !important; }
  .card-body  { padding: 14px 16px !important; }
  .card-footer { padding: 12px 16px !important; }
}

@media (max-width: 480px) {
  .title h1.title-name { font-size: 1.2rem !important; }
  #price { font-size: 1.1rem !important; }
  .card-body.product-info .rotate, #quantity { font-size: 1.8rem !important; }
  .dp-footer-grid { gap: 20px; }
}

/* ── Toast notifications — tema escuro (user layout) ─────────────────────── */
.jq-toast-wrap { z-index: 9999 !important; }
.jq-toast-wrap .jq-toast-single {
  background: #13131a !important; color: #fff !important;
  border: 1px solid rgba(99,102,241,.3) !important; border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important; font-size: .9rem !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.5) !important; padding: 14px 18px !important;
}
.jq-toast-wrap .jq-toast-single h2 { color: #fff !important; font-size: .95rem !important; margin-bottom: 4px !important; }
.jq-toast-wrap .jq-toast-single .jq-toast-loader { background: #6366f1 !important; }
.jq-toast-wrap .close-jq-toast-single { color: #94a3b8 !important; }
.jq-toast-wrap .close-jq-toast-single:hover { color: #fff !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-success { border-left: 4px solid #10b981 !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-error   { border-left: 4px solid #ef4444 !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-warning { border-left: 4px solid #f59e0b !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-info    { border-left: 4px solid #6366f1 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CORREÇÕES v5
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Notificação social proof ─────────────────────────────────────────────── */
.ios-notification_item {
  background: #1a1a26 !important;
  color: #fff !important;
  border: 1px solid rgba(99,102,241,.25) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}
.ios-notification_item .text-name { color: #fff !important; }
.ios-notification_item .text-msg  { color: #94a3b8 !important; }
.ios-notification_item .socials   { color: #64748b !important; }
#notification-time                { color: #64748b !important; }

/* ── Footer menor (user layout) ───────────────────────────────────────────── */
.dp-footer-top    { padding: 36px 0 28px !important; }
.dp-footer-grid   { gap: 32px !important; }
.dp-footer-brand p { margin-bottom: 12px !important; font-size: .85rem !important; }
.dp-footer-col ul  { gap: 7px !important; }
.dp-footer-col h4  { margin-bottom: 12px !important; font-size: .88rem !important; }
.dp-footer-logo    { height: 38px !important; margin-bottom: 10px !important; }
.dp-footer-bottom  { padding: 14px 0 !important; }
.dp-footer-bottom p { font-size: .8rem !important; }
.dp-cta-section    { padding: 56px 0 !important; }
