* { box-sizing: border-box; margin: 0; padding: 0; font-family: Tahoma, Arial, sans-serif; }
body { background: #f4f7f6; color: #333; line-height: 1.6; }
.container { max-width: 1000px; margin: 20px auto; padding: 20px; }
.navbar { background: #2c3e50; color: white; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.nav-links a { color: white; text-decoration: none; margin-left: 15px; padding: 5px 10px; border-radius: 4px; font-size: 0.9em; }
.nav-links a.active, .nav-links a:hover { background: #34495e; }
.nav-links a.danger { background: #e74c3c; }
.btn { display: inline-block; padding: 8px 15px; background: #95a5a6; color: white; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; font-size: 0.9em; }
.btn.primary { background: #3498db; }
.btn.danger { background: #e74c3c; }
.btn.small { padding: 5px 10px; font-size: 0.85em; margin-top: 10px; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.task-card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border-right: 5px solid #bdc3c7; transition: transform 0.2s; }
.task-card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.task-card.status-0 { border-right-color: #f1c40f; }
.task-card.status-1 { border-right-color: #3498db; }
.task-card.status-2 { border-right-color: #2ecc71; }
.meta { font-size: 0.85em; color: #7f8c8d; margin: 15px 0 10px; display: flex; justify-content: space-between; }
.form-box { background: white; padding: 20px; border-radius: 8px; margin-top: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.form-box label { display: block; margin: 10px 0 5px; font-weight: bold; font-size: 0.9em; }
.form-box input, .form-box textarea, .form-box select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }
.form-box input:focus, .form-box textarea:focus { border-color: #3498db; outline: none; }
.login-body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #ecf0f1; }
.login-box { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); width: 350px; text-align: center; }
.login-box input { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ddd; border-radius: 4px; }
.login-box button { width: 100%; padding: 12px; background: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 1em; margin-top: 10px; }
.error { color: #c0392b; background: #fadbd8; padding: 10px; border-radius: 4px; margin-bottom: 15px; font-size: 0.9em; }
.success { color: #27ae60; background: #d5f5e3; padding: 10px; border-radius: 4px; margin-bottom: 15px; font-size: 0.9em; }
.comments-section { margin-top: 30px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.comment { border-bottom: 1px solid #eee; padding: 12px 0; }
.comment:last-child { border-bottom: none; }
.comment small { color: #95a5a6; margin-right: 10px; font-size: 0.8em; }
.comment p { margin-top: 5px; color: #555; }
.log-table { width: 100%; border-collapse: collapse; background: white; margin-top: 20px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.log-table th, .log-table td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: right; font-size: 0.9em; }
.log-table th { background: #ecf0f1; font-weight: bold; color: #2c3e50; }
.log-table tr:hover { background: #f9f9f9; }
.inline-form { display: inline-block; margin: 10px 10px 10px 0; }
.delete-form { float: left; margin-top: 15px; }
.header-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.filters { display: flex; gap: 10px; align-items: center; }
.filters .btn { background: #ecf0f1; color: #2c3e50; }
.filters .btn.active { background: #3498db; color: white; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 0.8em; color: white; }
.badge.status-0 { background: #f1c40f; }
.badge.status-1 { background: #3498db; }
.badge.status-2 { background: #2ecc71; }