* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background: #f0f2f5; color: #333; font-size: 14px; }
.wrapper { display: flex; min-height: 100vh; }

.sidebar { width: 240px; background: #1f2937; color: #fff; padding: 20px 0; }
.sidebar .brand { font-size: 20px; font-weight: bold; text-align: center; padding: 10px 0 20px; border-bottom: 1px solid #374151; }
.sidebar nav a { display: block; color: #d1d5db; padding: 12px 20px; text-decoration: none; transition: .2s; }
.sidebar nav a:hover { background: #374151; color: #fff; }
.sidebar .nav-title { padding: 15px 20px 5px; font-size: 11px; text-transform: uppercase; color: #9ca3af; }

.content { flex: 1; padding: 25px; }
h1, h2, h3 { color: #1f2937; margin-bottom: 15px; }

.card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.stat-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-left: 4px solid #3b82f6; }
.stat-card h4 { color: #6b7280; font-size: 13px; margin-bottom: 8px; }
.stat-card .value { font-size: 22px; font-weight: bold; color: #1f2937; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
table th, table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e5e7eb; }
table th { background: #f9fafb; font-weight: 600; color: #374151; }
table tr:hover { background: #f9fafb; }
.text-right { text-align: right; }
.text-center { text-align: center; }

.btn { display: inline-block; padding: 8px 14px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; font-size: 13px; transition: .2s; }
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; color: #374151; }
.form-control { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.form-control:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }

.alert { padding: 12px 15px; border-radius: 6px; margin-bottom: 20px; }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-danger { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.login-box { background: #fff; padding: 40px; border-radius: 12px; width: 100%; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.login-box h2 { text-align: center; margin-bottom: 25px; color: #1f2937; }

.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.badge-aset { background: #dbeafe; color: #1e40af; }
.badge-liabilitas { background: #fee2e2; color: #991b1b; }
.badge-ekuitas { background: #fef3c7; color: #92400e; }
.badge-pendapatan { background: #d1fae5; color: #065f46; }
.badge-beban { background: #fce7f3; color: #9f1239; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.mb-3 { margin-bottom: 15px; }
.mt-3 { margin-top: 15px; }