* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.topbar {
    background: #ffffff;
    padding: 18px 24px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-left h2 {
    margin: 0;
}

.hamburger {
    font-size: 22px;
    color: #475569;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.notif {
    position: relative;
    font-size: 22px;
}

.notif span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 9px;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-size: 14px;
    color: #0f172a;
}

.logout-small {
    text-decoration: none;
    color: #475569;
    font-size: 18px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile strong {
    display: block;
    font-size: 14px;
}

.user-profile small {
    color: #cbd5e1;
    font-size: 12px;
}

.card-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}


.card-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* WARNA CARD */
.card-blue .card-icon {
    background: #dbeafe;
    color: #2563eb;
}

.card-green .card-icon {
    background: #dcfce7;
    color: #16a34a;
}

.card-orange .card-icon {
    background: #ffedd5;
    color: #ea580c;
}

.card-purple .card-icon {
    background: #ede9fe;
    color: #7c3aed;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 34px;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu a span {
    flex: 1;
}

.sidebar-footer {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.6;
}

.vehicle-thumb {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
}

.reminder-vehicle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminder-vehicle strong {
    display: block;
    font-size: 14px;
}

.reminder-vehicle small {
    color: #64748b;
}


body {
    margin: 0;
    background: #f4f7fb;
    color: #0f172a;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #0f2742;
    color: white;
    padding: 25px 18px;
    position: fixed;
    height: 100vh;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 35px;
}

.logo small {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #cbd5e1;
}

.menu a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    padding: 13px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.menu a:hover,
.menu a.active {
    background: #2563eb;
    color: white;
}

.content {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 25px;
}

.header {
    background: white;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin: 0;
    font-size: 15px;
    color: #64748b;
}

.card .number {
    margin-top: 10px;
    font-size: 28px;
    font-weight: bold;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.table-box {
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 20px;
}

.table-title {
    padding: 18px 20px;
    font-weight: bold;
    border-bottom: 1px solid #e5e7eb;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 13px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
}

th {
    background: #f8fafc;
}

.btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}

.btn.green {
    background: #16a34a;
}

.btn.red {
    background: #dc2626;
}

.btn.gray {
    background: #64748b;
}

.form-box {
    background: white;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

textarea {
    min-height: 90px;
}

.vehicle-card {
    display: flex;
    gap: 18px;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.vehicle-card img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    background: #e5e7eb;
}

.badge {
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 13px;
}

.badge.green {
    background: #dcfce7;
    color: #15803d;
}

.badge.yellow {
    background: #fef3c7;
    color: #b45309;
}

.badge.red {
    background: #fee2e2;
    color: #b91c1c;
}

.badge.gray {
    background: #e5e7eb;
    color: #374151;
}

@media(max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .wrapper {
        display: block;
    }

    .content {
        margin-left: 0;
        width: 100%;
    }

    .card-row,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}