.notes-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.notes-header h2{font-size:2rem;font-weight:600;color:#fff}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #667eea66}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.btn-secondary{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-secondary:hover{background:#ffffff26;border-color:#ffffff4d}.notes-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;color:#fff9}.spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.1);border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}.notes-empty{text-align:center;padding:4rem 2rem;color:#fff9}.notes-empty p{font-size:1.1rem;margin-bottom:.5rem}.notes-empty-hint{font-size:.9rem;color:#fff6}.notes-error{text-align:center;padding:4rem 2rem;color:#ff6b6b}.error-message{font-size:.9rem;color:#ff6b6bcc;margin:1rem 0;padding:1rem;background:#ff6b6b1a;border-radius:8px;border:1px solid rgba(255,107,107,.3)}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;padding:1rem 0}.note-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.5rem;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column;gap:1rem}.note-card:hover{background:#ffffff14;border-color:#667eea80;transform:translateY(-4px);box-shadow:0 8px 24px #0000004d}.note-card-header{display:flex;justify-content:space-between;align-items:center}.note-type{font-size:1.5rem}.note-actions{display:flex;gap:.5rem;opacity:0;transition:opacity .3s ease}.note-card:hover .note-actions{opacity:1}.note-edit-btn,.note-delete-btn{background:#ffffff1a;border:none;border-radius:6px;padding:.4rem .6rem;cursor:pointer;font-size:1rem;transition:all .2s ease}.note-edit-btn:hover{background:#667eea4d;transform:scale(1.1)}.note-delete-btn:hover{background:#ff6b6b4d;transform:scale(1.1)}.note-title{font-size:1.2rem;font-weight:600;color:#fff;line-height:1.4}.note-preview{color:#ffffffb3;font-size:.9rem;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.note-tags{display:flex;flex-wrap:wrap;gap:.5rem}.note-tag{background:#667eea33;color:#a8b5ff;padding:.3rem .8rem;border-radius:12px;font-size:.8rem;font-weight:500}.note-footer{display:flex;justify-content:space-between;align-items:center;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.1)}.note-date{font-size:.8rem;color:#ffffff80}.note-detail-btn{background:none;border:none;color:#667eea;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.note-detail-btn:hover{color:#a8b5ff;transform:translate(4px)}.modal-overlay{position:fixed;inset:0;background:#000c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;padding:2rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#1a1a2e;border:1px solid rgba(255,255,255,.1);border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000080;animation:slideUp .3s ease}.modal-large{max-width:900px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:2rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center}.modal-title-group{display:flex;align-items:center;gap:1rem}.modal-icon{font-size:2rem}.modal-header h2{font-size:1.5rem;font-weight:600;color:#fff}.modal-close,.modal-close-btn{background:#ffffff1a;border:none;color:#fff;font-size:1.5rem;width:36px;height:36px;border-radius:8px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.modal-close:hover,.modal-close-btn:hover{background:#ff6b6b4d;transform:rotate(90deg)}.modal-body{padding:2rem}.note-detail-meta{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.note-detail-type,.note-detail-reminder,.note-detail-date{font-size:.85rem;color:#fff9;padding:.4rem .8rem;background:#ffffff0d;border-radius:6px}.note-detail-tags{margin-bottom:1.5rem}.note-detail-content{color:#ffffffe6;line-height:1.8}.markdown-content{font-size:1rem}.markdown-content h1,.markdown-content h2,.markdown-content h3{color:#fff;margin:1.5rem 0 1rem;font-weight:600}.markdown-content h1{font-size:1.8rem}.markdown-content h2{font-size:1.5rem}.markdown-content h3{font-size:1.2rem}.markdown-content p{margin-bottom:1rem}.markdown-content strong{color:#fff;font-weight:600}.markdown-content em{font-style:italic;color:#a8b5ff}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-size:.9rem;font-weight:500;color:#ffffffe6;margin-bottom:.5rem}.form-control{width:100%;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:.75rem 1rem;color:#fff;font-size:1rem;font-family:Inter,sans-serif;transition:all .3s ease}.form-control:focus{outline:none;border-color:#667eea;background:#ffffff14;box-shadow:0 0 0 3px #667eea33}textarea.form-control{resize:vertical;min-height:120px}.form-hint{display:block;font-size:.8rem;color:#ffffff80;margin-top:.5rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1)}@media(max-width:768px){.notes-grid{grid-template-columns:1fr}.modal-content{max-width:95%;margin:1rem}.modal-header,.modal-body{padding:1.5rem}.notes-header{flex-direction:column;gap:1rem;align-items:flex-start}}
