:root {
    --honda-red: #cc0000;
    --honda-orange: #ff6600;
    --honda-yellow: #ffcc00; /* Warna baru untuk Reschedule */
    --honda-blue: #007bff;   /* Warna baru untuk Running */
    --honda-green: #22c55e;  /* Warna baru untuk Selesai */
    --honda-dark: #1a1a1a;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gray: #64748b;
}

* { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; padding: 0; 
    background-color: var(--bg-light); 
    color: var(--honda-dark);
    line-height: 1.6;
}

/* Container utama agar rapi di tengah */
.container { 
    max-width: 500px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* Card System - Seragam untuk semua list & form */
.card { 
    background: var(--white); 
    border-radius: 15px; 
    padding: 20px; 
    margin-bottom: 20px; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* Heading */
h2, h3 { 
    color: var(--honda-red); 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

/* Form Input - Dibuat seragam & besar agar mudah di HP */
label { 
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    color: var(--gray); 
    margin-bottom: 5px;
    margin-top: 10px;
}

.input-control, input[type="text"], input[type="password"], input[type="date"], select, textarea {
    width: 100%; 
    padding: 12px 15px; 
    border: 2px solid #edf2f7; 
    border-radius: 10px; 
    font-size: 16px; 
    outline: none;
    transition: all 0.3s;
    background: #fdfdfd;
}

.input-control:focus {
    border-color: var(--honda-orange);
    background: var(--white);
}

/* Button System - Merah Dominan */
.btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    margin-bottom: 10px;
}

.btn-primary { 
    background: var(--honda-red); 
    color: var(--white); 
    box-shadow: 0 4px 14px 0 rgba(204, 0, 0, 0.3);
}

.btn-primary:active { transform: scale(0.98); background: #a30000; }

.btn-orange { 
    background: var(--honda-orange); 
    color: var(--white); 
}

/* --- BAGIAN YANG DIUBAH: Badge Status --- */
.status-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    text-transform: uppercase;
}

.bg-selesai { background: var(--honda-green); }   /* Hijau */
.bg-batal { background: var(--honda-red); }        /* Merah */
.bg-reschedule { background: var(--honda-yellow); }/* Kuning/Oranye */
.bg-running { background: var(--honda-blue); }     /* Biru */
.bg-primary { background: var(--gray); }

/* Header Nav */
nav {
    background: var(--white);
    padding: 15px 20px;
    border-bottom: 3px solid var(--honda-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-grid img, .gallery-grid video {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}


/* Pastikan body dan html mengambil tinggi penuh layar */
html, body {
    height: 100%;
    margin: 0;
}

/* Atur body sebagai kontainer Flexbox */
body {
    display: flex;
    flex-direction: column;
}

/* Container utama akan 'memuai' untuk mengisi ruang kosong */
.container {
    flex: 1 0 auto;
}

/* Footer tetap di bawah */
footer {
    flex-shrink: 0;
}