*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,sans-serif;background:#f4f6f9;color:#1f2937}.header{position:fixed;top:0;left:0;width:100%;height:60px;background:#fff;border-bottom:1px solid #e5e7eb;z-index:1000}.header-inner{max-width:1000px;margin:0 auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.header-left{display:flex;align-items:center}.app-title{font-size:18px;font-weight:600}.header-center{flex:1;display:flex;justify-content:center}.search-input{width:90%;max-width:420px;min-width:120px;padding:8px 16px;border-radius:8px;border:1px solid #d1d5db}.search-input:focus{outline:none;border-color:#2563eb}.header-right{display:flex;align-items:center;gap:12px}.profile-box{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}.username{font-size:14px}.logout-btn{padding:6px 12px;border-radius:6px;border:1px solid #ef4444;background:transparent;color:#ef4444;cursor:pointer}.logout-btn:hover{background:#ef4444;color:#fff}.layout-container{max-width:1000px;margin:80px auto 20px;display:flex;gap:20px}.sidebar{position:fixed;top:80px;width:220px;background:#fff;border-radius:10px;padding:12px;border:1px solid #e5e7eb}.sidebar a,.sidebar-link{display:block;width:100%;padding:10px 12px;margin-bottom:6px;border-radius:6px;text-decoration:none;background:none;border:none;text-align:left;font-size:14px;color:#374151;cursor:pointer}.sidebar a:hover,.sidebar-link:hover{background:#eef2ff;color:#1d4ed8}.page-content{margin-left:240px;flex:1;background:#fff;border-radius:10px;padding:20px;border:1px solid #e5e7eb}.todo-page{max-width:750px;margin:0 auto}.card{background:#fff;border-radius:12px;padding:18px 20px;margin-bottom:16px;border:1px solid #e5e7eb;box-shadow:0 2px 6px #0000000a;display:flex;flex-direction:column}.card-content h2{font-size:17px;font-weight:600;margin-bottom:10px;line-height:1.4}.meta{display:inline-flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.status,.priority{display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:4px 10px;border-radius:10px;font-weight:500;line-height:1}.card-content p{font-size:14px;line-height:1;margin-bottom:12px;color:#374151}.card-content small{display:block;font-size:12px;color:#6b7280;margin-bottom:10px}.status.PENDING{background:#9ca3af}.status.IN_PROGRESS{background:#6fa4f9}.status.COMPLETED{background:#8af9b3}.priority{font-size:12px;padding:6px 12px;border-radius:14px;font-weight:500}.priority.HIGH{background:#fee2e2;color:#b91c1c}.priority.MEDIUM{background:#fef3c7;color:#92400e}.priority.LOW{background:#dcfce7;color:#166534}.due-date{font-size:15px;margin:0;padding:0}.more-btn{background:transparent;border:1px solid #e5e7eb;padding:2px 8px;margin-top:10px;border-radius:4px;font-size:13px;color:#2563eb;cursor:pointer}.more-btn:hover{background:#f9fafb}.pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:24px}.pagination button{padding:8px 14px;border-radius:6px;border:1px solid #d1d5db;background:#fff;cursor:pointer}.pagination button:hover:not(:disabled){background:#2563eb;color:#fff}.pagination button:disabled{opacity:.5;cursor:not-allowed}.pagination span{font-size:14px}.edit-group label{font-size:12px;margin-bottom:4px;display:block}.edit-group input,.edit-group textarea,.edit-group select{width:100%;padding:8px;border-radius:6px;border:1px solid #d1d5db;margin-bottom:10px}.edit-group textarea{resize:none;height:70px}.edit-actions{display:flex;gap:10px}.edit-actions button{padding:4px 18px;border-radius:6px;cursor:pointer;border:none}.edit-actions button:first-child{background:#4b80f4;color:#fff}.edit-actions button:last-child{background:#f65a5a;color:#fff}.auth-box{width:420px;margin:120px auto;padding:30px;background:#fff;border-radius:10px;border:1px solid #e5e7eb;text-align:center}.auth-box h2{margin-bottom:20px}.auth-box input,.auth-box button{font-size:16px;width:100%;padding:10px;margin-bottom:20px;border-radius:6px;border:1px solid #d1d5db}.auth-box button{background:#2563eb;color:#fff;cursor:pointer}.todo-box{max-width:700px;margin:0 auto;padding:20px;background:#fff;border-radius:10px;border:1px solid #e5e7eb}.todo-box h2{text-align:center;margin-bottom:12px}.todo-box input,.todo-box textarea,.todo-box select{width:100%;padding:8px;margin-bottom:10px;border-radius:6px;border:1px solid #d1d5db}.todo-box textarea{resize:none;height:80px}.action-buttons{display:flex;gap:25px;justify-content:center}.action-buttons button{width:fit-content;margin-top:8px;padding:8px 20px;border-radius:6px;border:none;background:#3b76f5;color:#fff;cursor:pointer}.action-buttons .cancel-btn{background:#f55c5c}
