* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f5f7fb; color: #1f2937; }
a { color: #1d4ed8; text-decoration: none; }
.topbar { background: #111827; color: white; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; flex-wrap: wrap; gap: 12px; }
.brand a { color: white; font-weight: 700; font-size: 18px; }
.nav { display: flex; flex-wrap: wrap; gap: 12px; }
.nav a { color: #e5e7eb; font-size: 14px; }
.nav a:hover { color: white; }
.container { width: min(1180px, 94%); margin: 26px auto; }
.hero { background: linear-gradient(135deg, #172554, #1d4ed8); color: white; border-radius: 20px; padding: 38px; box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.hero h1 { margin-top: 0; font-size: 38px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 20px; }
.card { background: white; border-radius: 16px; padding: 22px; box-shadow: 0 10px 24px rgba(15, 23, 42, .08); border: 1px solid #e5e7eb; margin-bottom: 20px; }
.narrow { max-width: 540px; margin: 0 auto; }
h1, h2, h3 { color: #111827; }
.hero h1, .hero h2, .hero h3 { color: white; }
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px; font-size: 15px; background: white; }
textarea { min-height: 90px; }
.button, button { display: inline-block; border: 0; background: #1d4ed8; color: white; padding: 11px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.button.secondary { background: #374151; }
.button.danger, button.danger { background: #b91c1c; }
.button.success, button.success { background: #047857; }
button.small, .button.small { padding: 7px 10px; font-size: 13px; margin: 2px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; border-bottom: 1px solid #e5e7eb; padding: 11px; vertical-align: top; }
th { background: #f8fafc; }
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }
.badge { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #e0e7ff; color: #3730a3; font-size: 12px; font-weight: 700; }
.badge.available { background: #dcfce7; color: #166534; }
.badge.rented, .badge.cancelled { background: #fee2e2; color: #991b1b; }
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.approved, .badge.completed, .badge.paid { background: #dbeafe; color: #1d4ed8; }
.footer { text-align: center; padding: 20px; color: #64748b; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0; }
.stat { background: white; border-radius: 14px; padding: 18px; border: 1px solid #e5e7eb; }
.stat strong { display: block; font-size: 28px; color: #1d4ed8; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.note { color: #64748b; font-size: 14px; }
.vehicle-img { width: 72px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.code { background: #111827; color: #e5e7eb; padding: 10px; border-radius: 10px; overflow-x: auto; }
