.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 2000; animation: fadeIn 0.2s ease-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal-content { background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 16px; width: 90%; max-width: 480px; padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: slideUp 0.3s ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .modal-header h2 { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); } .modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: transparent; border: none; border-radius: 8px; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: all 0.2s ease; } .modal-close:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); } .form-group { margin-bottom: 20px; } .form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; } .form-group input, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: 10px; color: var(--text-primary); font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: var(--shadow-glow); } .form-group textarea { resize: vertical; min-height: 80px; } .icon-picker { display: flex; flex-wrap: wrap; gap: 8px; } .icon-option { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-primary); border: 2px solid var(--border-subtle); border-radius: 10px; font-size: 1.25rem; cursor: pointer; transition: all 0.2s ease; } .icon-option:hover { border-color: var(--text-muted); } .icon-option.selected { border-color: var(--accent-primary); background: rgba(168, 85, 247, 0.15); } .modal-actions { display: flex; gap: 12px; margin-top: 24px; } .btn-secondary, .btn-primary { flex: 1; padding: 12px 20px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .btn-secondary { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); } .btn-primary { background: var(--accent-gradient); border: none; color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }