:root {
    --bg: #0f172a;
    --card: #1e293b;
    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.3);
    --text: #f8fafc;
    --input-bg: #0f172a;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding-bottom: 50px;
    line-height: 1.5;
}

/* Header Moden dengan Blur */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 18px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.container { 
    padding: 20px 15px; 
    max-width: 500px; 
    margin: auto; 
}

/* Card dengan kesan Depth */
.card {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

h3 { 
    margin: 0 0 15px 0; 
    font-size: 0.75rem; 
    color: var(--accent); 
    letter-spacing: 2px; 
    text-transform: uppercase;
    font-weight: 800;
}

/* Input Styles */
.m-input, textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid #334155;
    color: white;
    padding: 14px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.m-input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Butang Timbul (3D Effect) */
.btn-save {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #b48608, 0 8px 15px rgba(0,0,0,0.3);
    position: relative;
}

.btn-save:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #b48608, 0 2px 5px rgba(0,0,0,0.3);
}

/* Filter Buttons (Pill Style) */
#hubFilters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

#hubFilters button {
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}

#hubFilters button:hover {
    background: #334155;
    transform: translateY(-2px);
}

/* Log Item (List) */
.log-item {
    background: var(--card);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 18px;
    border-left: 6px solid var(--accent);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.hub-badge {
    background: #0f172a;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Route List Styles */
.route-list {
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.route-list li { 
    display: flex; 
    justify-content: space-between; 
    padding: 8px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.pax-val { 
    color: var(--accent); 
    font-weight: 700; 
}

/* Footer Actions */
.log-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding-top: 12px; 
    margin-top: 10px; 
}

.btn-edit {
    color: var(--accent);
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--accent);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.btn-edit:hover { background: var(--accent); color: black; }

.btn-del {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.btn-del:hover { background: var(--danger); color: white; }

/* Tambahan styling untuk kotak Note */
#entryNote {
    font-family: inherit;
    height: 60px;
    font-size: 0.85rem;
    border-style: dashed;
}

/* Hide scrollbar */
#hubFilters::-webkit-scrollbar { display: none; }
