*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#ecf0f1;color:#2c3e50}.layout{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1;padding:2rem;max-width:1200px;margin:0 auto;width:100%}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:20px}.auth-card{background:#fff;padding:40px;border-radius:12px;box-shadow:0 8px 24px #00000014;width:100%;max-width:400px}.auth-title{font-size:28px;font-weight:700;margin-bottom:8px;color:#111827;text-align:center}.auth-subtitle{color:#6b7280;text-align:center;margin-bottom:30px;font-size:14px}.form-label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.form-input{width:100%;padding:12px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.btn-primary{width:100%;padding:12px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-primary:active:not(:disabled){transform:scale(.98)}.btn-primary:disabled{background:#93c5fd;cursor:not-allowed}.error-message{background:#fee2e2;color:#b91c1c;padding:12px;border-radius:8px;margin-bottom:20px;text-align:center;font-size:14px}.auth-footer{text-align:center;margin-top:20px;color:#6b7280;font-size:14px}.auth-link{color:#2563eb;text-decoration:none;font-weight:500}.auth-link:hover{text-decoration:underline}@media(max-width:480px){.auth-card{padding:28px 22px}.auth-title{font-size:24px}}.project-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column;gap:1rem}.project-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.project-card-header{border-bottom:2px solid #3498db;padding-bottom:.5rem}.project-card-title{margin:0;color:#2c3e50;font-size:1.4rem;font-weight:600}.project-card-body{flex:1}.project-card-description{color:#7f8c8d;margin:0;line-height:1.6;font-size:.95rem}.project-card-footer{display:flex;flex-direction:column;gap:1rem}.project-card-info{display:flex;flex-direction:column;gap:.3rem}.project-card-date{color:#95a5a6;font-size:.85rem}.project-card-actions{display:flex;gap:.5rem}.btn{padding:.6rem 1rem;border:none;border-radius:4px;font-size:.9rem;cursor:pointer;transition:background-color .3s,transform .2s;flex:1;font-weight:500}.btn:hover{transform:translateY(-2px)}.btn-primary{background-color:#3498db;color:#fff}.btn-primary:hover{background-color:#2980b9}.btn-danger{background-color:#e74c3c;color:#fff}.btn-danger:hover{background-color:#c0392b}@media(max-width:768px){.project-card{padding:1rem}.project-card-title{font-size:1.2rem}.project-card-actions{flex-direction:column}.btn{width:100%}}.form-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.form-container{background:#fff;width:100%;max-width:480px;border-radius:12px;box-shadow:0 20px 40px #0003;animation:scaleIn .2s ease-out}.form-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e7eb}.form-header h2{font-size:20px;font-weight:700;color:#111827}.close-btn{background:transparent;border:none;font-size:20px;cursor:pointer;color:#6b7280;transition:color .2s}.close-btn:hover{color:#111827}form{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:500;margin-bottom:6px;color:#374151}.required{color:#dc2626}input,textarea{width:100%;padding:10px 12px;font-size:14px;border-radius:8px;border:1px solid #d1d5db;transition:border-color .2s,box-shadow .2s;resize:none}input:focus,textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.input-error{border-color:#dc2626}.error-message{display:block;margin-top:6px;font-size:12px;color:#dc2626}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.btn{padding:10px 16px;font-size:14px;font-weight:600;border-radius:8px;cursor:pointer;border:none;transition:background .2s,transform .1s}.btn-cancel{background:#e5e7eb;color:#374151}.btn-cancel:hover:not(:disabled){background:#d1d5db}.btn-submit{background:#2563eb;color:#fff}.btn-submit:hover:not(:disabled){background:#1d4ed8}.btn:disabled{opacity:.7;cursor:not-allowed}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(max-width:480px){.form-container{max-width:100%}.form-header,form{padding:16px}.form-actions{flex-direction:column-reverse}.btn{width:100%}}*,*:before,*:after{box-sizing:border-box}.dashboard{min-height:100vh;padding:2rem;background:#f9fafb}.dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.dashboard-header h1{font-size:1.75rem;font-weight:700;color:#111827;margin:0}.btn{padding:.625rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:600;cursor:pointer;border:none;transition:background-color .2s ease,transform .1s ease;white-space:nowrap}.btn-create{background-color:#2563eb;color:#fff;padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;font-weight:500}.btn-create:hover{background-color:#1d4ed8}.btn-create:active{transform:scale(.97)}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.empty-state{background:#fff;border-radius:.75rem;padding:3rem 1.5rem;text-align:center;box-shadow:0 4px 16px #0000000d}.empty-state h2{font-size:1.375rem;margin:0 0 .5rem;color:#111827}.empty-state p{color:#6b7280;font-size:.875rem;margin:0}.loading-text{text-align:center;font-size:1rem;color:#6b7280;margin-top:3.75rem}.error-text{text-align:center;font-size:1rem;color:#dc2626;margin-top:3.75rem}@media(max-width:1024px){.projects-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media(max-width:768px){.dashboard{padding:1.25rem}.dashboard-header{flex-direction:column;align-items:stretch}.dashboard-header h1{font-size:1.5rem}.btn-create{width:100%}.projects-grid{grid-template-columns:1fr;gap:1rem}}@media(max-width:480px){.dashboard{padding:1rem}.dashboard-header h1{font-size:1.25rem}.empty-state{padding:2rem 1rem}}.task-card{background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a;transition:transform .2s,box-shadow .2s;border-left:4px solid #3498db}.task-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.task-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.75rem}.task-title{margin:0;color:#2c3e50;font-size:1rem;font-weight:600;flex:1;line-height:1.4}.priority-badge{padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:600;color:#fff;white-space:nowrap}.task-description{margin-bottom:.75rem}.task-description p{margin:0;color:#7f8c8d;font-size:.9rem;line-height:1.5}.task-meta{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.task-meta-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#95a5a6}.meta-icon{font-size:1rem}.meta-text{color:#7f8c8d}.task-status{margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.task-status label{font-size:.85rem;color:#7f8c8d;font-weight:500}.status-select{flex:1;padding:.4rem;border:1px solid #bdc3c7;border-radius:4px;font-size:.85rem;cursor:pointer;transition:border-color .3s}.status-select:hover{border-color:#3498db}.status-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.task-actions{display:flex;gap:.5rem}.btn-task{flex:1;padding:.5rem;border:none;border-radius:4px;font-size:.85rem;cursor:pointer;transition:background-color .3s,transform .2s;font-weight:500}.btn-edit{background-color:#3498db;color:#fff}.btn-edit:hover{background-color:#2980b9}.btn-delete{background-color:#e74c3c;color:#fff}.btn-delete:hover{background-color:#c0392b}.btn-task:active{transform:translateY(1px)}@media(max-width:768px){.task-card{padding:.875rem}.task-title{font-size:.95rem}.task-actions{flex-direction:column}.btn-task{width:100%}}.task-form-container{max-width:600px;max-height:90vh;overflow-y:auto}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group select{width:100%;padding:.75rem;border:1px solid #bdc3c7;border-radius:4px;font-size:1rem;font-family:inherit;background-color:#fff;cursor:pointer;transition:border-color .3s,box-shadow .3s}.form-group select:hover{border-color:#95a5a6}.form-group select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.form-group input[type=date]{width:100%;padding:.75rem;border:1px solid #bdc3c7;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .3s,box-shadow .3s}.form-group input[type=date]:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}@media(max-width:768px){.task-form-container{width:95%;max-height:95vh}.form-row{grid-template-columns:1fr}}.project-details{padding:2rem;max-width:1600px;margin:0 auto}.project-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:1rem}.project-info{flex:1}.back-link{display:inline-block;color:#3498db;text-decoration:none;margin-bottom:1rem;font-size:.95rem;transition:color .3s}.back-link:hover{color:#2980b9}.project-name{margin:0 0 .5rem;color:#2c3e50;font-size:2rem}.project-description{margin:0;color:#7f8c8d;font-size:1rem;line-height:1.6}.btn-create-task{background-color:#27ae60;color:#fff;padding:.8rem 1.5rem;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s,transform .2s;white-space:nowrap}.btn-create-task:hover{background-color:#229954;transform:translateY(-2px)}.btn-create-task:active{transform:translateY(0)}.kanban-board{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;min-height:600px}.kanban-column{background-color:#f8f9fa;border-radius:8px;padding:1rem;display:flex;flex-direction:column}.column-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem}.column-header h3{margin:0;font-size:1.1rem;color:#fff}.task-count{background-color:#ffffff4d;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.9rem;font-weight:600}.todo-header{background-color:#3498db}.in-progress-header{background-color:#f39c12}.done-header{background-color:#27ae60}.column-content{flex:1;overflow-y:auto;padding:.5rem}.empty-column{display:flex;align-items:center;justify-content:center;min-height:200px;text-align:center;color:#95a5a6;font-size:.95rem}.empty-column p{margin:0}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center}.loading-container p{font-size:1.2rem;color:#7f8c8d}.error-container h2,.error-container p{color:#e74c3c;margin-bottom:1rem}@media(max-width:1024px){.kanban-board{grid-template-columns:repeat(2,1fr)}.kanban-column:last-child{grid-column:1 / -1}}@media(max-width:768px){.project-details{padding:1rem}.project-header{flex-direction:column;align-items:stretch}.project-name{font-size:1.5rem}.btn-create-task{width:100%}.kanban-board{grid-template-columns:1fr;gap:1rem}.kanban-column:last-child{grid-column:auto}.column-header h3{font-size:1rem}}.column-content::-webkit-scrollbar{width:6px}.column-content::-webkit-scrollbar-track{background:transparent}.column-content::-webkit-scrollbar-thumb{background:#bdc3c7;border-radius:3px}.column-content::-webkit-scrollbar-thumb:hover{background:#95a5a6}.error-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70vh;text-align:center}.error-page h1{font-size:6rem;color:#e74c3c;margin:0}.error-page h2{font-size:2rem;color:#2c3e50;margin:1rem 0}.error-page p{color:#7f8c8d;margin-bottom:2rem}.error-link{background-color:#3498db;color:#fff;padding:.8rem 1.5rem;border-radius:4px;text-decoration:none;transition:background-color .3s}.error-link:hover{background-color:#2980b9}.navbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 0;position:sticky;top:0;z-index:100}.navbar-container{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.navbar-brand{cursor:pointer}.navbar-brand h2{margin:0;color:#2563eb;font-size:24px;font-weight:700}.navbar-actions{display:flex;align-items:center;gap:20px}.navbar-user{color:#374151;font-weight:500}.btn-logout{padding:8px 16px;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .3s}.btn-logout:hover{background:#dc2626}.footer{background-color:#2c3e50;color:#fff;padding:1.5rem 2rem;margin-top:auto}.footer-container{max-width:1200px;margin:0 auto;text-align:center}.footer p{margin:0;font-size:.9rem}
