* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background-color: #f4f7f6; color: #333; padding: 20px; }
.container { max-width: 900px; margin: 0 auto; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-left: 5px solid #3498db; }
.card.masuk { border-left-color: #2ecc71; }
.card.keluar { border-left-color: #e74c3c; }
.card h3 { font-size: 14px; color: #7f8c8d; text-transform: uppercase; }
.card p { font-size: 24px; font-weight: bold; margin-top: 10px; }
.form-section, .table-section { background: white; padding: 25px; border-radius: 12px; margin-bottom: 25px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.form-group { display: flex; gap: 10px; flex-wrap: wrap; }
input, select, button { padding: 12px; border: 1px solid #ddd; border-radius: 8px; outline: none; }
input { flex: 2; }
button { background: #3498db; color: white; border: none; cursor: pointer; font-weight: bold; transition: 0.3s; }
button:hover { background: #2980b9; }
.btn-download { background: #2ecc71; color: white; text-decoration: none; padding: 10px 20px; border-radius: 8px; display: inline-block; }
.btn-logout { color: #e74c3c; text-decoration: none; font-weight: bold; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
table th, table td { text-align: left; padding: 12px; border-bottom: 1px solid #eee; }
.badge { padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.badge-masuk { background: #eafaf1; color: #2ecc71; }
.badge-keluar { background: #fdf2f2; color: #e74c3c; }
.login-container { height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #3498db, #2ecc71); }
.login-card { background: white; padding: 40px; border-radius: 15px; width: 100%; max-width: 400px; text-align: center; }
