/* =====================================================================
   LaporKampus — tema Hijau Teal + aksen Amber (bukan biru)
   ===================================================================== */
:root {
    --primary:        #0d7a6b;   /* teal-green */
    --primary-dark:   #095c50;
    --primary-soft:   #e6f4f1;
    --accent:         #f4a259;   /* amber hangat */
    --accent-dark:    #e08b3c;
    --ink:            #14312c;
    --muted:          #5c6b67;
    --muted-2:        #8a9793;
    --bg:             #f4f7f5;
    --card:           #ffffff;
    --line:           #e3ebe8;
    --success:        #2e9e6b;
    --danger:         #d65745;
    --radius:         16px;
    --shadow:         0 10px 30px rgba(13, 122, 107, .08);
    --shadow-lg:      0 20px 45px rgba(13, 122, 107, .14);
}

* { box-sizing: border-box; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }

a { color: var(--primary); }
.text-muted-2 { color: var(--muted-2) !important; }
.brand-accent { color: var(--accent); }

/* ---------- Navbar ---------- */
.app-navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(20, 49, 44, .04);
}
.brand-mark {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border-radius: 11px; font-size: 1.1rem;
    box-shadow: var(--shadow);
}
.brand-mark.small { width: 30px; height: 30px; font-size: .9rem; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo.sm { height: 30px; }
.brand-sub { font-size: .68rem; font-weight: 600; color: var(--muted-2); letter-spacing: .3px; }
.logo-stage {
    display: inline-flex; align-items: center; justify-content: center;
    width: 158px; height: 158px; border-radius: 28px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 16px 34px rgba(0,0,0,.16);
}
.hero-logo { max-height: 106px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.20)); }
.hero-kicker { font-size: .82rem; font-weight: 700; letter-spacing: 2.5px; color: var(--accent); text-transform: uppercase; }
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -.4px; color: var(--ink); }
.app-navbar .nav-link { font-weight: 600; color: var(--muted); border-radius: 9px; padding: .45rem .8rem !important; }
.app-navbar .nav-link:hover { color: var(--primary); background: var(--primary-soft); }

/* ---------- Buttons ---------- */
.btn-brand {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border: none; font-weight: 600;
    box-shadow: var(--shadow);
}
.btn-brand:hover { color: #fff; filter: brightness(1.06); box-shadow: var(--shadow-lg); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #4a2e08; border: none; font-weight: 700;
}
.btn-accent:hover { color: #3a2405; filter: brightness(1.04); }
.btn-outline-brand {
    border: 1.5px solid var(--primary); color: var(--primary);
    font-weight: 600; background: #fff;
}
.btn-outline-brand:hover { background: var(--primary); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1100px 380px at 90% -10%, rgba(244,162,89,.18), transparent 60%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff; border-radius: 0 0 34px 34px;
    padding: 4.2rem 0 3.4rem;
    position: relative; overflow: hidden;
}
.hero h1 { font-weight: 800; letter-spacing: -1px; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
    padding: .35rem .85rem; border-radius: 100px; font-size: .82rem; font-weight: 600;
}

/* ---------- Cards pilih jenis ---------- */
.choice-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.6rem;
    text-decoration: none; color: var(--ink); display: block; height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.choice-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-lg);
    border-color: var(--primary); color: var(--ink);
}
.choice-ico {
    width: 54px; height: 54px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1rem;
}
.ico-pengaduan { background: linear-gradient(135deg, #0d7a6b, #095c50); }
.ico-aspirasi  { background: linear-gradient(135deg, #f4a259, #e08b3c); }
.ico-informasi { background: linear-gradient(135deg, #3aa17e, #2b8065); }
.choice-card h5 { font-weight: 700; }
.choice-arrow { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* ---------- Form ---------- */
.form-shell {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
}
.form-head {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff; padding: 1.5rem 1.8rem;
}
.form-body { padding: 1.8rem; }
.section-title {
    font-weight: 700; color: var(--ink); font-size: 1.02rem;
    display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
}
.section-num {
    width: 26px; height: 26px; border-radius: 8px; flex: none;
    background: var(--primary-soft); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}
.form-section { padding: 1.4rem 0; border-top: 1px dashed var(--line); }
.form-section:first-of-type { border-top: none; padding-top: .4rem; }

.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.form-control, .form-select {
    border-radius: 11px; border: 1.4px solid var(--line); padding: .62rem .85rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(13,122,107,.15);
}
.req { color: var(--danger); }

/* Radio visibilitas */
.vis-option { display: block; cursor: pointer; height: 100%; }
.vis-option input { position: absolute; opacity: 0; }
.vis-card {
    border: 1.6px solid var(--line); border-radius: 14px; padding: 1rem;
    height: 100%; transition: all .16s ease; background: #fff;
}
.vis-option:hover .vis-card { border-color: var(--primary); }
.vis-option input:checked + .vis-card {
    border-color: var(--primary); background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(13,122,107,.10);
}
.vis-card .vis-ico { font-size: 1.3rem; color: var(--primary); }
.vis-card h6 { font-weight: 700; margin: .4rem 0 .2rem; }
.vis-card p { font-size: .8rem; color: var(--muted); margin: 0; }


.info-note {
    background: #fff8ee; border: 1px solid #f6e2c4; color: #8a5a1c;
    border-radius: 12px; padding: .7rem .9rem; font-size: .84rem;
}

/* ---------- Public list ---------- */
.report-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1.2rem 1.3rem; box-shadow: var(--shadow); height: 100%;
    transition: transform .16s, box-shadow .16s;
}
.report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.badge-jenis { font-weight: 600; border-radius: 100px; padding: .3rem .7rem; font-size: .72rem; }
.b-pengaduan { background: var(--primary-soft); color: var(--primary-dark); }
.b-aspirasi  { background: #fdf0dd; color: #a5641b; }
.b-informasi { background: #e4f3ec; color: #2b8065; }
.badge-kat { background: #eef2f0; color: var(--muted); border-radius: 100px; padding: .3rem .7rem; font-size: .72rem; font-weight: 600; }

/* ---------- Success ---------- */
.success-wrap { max-width: 620px; margin: 0 auto; }
.success-ico {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--success), #1f7d52);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2.6rem; box-shadow: var(--shadow-lg);
}
.ticket-box {
    background: var(--primary-soft); border: 1.5px dashed var(--primary);
    border-radius: 14px; padding: 1rem 1.2rem; text-align: center;
}
.ticket-code { font-size: 1.6rem; font-weight: 800; letter-spacing: 2px; color: var(--primary-dark); }

/* ---------- Footer ---------- */
.app-footer { background: #fff; border-top: 1px solid var(--line); }

/* ---------- Misc ---------- */
.step-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.16); border-radius: 100px;
    padding: .3rem .8rem; font-size: .8rem; font-weight: 600;
}
.hidden { display: none !important; }
