:root{--deep:#820b17;--deep-2:#4b0710;--mint:#f8dfe3;--accent-red:#a20d1a;--ink:#2a1d20;--muted:#77696c;--line:#eddee1;--paper:#fff8f9;--blue:#286f99}
*{box-sizing:border-box}
body{font-family:"Poppins",system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff}
.app-navbar{background:linear-gradient(110deg,var(--deep-2),var(--deep));padding:.9rem 0}
.navbar-brand{font-weight:700;letter-spacing:-.3px}
.brand-mark{width:34px;height:34px;border-radius:11px;background:var(--mint);color:var(--deep);display:grid;place-items:center}
.app-navbar .nav-link{color:rgba(255,255,255,.78);font-size:.92rem}
.app-navbar .nav-link:hover,.app-navbar .nav-link.active{color:#fff}
.app-navbar .btn-light{border-radius:10px;padding:.55rem 1rem}
.hero-section{background:radial-gradient(circle at 88% 10%,rgba(162,13,26,.16),transparent 28%),linear-gradient(125deg,#4b0710,#8b111e);color:#fff;overflow:hidden}
.hero-section .container{z-index:1}
.py-lg-6{padding-top:5.5rem!important;padding-bottom:5.5rem!important}
.eyebrow{display:inline-flex;align-items:center;letter-spacing:1.3px;font-size:.72rem;font-weight:700;color:#ffdce0}
.eyebrow-light{color:var(--accent-red)}
.hero-section h1{line-height:1.15;letter-spacing:-1.5px}
.text-accent{color:#ffd1d8}
.hero-copy{color:rgba(255,255,255,.76);max-width:690px;font-size:1.07rem;line-height:1.8}
.btn-accent{background:#a20d1a;border:1px solid #a20d1a;color:#fff;border-radius:11px;font-weight:600;padding:.8rem 1.25rem;box-shadow:0 8px 20px rgba(70,5,15,.12)}
.btn-accent:hover,.btn-accent:focus{background:#7a0711;border-color:#7a0711;color:#fff}
.hero-note{font-size:.82rem;color:rgba(255,255,255,.7)}
.hero-panel{background:#fff;color:var(--ink);border:1px solid rgba(255,255,255,.25);border-radius:22px;padding:1.6rem;box-shadow:0 25px 70px rgba(0,0,0,.2)}
.status-chip{display:inline-flex;align-items:center;gap:7px;background:#fff0f2;color:#8b0712;border-radius:30px;padding:6px 11px;font-size:.72rem;font-weight:700}
.status-dot{width:7px;height:7px;background:#b20e1d;border-radius:50%}
.process-step{display:flex;align-items:center;gap:14px}
.process-icon{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#fbeaec;color:#920b17;display:grid;place-items:center;font-size:1.25rem}
.process-step strong{font-size:.94rem}
.process-step p{font-size:.78rem;color:var(--muted);margin:3px 0 0}
.process-line{height:22px;border-left:2px solid #eedce0;margin:0 0 0 21px}
.section-title{font-size:clamp(1.65rem,3vw,2.25rem);font-weight:700;letter-spacing:-.8px;color:var(--ink)}
.service-card{height:100%;display:block;padding:1.65rem;border:1px solid var(--line);border-radius:18px;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.service-card:hover{transform:translateY(-3px);border-color:#e8c2c8;box-shadow:0 14px 35px rgba(139,7,18,.09);color:inherit}
.service-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:1.55rem;margin-bottom:1.1rem}
.service-icon.green{background:#fce9ec;color:#a20d1a}.service-icon.blue{background:#e8f2f8;color:#286f99}
.service-card h3{font-size:1.15rem;font-weight:700}.service-card p{color:var(--muted);line-height:1.7;font-size:.9rem;min-height:72px}
.service-link{font-weight:700;color:var(--accent-red);font-size:.88rem}
.notice-section{background:var(--paper)}
.notice-card{display:flex;gap:15px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem}
.notice-card>i{font-size:1.3rem;color:var(--accent-red);padding-top:2px}
.notice-card strong{font-size:.9rem}.notice-card p{font-size:.79rem;color:var(--muted);line-height:1.7;margin-top:4px}
.app-footer{background:#4b0710;color:rgba(255,255,255,.65);padding:1.2rem 0;font-size:.77rem}
.page-shell{background:var(--paper);min-height:calc(100vh - 138px)}
.form-container{max-width:900px}.status-container{max-width:760px}
.page-heading .back-link{color:var(--accent-red);font-size:.82rem;text-decoration:none;font-weight:600}
.form-card,.status-search-card,.status-result{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(70,5,15,.04)}
.form-card{padding:clamp(1.1rem,3vw,2rem)}
.form-section{padding-bottom:1.6rem;margin-bottom:1.6rem;border-bottom:1px solid var(--line)}
.form-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:1.25rem}
.section-number{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fbeaec;color:var(--accent-red);font-weight:700;font-size:.78rem;flex:0 0 34px}
.form-section-heading h2{font-size:1.05rem;font-weight:700;margin:2px 0 3px}
.form-section-heading p{font-size:.8rem;color:var(--muted);margin:0}
.form-label{font-size:.84rem;font-weight:600;color:#3e3033}
.form-control,.form-select{border-color:#e9dce0;border-radius:10px;padding:.72rem .85rem;font-size:.9rem}
.form-control:focus,.form-select:focus{border-color:#c45b66;box-shadow:0 0 0 .2rem rgba(162,13,26,.12)}
.form-text{font-size:.75rem;color:#7d6f72}
.optional-label{font-size:.7rem;font-weight:500;color:#837579;margin-left:5px}
.upload-zone{width:100%;min-height:160px;border:1.5px dashed #d9abb2;border-radius:14px;background:#fff8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:1.1rem;cursor:pointer}
.upload-zone:hover{background:#fff0f2;border-color:#a20d1a}
.upload-icon{font-size:2rem;color:var(--accent-red)}
.upload-zone strong{font-size:.95rem}.upload-zone span:not(.upload-icon){font-size:.75rem;color:var(--muted)}
.image-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:10px}
.preview-item{position:relative;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.preview-item img{width:100%;height:105px;object-fit:cover;display:block}
.preview-item span{display:block;font-size:.68rem;padding:6px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.privacy-consent{background:#fff6f7;border:1px solid #eedee1;border-radius:12px;padding:1rem}
.privacy-consent .form-check-label{font-size:.8rem;font-weight:600}
.privacy-consent p{line-height:1.65}
.form-actions{padding-top:.2rem}
.success-card{background:#fff;border:1px solid #eed7db;border-radius:18px;text-align:center;padding:2rem;box-shadow:0 10px 25px rgba(70,5,15,.04)}
.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#fbe7ea;color:#a20d1a;font-size:1.8rem;margin:0 auto 1rem}
.success-card h2{font-size:1.3rem;font-weight:700}.success-card p{font-size:.86rem;color:var(--muted)}
.ticket-display{font-size:clamp(1.2rem,4vw,1.7rem);font-weight:800;letter-spacing:1px;color:var(--deep);background:#fff3f5;border:1px dashed #c45b66;border-radius:12px;padding:1rem;margin:1.2rem auto;max-width:440px;overflow-wrap:anywhere}
.status-search-icon{width:58px;height:58px;background:#fce9ec;color:var(--accent-red);border-radius:18px;display:grid;place-items:center;font-size:1.55rem}
.status-search-card{padding:1.35rem}
.status-result{overflow:hidden}
.result-header{padding:1.4rem 1.5rem;background:#fff8f9;border-bottom:1px solid var(--line)}
.ticket-heading{font-size:1.3rem;font-weight:800;letter-spacing:.4px;margin:.3rem 0}
.status-badge{display:inline-flex;border-radius:30px;padding:7px 12px;background:#f2ebec;color:#67595b;font-size:.75rem;font-weight:700}
.status-badge[data-status="Diproses"],.status-badge[data-status="Diverifikasi"]{background:#fff4dc;color:#8a5a09}
.status-badge[data-status="Selesai"]{background:#ffe9ec;color:#900b18}
.status-badge[data-status="Ditolak"]{background:#fae8e8;color:#a43b3b}
.status-badge[data-status="Menunggu Pelapor"]{background:#e8f2fb;color:#2c6290}
.result-body{padding:1.5rem}
.result-body h3{font-size:1.05rem;font-weight:700}
.timeline-heading{font-size:.88rem;font-weight:700;margin-bottom:.9rem}
.report-timeline{border-left:2px solid #eddbe0;margin-left:8px;padding-left:20px}
.timeline-item{position:relative;padding-bottom:1rem}
.timeline-item:before{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:#a20d1a;left:-27px;top:4px;border:3px solid #f9e6e9}
.timeline-item strong{font-size:.82rem}.timeline-item p{font-size:.78rem;color:var(--muted);margin:.25rem 0}.timeline-item time{font-size:.68rem;color:#87797c}
.response-item{background:#fff6f7;border:1px solid #efdee1;border-radius:12px;padding:1rem;margin-bottom:.65rem}
.response-item p{font-size:.83rem;white-space:pre-wrap;margin:0}.response-item time{font-size:.68rem;color:var(--muted)}
.empty-state{border:1px dashed #ead8dc;border-radius:12px;padding:1rem;color:var(--muted);font-size:.82rem;text-align:center}
@media(max-width:767px){.hero-section h1{font-size:2.35rem}.hero-panel{padding:1.2rem}.service-card p{min-height:0}.result-header,.result-body{padding:1.1rem}.form-actions .btn{width:100%}}

/* Structured Judi & Trading report form */
.report-spec-container{max-width:1000px}
.report-scope-note{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start;margin:0 0 18px;padding:15px 17px;border:1px solid #f0d5d9;border-left:4px solid #a20d1a;border-radius:11px;background:#fff7f8;color:#4b3336}
.report-scope-note>i{grid-column:1;grid-row:1;color:#a20d1a;margin-top:3px}
.report-scope-note p{grid-column:2;grid-row:1;min-width:0;margin:0;font-size:.84rem;line-height:1.6}
.report-upload-limit{display:block;margin-top:6px;color:#77696c;font-size:.76rem;line-height:1.5}
.report-spec-form{border-radius:17px}
.report-spec-section{padding-top:23px;padding-bottom:24px}
.report-spec-section+.report-spec-section{border-top:1px solid #eee5e6}
.report-spec-section .form-section-heading{margin-bottom:18px}
.report-spec-section .form-section-heading h2{font-size:1.05rem}
.report-spec-section .form-label,.report-fieldset .form-label{font-size:.84rem;font-weight:700;color:#302729}
.required-mark{color:#b20e1d;font-weight:800}
.report-fieldset{min-width:0;margin:0;padding:0;border:0}
.report-radio-row{display:flex;flex-wrap:wrap;gap:10px}
.report-radio-stack{flex-direction:column;align-items:flex-start}
.report-choice{display:inline-flex;align-items:center;gap:9px;min-height:43px;padding:9px 14px;border:1px solid #eadde0;border-radius:10px;background:#fff;font-size:.84rem;cursor:pointer}
.report-choice:has(input:checked){border-color:#a20d1a;background:#fff5f6;color:#790711}
.report-choice input{width:17px;height:17px;accent-color:#a20d1a}
.report-conditional-panel{margin-top:4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.report-conditional-panel h3{margin:0 0 14px;font-size:.9rem;font-weight:800;color:#81101a}
.report-file-input{min-height:44px;padding:.45rem .65rem;background:#fff}
.report-file-input::file-selector-button{margin:-.45rem .75rem -.45rem -.65rem;padding:.72rem .9rem;border:0;border-right:1px solid #e8dfe1;background:#fff5f6;color:#83101b;font-weight:700}
.transaction-list{display:grid;gap:14px}
.transaction-card{padding:16px 0;border:0;border-top:1px solid #e9dfe1;border-radius:0;background:transparent;box-shadow:none}
.transaction-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;padding-bottom:11px;border-bottom:1px solid #f0e9ea}
.transaction-title{margin:0;color:#83101b;font-size:.95rem;font-weight:800}
.tx-remove{font-size:.73rem}
.transaction-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 0}
.loss-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding:17px;border:1px solid #ead4d7;border-radius:12px;background:linear-gradient(105deg,#fff5f6,#fff)}
.loss-summary span,.loss-summary small{display:block}
.loss-summary span{font-size:.86rem;font-weight:800;color:#4d3034}
.loss-summary small{margin-top:4px;color:#76676a;font-size:.72rem}
.loss-summary output{color:#9b0d1b;font-size:clamp(1.1rem,3vw,1.55rem);font-weight:850;white-space:nowrap}
.report-spec-form .form-control:focus,.report-spec-form .form-select:focus{border-color:#c45b66;box-shadow:0 0 0 .2rem rgba(162,13,26,.1)}
.report-spec-form .btn-accent{background:#920b17;border-color:#920b17;color:#fff;font-weight:800}
.report-spec-form .btn-accent:hover{background:#710710;border-color:#710710}
.report-spec-form .privacy-consent{border:1px solid #eee0e2;border-radius:12px;background:#fffafb;padding:15px}
.report-spec-form .form-text{font-size:.72rem;line-height:1.5}
.report-spec-form textarea{min-height:88px}
@media(max-width:600px){
 .report-spec-container{padding-left:12px;padding-right:12px}
 .report-spec-section{padding:19px 14px}
 .report-scope-note{padding:13px}
 .report-choice{width:100%}
 .transaction-card{padding:13px}
 .loss-summary{align-items:flex-start;flex-direction:column}
 .loss-summary output{font-size:1.35rem}
}

/* Layout consistency: every numbered question section shares the same form surface.
   Section 03 stays a plain section heading; only each individual transaction is a card. */
.report-spec-form > .report-spec-section,
.report-spec-form > .report-spec-section > .form-section-heading {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.report-spec-form > .report-spec-section {
  border-left: 0;
  border-right: 0;
}
.report-spec-form > .report-spec-section + .report-spec-section {
  border-top: 1px solid #eee5e6;
}
.report-spec-form > .report-spec-section .form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}
.report-spec-form > .report-spec-section #transaction-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.report-spec-form > .report-spec-section .transaction-card {
  border: 0;
  border-top: 1px solid #e9dfe1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Replace Bootstrap's green success palette with the site's red palette. */
:root{--bs-success:#a20d1a;--bs-success-rgb:162,13,26;--bs-success-text-emphasis:#790711;--bs-success-bg-subtle:#fce9ec;--bs-success-border-subtle:#e9b9c1}
.text-success,.link-success{color:#a20d1a!important}
.bg-success{background-color:#a20d1a!important}
.border-success{border-color:#a20d1a!important}
.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#a20d1a;--bs-btn-border-color:#a20d1a;--bs-btn-hover-bg:#7a0711;--bs-btn-hover-border-color:#7a0711}
.btn-outline-success{--bs-btn-color:#a20d1a;--bs-btn-border-color:#a20d1a;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#a20d1a;--bs-btn-hover-border-color:#a20d1a}
.alert-success{--bs-alert-color:#790711;--bs-alert-bg:#fff0f2;--bs-alert-border-color:#e9b9c1}
.badge.text-bg-success{background:#a20d1a!important;color:#fff!important}

/* Three-step report wizard. */
.report-wizard-progress{margin:0 0 18px;padding:0 0 18px;border:0;border-bottom:1px solid #eddee1;border-radius:0;background:transparent;box-shadow:none}
.report-wizard-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.report-wizard-summary span{color:#8b0712;font-size:.7rem;font-weight:800;letter-spacing:.08em}
.report-wizard-summary strong{color:#2a1d20;font-size:.83rem;font-weight:750;text-align:right}
.report-stepper{display:grid;grid-template-columns:1fr;gap:5px;margin:0;padding:0;list-style:none}
.report-stepper li{min-width:0}
.report-step-trigger{display:flex;width:100%;min-height:39px;align-items:center;gap:11px;padding:5px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:#827579;text-align:left;font:inherit}
.report-step-trigger .step-dot{display:grid;flex:0 0 29px;width:29px;height:29px;place-items:center;border:1px solid #d8cdd0;border-radius:50%;background:#f3eff0;color:#76696c;font-size:.78rem;font-weight:800}
.report-step-trigger .step-name{font-size:.78rem;font-weight:650;line-height:1.25}
.report-step-trigger.is-active{border-color:#edcbd0;background:#fff5f6;color:#790711}
.report-step-trigger.is-active .step-dot,.report-step-trigger.is-complete .step-dot{border-color:#8b0712;background:#8b0712;color:#fff}
.report-step-trigger.is-complete{color:#8b0712}
.report-step-trigger:disabled{cursor:not-allowed;opacity:.62}
.report-step-trigger:focus-visible,.wizard-actions .btn:focus-visible{outline:3px solid rgba(162,13,26,.2);outline-offset:2px}
.wizard-step[hidden]{display:none!important}
.wizard-step{min-width:0}
.wizard-step>.report-spec-section{margin-bottom:0}
.wizard-subsection{margin-top:17px;padding-top:16px;border-top:1px solid #f0e2e5}
.wizard-subtitle{margin:0 0 13px;color:#850914;font-size:.92rem;font-weight:800}
.wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid #eee2e4}
.wizard-actions .btn{min-width:118px;min-height:44px;border-radius:9px;font-weight:700}
.btn-wizard-back{border:1px solid #b96b75;background:#fff;color:#8b0712}
.btn-wizard-back:hover{border-color:#8b0712;background:#fff2f4;color:#790711}
.wizard-actions .form-actions{margin-left:auto;padding:0}
.wizard-actions .form-actions .btn{min-width:0}
.wizard-step .form-section-heading .section-number{background:#fbeaec;color:#8b0712}
.wizard-step .form-section-heading h2{color:#790711}
.wizard-step .form-section-heading p{color:#76696c}
@media(min-width:760px){
 .report-stepper{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .report-step-trigger{flex-direction:column;justify-content:center;min-height:76px;gap:6px;padding:8px 5px;text-align:center}
 .report-step-trigger .step-dot{flex-basis:31px;width:31px;height:31px}
 .report-step-trigger .step-name{font-size:.68rem}
}
@media(max-width:600px){
 .report-spec-form{padding:14px}
 .report-spec-section{padding:17px 5px}
 .wizard-actions{position:sticky;bottom:0;z-index:5;margin:20px -14px -14px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #eddee1;box-shadow:0 -4px 14px rgba(70,5,15,.04)}
 .wizard-actions .btn{min-width:108px}
 .wizard-actions .form-actions{flex:1}
 .wizard-actions .form-actions .btn{width:100%;font-size:.83rem}
 .report-wizard-summary{align-items:flex-start}
}


/* Mobile stepper: centered vertical steps, matching the supplied reference. */
@media(max-width:759.98px){
 .report-wizard-progress{padding:0 0 18px}
 .report-stepper{grid-template-columns:1fr;gap:25px}
 .report-stepper li{display:flex;justify-content:center}
 .report-step-trigger{flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:83px;padding:5px 8px;text-align:center}
 .report-step-trigger .step-dot{flex-basis:48px;width:48px;height:48px;font-size:1.05rem}
 .report-step-trigger .step-name{font-size:.96rem;font-weight:750}
 .report-step-trigger.is-active{border-color:transparent;background:transparent}
 .report-step-trigger.is-active .step-name{color:#790711}
 .report-step-trigger:not(.is-active):not(.is-complete) .step-dot{border-color:#d2d2d2;background:#9ea3a7;color:#fff}
 .report-step-trigger:not(.is-active):not(.is-complete) .step-name{color:#9a9fa3}
 .report-step-trigger.is-complete .step-dot{border-color:#8b0712;background:#8b0712;color:#fff}
 .report-step-trigger.is-complete .step-name{color:#8b0712}
}
