/* STYLE GLOWNE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(180deg, #eaf3ff 0%, #d9e9ff 100%); color: #16324a; min-height: 100vh; }
.header { background: linear-gradient(135deg, #0f5fd7 0%, #2f89ff 100%); color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 28px rgba(15,95,215,0.24); }
.user-info { display: flex; gap: 20px; align-items: center; }
.role-badge { background: rgba(255,255,255,0.18); padding: 5px 10px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255,255,255,0.28); }
.logout-btn { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); color: white; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.logout-btn:hover { background: rgba(255,255,255,0.26); transform: translateY(-1px); }
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.dashboard-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dashboard-card { background: rgba(255,255,255,0.94); border: 1px solid #d4e5ff; border-radius: 18px; padding: 24px; box-shadow: 0 18px 40px rgba(15,95,215,0.12); }
.dashboard-card-wide { grid-column: 1 / -1; }
.section-kicker { color: #0f5fd7; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.section-copy { color: #4b6783; margin-top: 10px; line-height: 1.6; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.info-tile { background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%); border: 1px solid #cfe0ff; border-radius: 14px; padding: 16px; }
.info-label { display: block; color: #5d7691; font-size: 12px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.feature-list { display: grid; gap: 12px; margin-top: 18px; }
.feature-item { background: #f4f9ff; border: 1px solid #d5e5fb; border-radius: 12px; padding: 14px 16px; color: #21476b; }
.add-task-form, .tasks-container { background: white; border-radius: 10px; padding: 20px; margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: #35526d; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 8px; border: 1px solid #c0d8f7; border-radius: 5px; }
.form-group textarea { resize: vertical; min-height: 60px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-primary { background: linear-gradient(135deg, #0f5fd7 0%, #2f89ff 100%); color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: white; color: #0f5fd7; border: 1px solid #b8d2f8; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.btn-secondary:hover { background: #f2f8ff; transform: translateY(-2px); }
.guest-login-btn { width: 100%; margin-top: 12px; }
.tasks-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.task-item { border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; margin-bottom: 15px; transition: box-shadow 0.3s; }
.task-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.task-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 8px; }
.task-description { color: #666; margin-bottom: 10px; }
.task-meta { display: flex; gap: 15px; font-size: 12px; color: #999; margin-bottom: 10px; }
.task-status { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.status-open { background: #e3f2fd; color: #1976d2; }
.status-in-progress { background: #fff3e0; color: #f57c00; }
.status-done { background: #e8f5e8; color: #388e3c; }
.task-actions { margin-top: 10px; display: flex; gap: 10px; }
.btn-edit { background: #2196f3; color: white; padding: 5px 10px; border: none; border-radius: 4px; cursor: pointer; }
.btn-delete { background: #f44336; color: white; padding: 5px 10px; border: none; border-radius: 4px; cursor: pointer; }
.loading { text-align: center; padding: 20px; color: #999; }
.login-container { background: white; border-radius: 10px; box-shadow: 0 18px 40px rgba(15,95,215,0.18); padding: 40px; width: 100%; max-width: 400px; margin: auto; border: 1px solid #d4e5ff; }
.login-header { text-align: center; margin-bottom: 30px; }
.error-message { background: #fee; color: #c33; padding: 10px; border-radius: 5px; margin-bottom: 20px; text-align: center; display: none; }
.info { background: #eaf3ff; color: #0f5fd7; padding: 10px; border-radius: 5px; margin-top: 20px; font-size: 12px; text-align: center; border: 1px solid #cfe0ff; }
@media (max-width: 768px) { .header { flex-direction: column; gap: 12px; align-items: flex-start; } .user-info { width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; } .dashboard-layout { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr; } }
