* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f4f7f6; display: flex; justify-content: center; padding: 20px 0; color: #333; }
.container { width: 100%; max-width: 600px; padding: 10px; }

.card { background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 20px; }
.module-card h3 { margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; }

input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px; }
input:focus { border-color: #3498db; outline: none; }

button { width: 100%; padding: 10px; border: none; color: white; border-radius: 5px; cursor: pointer; transition: 0.2s; background-color: #3498db; font-weight: bold;}
button:hover { background-color: #2980b9; }
.btn-success { background-color: #2ecc71; margin-top: 5px;}
.btn-success:hover { background-color: #27ae60; }
.btn-danger { background-color: #e74c3c; }
.btn-danger:hover { background-color: #c0392b; }
.btn-small { width: auto; padding: 5px 15px; font-size: 0.9em; }

.top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 10px 15px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-brand { font-weight: bold; color: #2c3e50; }

.hidden { display: none !important; }
.error-msg { color: #e74c3c; margin-top: 10px; background: #fadbd8; padding: 10px; border-radius: 5px; font-size: 0.9em; text-align: center;}

.form-row { display: flex; gap: 10px; }
.form-row input { flex: 1; }

.item-list { list-style: none; margin-top: 20px; }
.item-list li { background: #f9f9f9; border-left: 4px solid #3498db; padding: 12px; margin-bottom: 10px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; }
.item-info strong { display: block; font-size: 1.1em; }
.item-meta { font-size: 0.85em; color: #7f8c8d; margin-top: 4px; }
.badge { background: #ecf0f1; padding: 2px 6px; border-radius: 4px; margin-right: 5px; border: 1px solid #ddd;}
.check-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2em; background: #ecf0f1; color: #bdc3c7; transition: 0.3s; }
.check-btn:hover { background: #2ecc71; color: white; }