:root {
    --primary: #2563eb;
    --bg: #f1f5f9;
    --white: #ffffff;
    --text: #0f172a;
    --border: #e2e8f0;
    --success: #03ac0e; /* Hijau ala Tokopedia */
    --warning: #f59e0b;
    --danger: #ef4444;
}

body { font-family: sans-serif; background-color: var(--bg); margin: 0; padding: 0; color: var(--text); }
.container { max-width: 1000px; margin: 20px auto; padding: 20px; }

/* Header */
header { background: var(--white); padding: 15px 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.2rem; font-weight: bold; color: var(--primary); text-decoration: none; }
nav a { margin-left: 15px; text-decoration: none; color: var(--text); font-size: 0.9rem; }
nav a:hover { color: var(--primary); }

/* Cards & Forms */
.card { background: var(--white); padding: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; }
h2 { margin-top: 0; }

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: 500; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 5px; box-sizing: border-box; }
button { padding: 10px 20px; background: var(--primary); color: white; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background: #1d4ed8; }
.btn-danger { background: var(--danger); }
.btn-secondary { background: #64748b; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #f8fafc; }

/* Badges Tabel Admin */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; color: white; }
.badge.pending { background: var(--warning); }
.badge.proses { background: #3b82f6; }
.badge.perbaikan { background: #6366f1; }
.badge.selesai { background: var(--success); }

/* --- TRACKING STYLE (TOKOPEDIA STYLE) --- */
.tracker-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; }
.tracker-step { position: relative; padding-left: 30px; padding-bottom: 25px; }
.tracker-step:last-child { padding-bottom: 0; }

/* Garis vertikal */
.tracker-step::before {
    content: ''; position: absolute; left: 7px; top: 24px; bottom: 0; width: 2px; background: #e2e8f0;
}
.tracker-step:last-child::before { display: none; }

/* Dot */
.tracker-dot {
    position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #e2e8f0; border: 2px solid #e2e8f0; z-index: 2;
}

/* Status Done */
.tracker-step.done .tracker-dot { background: var(--success); border-color: var(--success); }
.tracker-step.done .tracker-title { color: var(--success); font-weight: bold; }
.tracker-step.done .tracker-dot::after {
    content: '✓'; color: white; font-size: 10px; position: absolute; left: 3px; top: 1px;
}

/* Status Active */
.tracker-step.active .tracker-dot { background: #fff; border-color: var(--success); box-shadow: 0 0 0 4px rgba(3, 172, 14, 0.2); }
.tracker-step.active .tracker-title { color: var(--success); font-weight: bold; }
.tracker-step.active .tracker-date { color: var(--success); font-size: 12px; }

/* Status Future */
.tracker-step.future .tracker-dot { background: #e2e8f0; }
.tracker-step.future .tracker-title { color: #9ca3af; }
.tracker-step.future .tracker-desc { color: #d1d5db; }

.tracker-title { font-size: 14px; margin-bottom: 2px; }
.tracker-desc { font-size: 13px; color: #6b7280; margin: 0; }
.tracker-date { font-size: 12px; color: #9ca3af; display: block; margin-top: 2px; }