html,body,#root{width:100%;min-height:100%;margin:0}body{background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}button,input,textarea{font:inherit}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.app-container{flex-direction:column;min-height:100vh;display:flex}.app-header{color:#fff;background-color:#2c3e50;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a}.header-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.header-userbar{align-items:center;gap:.75rem;font-size:.95rem;display:flex}.header-userbar button{cursor:pointer;color:#fff;background:#ffffff26;border:none;border-radius:4px;padding:.5rem .9rem}.header-userbar button:hover{background:#ffffff3d}.app-header h1{color:#fff;font-size:1.8rem}.add-task-form{flex-direction:row;align-items:flex-start;gap:1rem;max-width:100%;margin-top:1rem;display:flex}.add-task-form .form-row{flex-wrap:nowrap;align-items:center;gap:.5rem;display:flex}.add-task-form .form-inputs{flex-direction:column;flex:0 60%;gap:.5rem;width:60%;max-width:60%;display:flex}.poem-box{text-align:center;background-color:#3498dbe6;border-radius:8px;flex-direction:column;flex:none;justify-content:center;align-self:stretch;min-width:220px;max-width:340px;margin-left:1rem;padding:1rem 1.5rem;display:flex}.poem-box .poem-title{color:#fff;margin-bottom:.75rem;font-size:1rem;font-weight:600}.poem-box .poem-content{color:#fffffff2;font-size:.95rem;font-style:italic;line-height:1.8}.add-task-form textarea.task-input-textarea,.add-task-form input.task-title-input,.add-task-form input[type=date]{border:none;border-radius:4px;width:100%;padding:.75rem;font-size:1rem}.add-task-form .form-inputs input,.add-task-form .form-inputs textarea{width:100%}.add-task-form textarea.task-input-textarea{resize:vertical;min-height:60px;font-family:inherit}.add-task-form input[type=date]{flex:0 0 180px;width:180px;min-width:180px;max-width:180px}.add-task-form button{color:#fff;cursor:pointer;background-color:#3498db;border:none;border-radius:4px;flex:none;padding:.75rem 1.5rem;font-size:1rem;transition:background-color .2s}.add-task-form button:hover{background-color:#2980b9}.tag-filter-wrap{position:relative}.tag-filter-button{color:#2c3e50;cursor:pointer;text-align:left;background:#fff;border:none;border-radius:6px;min-width:160px;padding:.7rem 1rem}.tag-filter-button.inline{min-width:220px}.tag-filter-dropdown{z-index:20;background:#fffffffa;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:360px;max-height:360px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 12px 30px #0000002e}.tag-filter-dropdown.inline-dropdown{grid-template-columns:repeat(6,minmax(0,1fr));width:520px;left:0;right:auto}.tag-filter-item{color:#fff;cursor:pointer;border:none;border-radius:10px;min-height:38px;padding:.5rem .4rem;font-size:.8rem;box-shadow:inset 0 -1px #ffffff38}.tag-filter-item.all{background:#34495e}.tag-filter-item:hover{opacity:.92;transform:translateY(-1px)}.tag-assign-btn{color:#2c3e50;cursor:pointer;background:#eef2f7;border:none;border-radius:999px;padding:.15rem .5rem;font-size:.72rem;font-weight:600}.tag-assign-btn:hover{background:#dde7f2}.task-tag-picker{flex-wrap:wrap;gap:8px;margin-top:.4rem;padding:.35rem 0;display:flex}.task-tag-badges{flex-wrap:wrap;gap:.35rem;margin-top:.4rem;display:flex}.task-tag-badge{color:#fff;border-radius:999px;justify-content:center;align-items:center;width:fit-content;padding:.22rem .55rem;font-size:.72rem;font-weight:600;display:inline-flex}.board-container{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1.5rem;padding:2rem 1rem;display:grid}.column{background-color:#ebecf0;border-radius:8px;flex-direction:column;width:100%;min-width:0;display:flex}.column-header{background-color:#ebecf0;border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;padding:1rem;display:flex}.column-header h2{color:#333;font-size:1.1rem;font-weight:600}.task-count{color:#666;background-color:#ddd;border-radius:12px;padding:.25rem .5rem;font-size:.9rem;font-weight:500}.task-list{flex-direction:column;flex:1;gap:.5rem;min-height:200px;padding:.5rem;display:flex;overflow-y:auto}.task-card{background-color:#fff;border-radius:8px;padding:1rem;transition:transform .1s,box-shadow .1s;box-shadow:0 1px 3px #0000001a}.task-card:hover{transform:translateY(-2px);box-shadow:0 3px 6px #00000026}.task-details{border-top:1px solid #eee;margin-top:.75rem;padding-top:.75rem;animation:.2s ease-in-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.expand-btn{cursor:pointer;color:#666;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;padding:4px;font-size:12px;transition:transform .2s,color .2s;display:flex}.expand-btn:hover{color:#3498db;background-color:#f5f5f5;transform:scale(1.1)}.task-header{justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;display:flex}.task-header h3{color:#333;word-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 70px);font-size:.85rem;font-weight:600;overflow:hidden}.task-description{color:#666;text-align:left;margin-bottom:.5rem;font-size:.9rem;line-height:1.4}.task-assignee,.task-due-date{color:#666;margin-bottom:.25rem;font-size:.85rem}.task-actions{flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.75rem;display:flex}.action-btn{color:#666;cursor:pointer;white-space:nowrap;background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;padding:.375rem .75rem;font-size:.8rem;transition:all .2s}.action-btn:hover{background-color:#e0e0e0;border-color:#ccc}.status-tag{text-transform:uppercase;letter-spacing:.5px;text-align:center;white-space:nowrap;text-overflow:clip;border-radius:10px;min-width:50px;max-width:50px;padding:.15rem .5rem;font-size:.65rem;font-weight:500;display:inline-block;overflow:hidden}.status-todo{color:#856404;background-color:#fff3cd;border:1px solid #ffc107}.status-in-progress{color:#004085;background-color:#cce5ff;border:1px solid #007bff}.status-done{color:#155724;background-color:#d4edda;border:1px solid #28a745}.comments-section{border-top:1px solid #eee;margin-top:1rem;padding-top:.75rem}.add-comment-form{margin-bottom:1rem}.comment-textarea{resize:vertical;border:1px solid #ddd;border-radius:4px;width:100%;min-height:60px;margin-bottom:.5rem;padding:.5rem;font-size:.9rem}.comment-textarea:focus{border-color:#3498db;outline:none}.comment-actions{justify-content:flex-end;gap:.5rem;display:flex}.comment-btn{cursor:pointer;border:none;border-radius:4px;padding:.375rem .75rem;font-size:.8rem;transition:all .2s}.comment-btn.primary{color:#fff;background-color:#3498db}.comment-btn.primary:hover{background-color:#2980b9}.comment-btn.secondary{color:#666;background-color:#f5f5f5;border:1px solid #ddd}.comment-btn.secondary:hover{background-color:#e0e0e0}.comments-list{margin-top:.5rem}.comments-title{color:#666;margin-bottom:.5rem;font-size:.85rem;font-weight:600}.comment-item{background-color:#f9f9f9;border-left:3px solid #3498db;border-radius:4px;margin-bottom:.5rem;padding:.5rem}.comment-header{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.comment-author{color:#333;font-size:.8rem;font-weight:600}.comment-time{color:#999;font-size:.75rem}.delete-comment-btn{color:#999;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:1rem;display:flex}.comment-text{color:#333;word-wrap:break-word;font-size:.85rem;line-height:1.4}.new-task-images-preview{flex-wrap:wrap;gap:8px;max-width:700px;padding:8px 0;display:flex}.image-preview-item{width:80px;height:80px;position:relative}.image-preview-item img{object-fit:cover;border:1px solid #ddd;border-radius:4px;width:100%;height:100%}.remove-image-btn{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:14px;display:flex;position:absolute;top:-6px;right:-6px}.task-images{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.task-image-thumbnail{object-fit:cover;cursor:pointer;border:1px solid #ddd;border-radius:4px;width:60px;height:60px;transition:transform .2s}.task-image-thumbnail:hover{border-color:#3498db;transform:scale(1.05)}.image-modal{z-index:1000;cursor:pointer;background:#000c;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.image-modal-content{max-width:90%;max-height:90%;position:relative}.image-modal-content img{border-radius:8px;max-width:100%;max-height:90vh}.image-modal-close{color:#333;cursor:pointer;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:24px;display:flex;position:absolute;top:-40px;right:0}.login-page{background:linear-gradient(135deg,#2c3e50,#3498db);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border-radius:16px;flex-direction:column;gap:14px;width:100%;max-width:420px;padding:28px;display:flex;box-shadow:0 20px 60px #0000002e}.login-card h1{color:#2c3e50;font-size:1.8rem}.login-card p{color:#666}.login-card input{border:1px solid #ddd;border-radius:8px;width:100%;padding:.9rem 1rem;font-size:1rem}.login-card button{color:#fff;cursor:pointer;background:#3498db;border:none;border-radius:8px;padding:.9rem 1rem;font-size:1rem}.login-card button:hover{background:#2980b9}.secondary-action{color:#2c3e50!important;background:#eef2f7!important}.secondary-action:hover{background:#dde7f2!important}.change-password-box{flex-direction:column;gap:10px;margin-top:8px;display:flex}.login-note{color:#1e8449;background:#eafaf1;border:1px solid #b7e1c3;border-radius:8px;padding:.75rem 1rem}.login-error{color:#c0392b;background:#fdecea;border:1px solid #f5c6cb;border-radius:8px;padding:.75rem 1rem}.password-modal{z-index:1100;background:#00000073;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.password-modal-card{background:#fff;border-radius:16px;flex-direction:column;gap:12px;width:100%;max-width:420px;padding:24px;display:flex;box-shadow:0 20px 60px #00000038}.password-modal-card h2{color:#2c3e50}.password-modal-card input{border:1px solid #ddd;border-radius:8px;width:100%;padding:.9rem 1rem}.password-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (width<=900px){.board-container{grid-template-columns:1fr}}@media (width<=768px){.app-header{padding:1rem}.app-header h1{font-size:1.5rem}.add-task-form{flex-direction:column}.board-container{padding:1rem}.column{max-width:100%}.tag-filter-dropdown,.tag-filter-dropdown.inline-dropdown{grid-template-columns:repeat(3,minmax(0,1fr));width:min(92vw,520px)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}
